Changing Window Managers

From SlackWiki
Jump to navigation Jump to search

Well I'm sure you all want to change you window manager at some point in time:), well this tutorial is going to show you how in Slackware. First as a user run the following command:

xwmconfig

This will bring up an ncurses based menu to select the window manager you want. What this does for the user is copy the xinitrc from /etc/X11/xinit/. For instance, Say I want KDE to startup, all the tool would do is run:

cp /etc/X11/xinit/xinitrc.kde $HOME/.xinitrc

That is basicly what it does, Now say you want to start a program from when starting your window manager? Well thats easy, we shall open up the ~/.xinitrc: (I am going to use the fluxbox one)

exec /usr/X11R6/bin/fluxbox

That is what you see, so say you want to start a program before fluxbox, like a program that changes your background? Well here is an example:

background-program &
exec /usr/X11R6/bin/fluxbox

You see you MUST have the & or fluxbox wont startup.

I hope you learned from this.