Here's my ~/.xinitrc:
Code:
# xscreensaver-demo &
# Turn NumLock on ( numlockx ) ---------------
/usr/X11R6/bin/numlockx &
# numlockx -----------------------------------
rxvt -geometry 108x44+0+0 &
sleep 2
rxvt -geometry 80x24+263+316 &
# rxvt -geometry 108x44+0+0 &
sleep 2
/usr/local/bin/sylpheed &
# /usr/bin/sylpheed &
sleep 2
/usr/bin/opera &
exec icewm
#exec startkde
#exec gnome-session
As you can see I'm currently running IceWM.
The earlier command lines must end with "&" or the script will end at that command.
The window-manager command must be executed last.
When I want to change window-managers, I just comment the current line and uncomment the line for the WM I wish to use.
The sleep lines are just to ensure that the progs show up on my toolbar in the predicted order.