View previous topic :: View next topic |
Author |
Message |
Tyr00 n00b
Joined: 28 Jan 2004 Posts: 7
|
Posted: Wed Aug 25, 2004 9:53 am Post subject: Black Background and strange fonts after "emerge -u sys |
|
|
Hi there,
I did an "emerge -u system" yesterday and restarted my box today. Now, my XFCE4-Background is completely black and the taskbar is gone even though all settings in the XFCE-Config-files are still correct. As far as I can rememeber no files concerning X11 or XFCE were upgraded during the merge.
Also some fonts look kinda strange (cannot specify anymore, don't know exactly what they just look strange).
Anyone can help me?
Thx
Tyr |
|
Back to top |
|
|
thunderlove Tux's lil' helper
Joined: 24 Aug 2004 Posts: 76 Location: Sitting on a stool somewhere in southern oregon
|
Posted: Wed Aug 25, 2004 3:20 pm Post subject: |
|
|
First the obvious, are they even running?
should look something like this:
Code: | 5569 tty1 S 0:06 xfwm4 --daemon
5570 tty1 S 0:13 xftaskbar4
5571 tty1 S 0:04 xfdesktop
5572 tty1 S 0:01 xfcalendar
5573 tty1 S 0:04 xfce4-iconbox
5575 tty1 S 0:18 /usr/bin/xfce4-panel
29050 pts/1 S+ 0:00 grep xf |
Second most obvious question: how about changing the settings? (maybe they just got screwed up somehow -- taskbar autohide, black background w/o background image, etc) |
|
Back to top |
|
|
Tyr00 n00b
Joined: 28 Jan 2004 Posts: 7
|
Posted: Thu Aug 26, 2004 4:47 pm Post subject: |
|
|
thanks for replying...
ps fax | grep xf outputs the following (should have thought about this myself.. silly me )
Quote: |
5968 ? S 0:00 /usr/X11R6/bin/xfs -daemon -config /etc/X11/fs/config -droppriv -user xfs -port -1
6174 ? S 0:00 \_ /bin/sh /etc/xfce4/xinitrc
6191 ? S 0:02 \_ /usr/bin/xfce4-panel
6181 ? S 0:00 xfce-mcs-manager
6183 ? S 0:00 xfwm4 --daemon
6312 pts/0 S 0:00 \_ grep xf
|
Ok, that explains why my Desktop and Taskbar have gone to nirvana, but the question is how...
I suppose somehow my startscript seem to got messed up, but it seems to be ok.
xinitrc is called and according to the file the taskbar and desktop have to be started (I'll include my xinitrc at the bottom).
Code: |
#!/bin/sh
xsetroot -solid black -cursor_name watch
# fix broken $UID on some system...
if test "x$UID" = "x"; then
UID=`id -u`
fi
# Those are my settings, change them as appropriate...
# Xft DPI: 96
# Xft.hintstyle: hintnone/hintslight/hintmedium/hintfull
# Xft hinting: 1/0
xrdb -nocpp -merge - << EOF
Xft.dpi: 96
Xft.hinting: 1
Xft.hintstyle: hintmedium
EOF
test -f $HOME/.Xmodmap && xmodmap $HOME/.Xmodmap
# Uncomment this if you want to load Xresources and/or Xdefaults
# test -f $HOME/.Xresources && xrdb -merge $HOME/.Xresources
# test -f $HOME/.Xdefaults && xrdb -merge $HOME/.Xdefaults
# Launch xscreensaver (if available), but only as non-root user
test $UID -gt 0 && xscreensaver -no-splash &
# Run xfce4-session if installed
xfcesm=`which xfce4-session`
case "x$xfcesm" in
x|xno*)
;;
*)
exec $xfcesm
# Shouldn't get there, but anyway...
exit
;;
esac
# or use old-fashioned startup script otherwise
xfce-mcs-manager
xfwm4 --daemon
# Start-up stuff from ~/Desktop/Autostart directory, if it exists
# (as it seems to be the new standard)
if test -d "$HOME/Desktop/Autostart"; then
for i in `ls -1 -L ${HOME}/Desktop/Autostart/ 2>/dev/null`; do
if test -x $HOME/Desktop/Autostart/$i; then
$HOME/Desktop/Autostart/$i &
fi
done
fi
xftaskbar4&
xfdesktop&
# Starte Gnome Desklets Eyecandy
/usr/bin/gdesklets&
panel=`which xfce4-panel`
case "x$panel" in
x|xno*)
;;
*)
$panel
ret=$?
while test $ret -ne 0; do
xmessage -center -file - -timeout 20 -title Error <<EOF
A crash occured in the panel
Please report this to the xfce4-dev@moongroup.com list
Meanwhile the panel will be restarted
EOF
cat >&2 <<EOF
A crash occured in the panel
Please report this to the xfce4-dev@moongroup.com list
Meanwhile the panel will be restarted
EOF
$panel
ret=$?
done
;;
esac
xsetroot -bg white -fg red -solid black -cursor_name watch
|
|
|
Back to top |
|
|
thunderlove Tux's lil' helper
Joined: 24 Aug 2004 Posts: 76 Location: Sitting on a stool somewhere in southern oregon
|
Posted: Thu Aug 26, 2004 8:53 pm Post subject: |
|
|
Are you using xfce4-session? That would bypass it (the script would stop at exec $xfcesm) Session management is buggy under xfce4 DOH!!!
Second question: are you certain this script is being executed? startxfce4 does _not_ use ~/.xinitrc but rather ~/.xfce4/xinitrc The desklets should give that away, though.
If thats not it, I have no idea
Try xmessage to double-check the script is reaching that point, maybe? Try running xfdesktop from an xterm (looking for error output), maybe?
PS: I feel the the xfce startup scripts are a rather silly mess, so I copied .xfce4/xinitrc into .xinitrc, cleaned it up, and use startx, instead. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|