Click to See Complete Forum and Search --> : changing window managers


jesus
09-23-2002, 09:05 AM
I couldnt find much on this on the net or here on the forums so I thought I would ask. Is there a way to change window managers from the command line? My current one is KDE and I would like to CTRL+ALT+BACKSPACE to kill the current one and then start another one from the prompt? I read the man for startx but still dont get it. Any ideas? Im using slack 8
:confused:

sdunn
09-23-2002, 09:29 AM
Try using #switchdesk kde(gnome)

z0mbix
09-23-2002, 09:41 AM
Create a file called ~/.xinitrc and put the relevant command in there for your desired wm/de. I use fluxbox and sometimes gnome, so therefore you would just have the following in the file:

exec fluxbox

or

exec gnome-session

This will only work if you start X via the startx command :)

jesus
09-23-2002, 10:33 AM
thanks you two
works great now :D

Fryguy8
09-23-2002, 10:39 AM
keep in mind that you can put almost anything in the .xinitrc, mine loads a terminal, changes my background etc.