LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   default x windows (https://www.linuxquestions.org/questions/slackware-14/default-x-windows-120660/)

yenonn 11-28-2003 01:43 AM

default x windows
 
hi,

what is the file that determine which WM i will be loaded when i prompt startx?
the default WM will be gnome. can i change it to fluxbox instead?
thanks.

DaHammer 11-28-2003 01:49 AM

Yep,and Slackware makes that very easy. Have a look in /etc/X11/xinit. Just change the xinitrc symlink and go. If using SLackware 9.1, it should look something like this:
Quote:

root@slack:/etc/X11/xinit# ls -l
total 36
-rw-r--r-- 1 root root 321 Sep 16 17:16 README.Xmodmap
lrwxrwxrwx 1 root root 11 Oct 10 17:21 xinitrc -> xinitrc.kde*
-rwxr-xr-x 1 root root 556 Mar 16 2003 xinitrc.blackbox*
-rwxr-xr-x 1 root root 555 Mar 16 2003 xinitrc.fluxbox*
-rwxr-xr-x 1 root root 559 Jun 5 19:15 xinitrc.fvwm2*
-rwxr-xr-x 1 root root 539 Feb 21 2002 xinitrc.fvwm95*
-rwxr-xr-x 1 root root 630 Sep 10 16:27 xinitrc.gnome*
-rwxr-xr-x 1 root root 536 Sep 14 22:29 xinitrc.kde*
-r--r--r-- 1 root root 664 Sep 16 17:15 xinitrc.twm
-rwxr-xr-x 1 root root 788 Feb 11 2003 xinitrc.wmaker*
lrwxrwxrwx 1 root root 16 Nov 4 17:01 xinitrc.xfce -> ../xfce4/xinitrc*
rm xinitrc
ln -s xinitrc.fluxbox xinitrc



Misel 11-28-2003 02:12 AM

or you use "xwmconfig" to do that for you ;)

karthikrr 11-28-2003 10:03 AM

ooh, just remembered this weird problem with xinitrc!!!

sometime back I moved from KDE to xfce... removed the original xinitrc link, made a new link.... a few days back, I tried to shift over to Fluxbox.... now, no matter how many times I change the link to the fluxbox xinit, startx STILL takes me into xfce!!! I get into flux by using startx /etc/X11/xinit/xinitrc.fluxbox (or something like that... :-) ) any ideas why? Im doing this is as root, and a ls -l confirms the new link!!! I have NO IDEA why this is happening....


All times are GMT -5. The time now is 02:28 AM.