|
My Writings -
Linux tips, articles and hacks
|
|
Sunday, 15 August 2004 13:23 |
|
When I installed the Fluxbox
window manager(WM), a very nice and lightweight WM. I had to do some
digging around on the Internet and startup script files to get Fluxbox
as an option in the GDM (the login box, where you have the option to
start either the GNOME, KDE or the Failsafe session) Here is how it is done
- Compile, install the WM of your choice.
- login as root and go to directory
/etc/X11/gdm/Sessions - Create a file in the diectory, and give it he name of whatever WM you have installed i.e. Fluxbox, Enlightenment, WMaker etc.
- Enter the following lines into the above file
#!/bin/bash
exec [Path to the WM launcher] Change the [Path to the WM launcher] to whatever your WM uses. In case of Fluxbox it is /usr/bin/startfluxbox , in case of Enlightenment it is /etc/X11/xdm/Xsession enlightenment and in case of WindowMaker it is /etc/X11/xdm/Xsession wmaker. These locations may change according to the options you have used while compiling.
|