I tried integrating XMonad using the “recommended” way of setting up a gdm desktop profile to call a custom xmonad.start script which manually loads Gnome and then starts XMonad. I didn’t get very far. Here’s what finally worked.
sudo apt-get install xmonad
- Create a file
/usr/share/xsessions/xsession.desktop
with the following[Desktop Entry] Name=Xsession Comment=This runs ~/.xsession Exec=/etc/X11/Xsession
The file can also go in
/etc/X11/sessions/
. - Create a file
~/.xsession
with the followingexport WINDOW_MANAGER="/usr/bin/xmonad" exec gnome-session
- Using gconf-editor or gconftool, change
/desktop/gnome/session/required_components/windowmanager
from “metacity” to “gnome-wm”. If you don’t do this, Gnome will ignore the WINDOW_MANAGER variable.
I wanted to go with the recommended way, but the more I looked at it, the more it seemed like I was micro-managing Gnome, and I really didn’t care to do that. I just wanted to have an easy way to use XMonad as a drop-in replacement for Metacity that was easily reversible. This method should also make it easy to swap out other window managers. Now that XMonad is installed, I get to finally play with the configuration settings.
Using gconf-editor or gconftool, change /desktop/gnome/session/required_components/windowmanager from “metacity” to “xmonad”. That’s the only step you need
Picture or it didn’t happen.
More exactly, please give one or two screenshots. I want to see if this will provide what I’m looking for in a window manager.
A screenshot of Gnome + Xmonad
http://jjinux.blogspot.com/2009/11/linux-my-xmonad-setup.html
Otherwise check out the Xmonad website which has some screencasts
http://xmonad.org/
Thanks. That link motivated me to install xmonad tonight.
/usr/share/xessions/xsession.desktop
Typo error… “xessions” should be replaced by “xsessions”
Thanks for the post)))