I use KDE, but somtimes I prefer fluxbox. Rather then chaning "~/.xinitrc" everytime, I would like to give an option to "startx" which one I want to start. So to start kde, I would do "startx kde" and to start fluxbox, "startx fluxbox". To do this, I created the following ".xinitrc" script:
Code:
#!/bin/bash
case "$1" in
fluxbox)
#start fluxbox, gkrellm and set the background
bsetbg ~/art/bg.jpg
gkrellm&
exec fluxbox
;;
kde)
#start kde and karamba
karamba_run&
startkde
;;
*)
#start kde by default
karamba_run&
startkde
;;
esac
But it doesn't seem to work. Could someone help?