2008/12/18 Matthias Clasen mclasen@redhat.com:
On Thu, 2008-12-18 at 02:19 -0500, Yaakov Nemoy wrote:
In short, the new gnome session configuration dialog is alot simpler and alot less confusing, but it gives us no simple way to give metacity the boot on a per session basis. How do i go about doing this via an RPM?
The required components should just be a fallback in case the session didn't contain a window manager, file manager, etc. At least that is my understanding of how they're supposed to be used. So, you should just install an autostart file for xmonad that marks it as a window manager via
X-GNOME-Autostart-Phase=WindowManager X-GNOME-Provides=windowmanager
then your users should be able to switch their sessions to xmonad by turning it on in the session capplet.
(CCing Jon, who wrote most of the relevant gnome-session code).
This doesn't explain how to give metacity the boot. xmonad doesn't honor --replace or most other window manager command line options, and metacity is no longer listed in the sessions capplet. Secondly, i found that when gnome tries to manage xmonad, it loads several instances and lets them fight with other until they crash in a pile of suckage. All i'm looking to do is just get rid of metacity, and use more unixy methods to load xmonad.
-Yaakov