LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   How do you change the defult Window Manger? (https://www.linuxquestions.org/questions/slackware-14/how-do-you-change-the-defult-window-manger-114162/)

slackMeUp 11-09-2003 02:40 PM

How do you change the defult Window Manager?
 
Without using KDM XDM GDM.

The defult window manager when I type startx..

Thanks.

friendly_guy 11-09-2003 02:56 PM

you run 'pkgtool' from a root terminal, choose the option 'setup'& then choose the option 'xwmconfig'.
You may need to reboot rather than just log out & back in - i'm not sure but there's one way to find out ......
Hope this helps

randomblast 11-09-2003 03:06 PM

or just edit your ~/.Xclients or /etc/X11/xinit/Xclients
just put

#!/bin/sh
--windowmanager startup app--

--EOF--

and you don't have to reboot, just restart X

runen 11-09-2003 03:09 PM

Another way..
 
I'm sure the suggested method works fine, but I find it simpler to create or edit ~/.xinitrc to have "exec [wm-binary-launcher]" as the last line. f.ex: "exec gnome-session". And then you can add other programs you want to automatically start up as well f.ex:

~/.xinitrc:
----------
exec xterm&
exec galeon&
exec blackbox

dev8080 11-09-2003 07:50 PM

The best and easiest way is to
1.type "su" and the password
2.type "cd /etc/X11/xinit"
3.type "cp xinitrc.kde xinitrc"

This will save xinitrc.kde as xinitrc and the next time you do startx you will start with kde. Simillar way for other window managers.

superbondbond 11-09-2003 08:25 PM

I'll venture a guess and say that xwmconfig is probably installed on your system. Run that, pick your choice,... done.


All times are GMT -5. The time now is 12:14 AM.