Re: [S.u.S.E. Linux] How to set a different WM?
![](https://seccdn.libravatar.org/avatar/8a4b00a790e6b2fa895fd05409623eb9.jpg?s=120&d=mm&r=g)
The better way is to have a new environment setting, let's call it "WINM"
(don't use "WINDOWMANAGER", it's already used by some system scripts and
will confuse some of them)...
You just need to add a line to /etc/profile, like this:
...
export WINM=kde
...
(and don't forget "export")
Every user can customize this setting in his very own ~/.profile
Now, you just need to change the /usr/X11/lib/X11/xinit/xinitrc script...
I attached mine, that works with kde, fvwm2, fvwm, afterstep and twm, but
it's very easy to extend (even if you're not used to shell scripts)...
I even made a little script called "x", which provides you with a menu
(using dialog) with the different windowmanagers... you choose one, and the
script sets WINM="afterstep", for example, and then makes "startx"... I have
to retrieve it from my very own Linux box, which is on another network (and
there's no communication between 'em... so, if have to go upstairs ;-) -
I'll send it this afternoon, ok ?
Pascal
l'irréductible Linuxien
P.S.:
don't forget to do some environment settings:
in /etc/profile, add the lines:
export KDEDIR=/opt/kde
export PATH=$PATH:$KDEDIR/bin
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$KDEDIR/lib
-----Original Message-----
From: alexser@idt.net
participants (1)
-
pbleser@prov-liege.be