Temp/Xmonad on Gnome
(Creation of page)
Revision as of 21:32, 6 March 2008
Xmonad makes an excellent drop-in replacement for Gnome's default window manager (metacity) giving you a slick tiling window manager. This guide will help you set up Gnome to use Xmonad 0.6.
2 Setting up Gnome to use Xmonad
The easiest way is to let Gnome start Xmonad itself by modifying ~/.gnomerc to contain
3 Tweak Gnome to work better with Xmonad
These are a few steps that greatly improves the experience of running Xmonad under Gnome. Note that on some systems the binary gconftool is called gconftool-2.
3.1 Disable the Nautilus desktop
From the command line execute:
gconftool --type boolean --set /apps/nautilus/preferences/show_desktop false
3.2 Changing desktop background
If you need to change the workspace background programmatically (i.e. from some extension setting in xmonad's configuration file), you can use the command:
gconftool --type string --set /desktop/gnome/background/picture_filename "/path/to/your/image.png"
3.3 Fixing the pointer
After switching to Xmonad you might notice that the default pointer isn't the one you chose in your beautiful Gnome theme. The way to address this is to run xsetroot during session startup. Open the session configuration dialogue (System -> Preferences -> Sessions). Add a new startup program, choose any name and comment you want but make the command
/usr/bin/xsetroot -cursor_name left_ptr