XMonad and Gnome3

HI all, I'm a newcomer to XMonad (fleeing the great Gnome3 catastrophe of 2011) and I'm trying to use it with the Gnome3 panel at the top of the screen. If I used a tiled layout it works well enough, but when I start XMonad with either the Circle or SimpleFlaot layout, some Gnome component complains bitterly and suggests I log out to fix the problem. Anybody know of a reason or a workaround for this? I'm using the xmonad and xmonad-contrib packages out of Debian testing. Cheers, Erik -- ---------------------------------------------------------------------- Erik de Castro Lopo http://www.mega-nerd.com/

Hi Erik, Am Dienstag, den 22.11.2011, 17:24 +1100 schrieb Erik de Castro Lopo:
I'm a newcomer to XMonad (fleeing the great Gnome3 catastrophe of 2011) and I'm trying to use it with the Gnome3 panel at the top of the screen.
If I used a tiled layout it works well enough, but when I start XMonad with either the Circle or SimpleFlaot layout, some Gnome component complains bitterly and suggests I log out to fix the problem.
Anybody know of a reason or a workaround for this?
I'm using the xmonad and xmonad-contrib packages out of Debian testing.
how exactly do you start your session – there are so many ways to do so. Also, do you have the GNOME configuration enabled? The latest xmonad packages in unstable have files included that allow you to select "GNOME3 + xmonad" in gdm3, this works fine here. Greetings, Joachim -- Joachim "nomeata" Breitner mail@joachim-breitner.de | nomeata@debian.org | GPG: 0x4743206C xmpp: nomeata@joachim-breitner.de | http://www.joachim-breitner.de/

Joachim Breitner wrote:
how exactly do you start your session – there are so many ways to do so. Also, do you have the GNOME configuration enabled?
myConfig = gnomeConfig { manageHook = manageHook gnomeConfig <+> composeAll myManageHook , startupHook = myStartupHook , modMask = mod4Mask , terminal = "uxterm" , focusFollowsMouse = False , layoutHook = myLayout } `additionalKeys` .....
The latest xmonad packages in unstable have files included that allow you to select "GNOME3 + xmonad" in gdm3, this works fine here.
Thats whay I'm using. Works fine until I set either Circle of SimpleFLoat as the first layout. Currently I have: myLayout = simpleFloat ||| Circle ||| tiled ||| Mirror tiled ||| Full Removing the first two an XMonad/Gnome3 starts correctly. Erik -- ---------------------------------------------------------------------- Erik de Castro Lopo http://www.mega-nerd.com/

Hi, Am Dienstag, den 22.11.2011, 23:08 +1100 schrieb Erik de Castro Lopo:
The latest xmonad packages in unstable have files included that allow you to select "GNOME3 + xmonad" in gdm3, this works fine here.
Thats whay I'm using. Works fine until I set either Circle of SimpleFLoat as the first layout. Currently I have:
myLayout = simpleFloat ||| Circle ||| tiled ||| Mirror tiled ||| Full
Removing the first two an XMonad/Gnome3 starts correctly.
So if you are using $ cat /usr/share/gnome-session/sessions/xmonad.session [GNOME Session] Name=Xmonad/GNOME RequiredComponents=gnome-settings-daemon;gnome-panel; RequiredProviders=windowmanager;notifications; DefaultProvider-windowmanager=xmonad DefaultProvider-notifications=notification-daemon then it would be interesting what component makes gnome-session think that the session has failed to start – could be one of the four mentioned. xmonad can probably be excluded (you’d notice if it crashes and is restarted), so either the panel, the settings-daemon or the notification daemon don’t like the layout. You could add --debug to /usr/bin/gnome-session-xmonad and check if ~/.xsession-errors contain something suspicious when the bug is triggered. Greetings, Joachim -- Joachim "nomeata" Breitner mail@joachim-breitner.de | nomeata@debian.org | GPG: 0x4743206C xmpp: nomeata@joachim-breitner.de | http://www.joachim-breitner.de/

Joachim Breitner wrote:
Hi,
Am Dienstag, den 22.11.2011, 23:08 +1100 schrieb Erik de Castro Lopo:
The latest xmonad packages in unstable have files included that allow you to select "GNOME3 + xmonad" in gdm3, this works fine here.
Thats whay I'm using. Works fine until I set either Circle of SimpleFLoat as the first layout. Currently I have:
myLayout = simpleFloat ||| Circle ||| tiled ||| Mirror tiled ||| Full
Removing the first two an XMonad/Gnome3 starts correctly.
So if you are using $ cat /usr/share/gnome-session/sessions/xmonad.session [GNOME Session] Name=Xmonad/GNOME RequiredComponents=gnome-settings-daemon;gnome-panel; RequiredProviders=windowmanager;notifications; DefaultProvider-windowmanager=xmonad DefaultProvider-notifications=notification-daemon
The one I had was missing notifications from the RequiredProviders line, but the problem persists even after I added it. Did manage to find the problem though, I had a startupHook defined as : myStartupHook = return () which seems to be contrry to what gnome-session is expecting. Thanks for your help Joachim. Cheers, Erik -- ---------------------------------------------------------------------- Erik de Castro Lopo http://www.mega-nerd.com/
participants (2)
-
Erik de Castro Lopo
-
Joachim Breitner