Xmonad with Gnome
From Gentoo Linux Wiki
Xmonad is a dynamically tiling X11 window manager that is written and configured in Haskell.
Contents |
[edit] Needed Packages
[edit] Essential packages
Emerge gnome-base/gnome, x11-wm/xmonad and x11-wm/xmonad-contrib.
emerge gnome xmonad xmonad-contrib
[edit] Optional packages
A nice xmobar surrogate is the xmonad-log-applet for gnome. A ebuild currently resided within the haskell overlay.
layman -a haskell
Emerge gnome-extra/xmonad-log-applet
emerge xmonad-log-applet --autounmask-write
[edit] ~/xmonad.hs
Modify your xmonad.hs with the code provided by the sample xmonad.hs. You can finde sample configurations in the Xmonad config archive, also the configuring xmonad manual is a good starting point.
Note: A non-functional xmonad.hs may leave you with a desktop without any gnome-panels. You have to restart xdm manually in that case and check ~/.xsession-errors for errors
[edit] Add the XSession
[edit] gnome-xmonad.desktop
File: /usr/share/xsessions/gnome-xmonad.desktop
[Desktop Entry] Enconding=UTF-8 Name=Gnome Xmonad Comment=Gnome and Xmonad Exec=/usr/sbin/xmonad-gnome-session Icon=xmonad.png Type=XSession
[edit] xmonad-gnome-session
File: /usr/sbin/xmonad-gnome-session
export WINDOW_MANAGER=xmonad #xcompmgr -c -f -F & gnome-session
chmod 755 /usr/sbin/xmonad-gnome-session
[edit] Composite Effects
Warning: Enabling composite effects can result in unexpected behavior on some software/hardware combinations.
See Bug 339716 for an example.
You can enable composite effects by uncommenting the xcompmgr line above. Check support with
xdpyinfo | grep Composite
and emerge x11-misc/xcompmgr.