xsetroot -solid black -cursor_name watch
#nvidia-settings --load-config-only &
# 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/Xresources.txt
# test -f $HOME/.Xdefaults && xrdb -merge $HOME/.Xdefaults
#xrdb -merge /home/jlvsimoes/.Xresources/Xresources. txt
# Launch xscreensaver (if available), but only as non-root user
#test $UID -gt 0 && test -z $VNCSESSION && 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&
rox -p xfce &
deskmenu &
#startkde
#xfcalendar&
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
##end
ps aux | grep xinit
1000 16756 0.0 0.1 2324 516 vc/2 S+ 01:08 0:00 xinit /home/jlvsimoes/.xinitrc -- /usr/X11R6/bin/X +xinerama -nolisten tcp
503 tty1 Ss 0:00 -bash
561 tty1 S+ 0:00 _ xinit /home/sero/.xfce4/xinitrc
562 ? S 0:01 _ X :0
601 tty1 S 0:00 _ /bin/sh /home/sero/.xfce4/xinitrc
605 tty1 S 0:00 _ /bin/sh /home/sero/.xfce4/xinitrc
i notice yours go to the xinitrc in /opt/xfce4/etc/xfce4, whereas mine go to the home directory. but you do have a duplicate extra one from /opt/xfce4/etc/xfce4, 3400. i guess maybe it just needs two when it's starting for some reason? though i don't get why 605/3400 still hang around when they're not needed.
my alias:
alias gui='startxfce4'
no big mystery there.
]]> 3231 vc/1 Ss 0:00 -bash
3343 vc/1 S+ 0:00 _ /bin/sh /usr/X11R6/bin/startx
3354 vc/1 S+ 0:00 _ xinit /home/damir/.xinitrc --
3355 ? S 0:55 _ X :0
3395 vc/1 S 0:00 _ /bin/sh /home/damir/.xinitrc
3396 vc/1 S 0:00 _ /bin/sh /opt/xfce4/etc/xfce4/xinitrc
3400 vc/1 S 0:00 _ /bin/sh /opt/xfce4/etc/xfce4/xinitrc
3401 ? S 0:00 | _ xscreensaver -no-splash
3412 vc/1 S 0:00 _ xftaskbar4
3413 vc/1 S 0:00 _ xfdesktop
3414 vc/1 S 0:00 _ xfcalendar
3420 vc/1 S 0:21 _ /opt/xfce4/bin/xfce4-panel
3354 -> 3395
i start startxfce4 from ~/.xinitrc
]]>well, i guess it's not a huge deal, i just thought it was kind of strange. for a second i even had a paranoid flash that someone had hacked my box and was running xfce4 on some virtual desktop.
]]>-bash
_ xinit /opt/xfce4/etc/xfce4/xinitrc
_ X :0
_ sh /opt/xfce4/etc/xfce4/xinitrc
_ xftaskbar4
_ xfdesktop
_ /opt/xfce4/bin/xfce4-panel
and I have 2 screens (crt and tv) on one nvidia card. Xfce4 starts automatically only on first one.
]]>27413 tty1 S 0:00 /bin/sh /home/sero/.xfce4/xinitrc
27417 tty1 S 0:00 /bin/sh /home/sero/.xfce4/xinitrc
i can always kill the second one with no effect, and my processes go down by one, and if i kill the first one, xfce4 is killed. so the second one isn't doing anything but taking up a process, and i'm wondering what it's doing there or if anyone else is getting that behavior. :?:
]]>