
Gnome3 just hit my distribution and after the upgrade from Gnome2 I no longer get xmonad on login :( There are many things I like about Gnome3 and the shell, but I've gotten really used to xmonad, manipulating windows via the keyboard, and most importantly I love the tiling window placement. I can't seem to find any description of using xmonad with Gnome3, is there any? /M -- Magnus Therning OpenPGP: 0xAB4DFBA4 email: magnus@therning.org jabber: magnus@therning.org twitter: magthe http://therning.org/magnus Most software today is very much like an Egyptian pyramid with millions of bricks piled on top of each other, with no structural integrity, but just done by brute force and thousands of slaves. -- Alan Kay

On 1 May 2011 18:46, Magnus Therning
Gnome3 just hit my distribution and after the upgrade from Gnome2 I no longer get xmonad on login :(
There are many things I like about Gnome3 and the shell, but I've gotten really used to xmonad, manipulating windows via the keyboard, and most importantly I love the tiling window placement.
I can't seem to find any description of using xmonad with Gnome3, is there any?
Well, isn't GnomeShell part of the new Mutter WM? So if you manage to work out how to use xmonad, then AFAIK you lose the shell. Some info appears to be here: https://wiki.archlinux.org/index.php/GNOME_3#Introduction -- Ivan Lazar Miljenovic Ivan.Miljenovic@gmail.com IvanMiljenovic.wordpress.com

On Sun, May 01, 2011 at 06:16:11PM +1000, Ivan Lazar Miljenovic wrote:
On 1 May 2011 18:46, Magnus Therning
wrote: Gnome3 just hit my distribution and after the upgrade from Gnome2 I no longer get xmonad on login :(
There are many things I like about Gnome3 and the shell, but I've gotten really used to xmonad, manipulating windows via the keyboard, and most importantly I love the tiling window placement.
I can't seem to find any description of using xmonad with Gnome3, is there any?
Well, isn't GnomeShell part of the new Mutter WM? So if you manage to work out how to use xmonad, then AFAIK you lose the shell.
Hmm, that's disappointing and from my POV I serious bug. I guess I'll have to look at gtiles... /M -- Magnus Therning OpenPGP: 0xAB4DFBA4 email: magnus@therning.org jabber: magnus@therning.org twitter: magthe http://therning.org/magnus I invented the term Object-Oriented, and I can tell you I did not have C++ in mind. -- Alan Kay

On Sun, May 01, 2011 at 06:16:11PM +1000, Ivan Lazar Miljenovic wrote:
On 1 May 2011 18:46, Magnus Therning
wrote: Gnome3 just hit my distribution and after the upgrade from Gnome2 I no longer get xmonad on login :(
There are many things I like about Gnome3 and the shell, but I've gotten really used to xmonad, manipulating windows via the keyboard, and most importantly I love the tiling window placement.
I can't seem to find any description of using xmonad with Gnome3, is there any?
Well, isn't GnomeShell part of the new Mutter WM? So if you manage to work out how to use xmonad, then AFAIK you lose the shell.
Some info appears to be here: https://wiki.archlinux.org/index.php/GNOME_3#Introduction
That page doesn't explain how to replace metacity with something else, like xmonad, when using Gnome3 in fallback mode. I've failed to find anything about this online; I had a working setup in Gnome2, and the configuration is still there when looking in gconf, but it doesn't work in Gnome3. Any pointers on this would be appreciated. /M -- Magnus Therning OpenPGP: 0xAB4DFBA4 email: magnus@therning.org jabber: magnus@therning.org twitter: magthe http://therning.org/magnus I invented the term Object-Oriented, and I can tell you I did not have C++ in mind. -- Alan Kay

On Sun, 1 May 2011 18:16:11 +1000 Ivan Lazar Miljenovic
Gnome3 just hit my distribution and after the upgrade from Gnome2 I no longer get xmonad on login :(
There are many things I like about Gnome3 and the shell, but I've gotten really used to xmonad, manipulating windows via the keyboard, and most importantly I love the tiling window placement.
I can't seem to find any description of using xmonad with Gnome3, is there any?
ILM> Well, isn't GnomeShell part of the new Mutter WM? So if you manage to ILM> work out how to use xmonad, then AFAIK you lose the shell. ILM> Some info appears to be here: ILM> https://wiki.archlinux.org/index.php/GNOME_3#Introduction I'm starting gnome-panel manually in the XMonad desktop session in order to get the old (Ubuntu 10.10, Gnome 2) behavior with XMonad. The Gnome shell session you can install in Ubuntu 11.04 from the Gnome 3 repository doesn't start gnome-panel. Supposedly gnome-panel will be used as a fallback in case the machine can't handle the new Gnome shell. I can't find a way to force that fallback, though, in the Wiki above or with Google searches. Does anyone know? Thanks Ted

2011/5/5 Ted Zlatanov
On Sun, 1 May 2011 18:16:11 +1000 Ivan Lazar Miljenovic
wrote: ILM> On 1 May 2011 18:46, Magnus Therning
wrote: Gnome3 just hit my distribution and after the upgrade from Gnome2 I no longer get xmonad on login :(
There are many things I like about Gnome3 and the shell, but I've gotten really used to xmonad, manipulating windows via the keyboard, and most importantly I love the tiling window placement.
I can't seem to find any description of using xmonad with Gnome3, is there any?
ILM> Well, isn't GnomeShell part of the new Mutter WM? So if you manage to ILM> work out how to use xmonad, then AFAIK you lose the shell.
ILM> Some info appears to be here: ILM> https://wiki.archlinux.org/index.php/GNOME_3#Introduction
I'm starting gnome-panel manually in the XMonad desktop session in order to get the old (Ubuntu 10.10, Gnome 2) behavior with XMonad. The Gnome shell session you can install in Ubuntu 11.04 from the Gnome 3 repository doesn't start gnome-panel.
Supposedly gnome-panel will be used as a fallback in case the machine can't handle the new Gnome shell. I can't find a way to force that fallback, though, in the Wiki above or with Google searches. Does anyone know?
There is a setting for it, but I only know how to get to it from inside gnome-shell itself, it's called fallback mode, System Settings -> System Info -> Graphics. There's most likely a gconf/dconf/gsettings (or whatever they call the Gnome config system this week) setting for it. On ArchLinux you can also simply remove the gnome-shell package in order to force fallback mode. /M -- Magnus Therning OpenPGP: 0xAB4DFBA4 email: magnus@therning.org jabber: magnus@therning.org twitter: magthe http://therning.org/magnus

On Thu, 5 May 2011 15:52:15 +0100 Magnus Therning
I'm starting gnome-panel manually in the XMonad desktop session in order to get the old (Ubuntu 10.10, Gnome 2) behavior with XMonad. The Gnome shell session you can install in Ubuntu 11.04 from the Gnome 3 repository doesn't start gnome-panel.
Supposedly gnome-panel will be used as a fallback in case the machine can't handle the new Gnome shell. I can't find a way to force that fallback, though, in the Wiki above or with Google searches. Does anyone know?
MT> There is a setting for it, but I only know how to get to it from MT> inside gnome-shell itself, it's called fallback mode, MT> System Settings-> System Info -> Graphics. MT> There's most likely a gconf/dconf/gsettings (or whatever they call the MT> Gnome config system this week) setting for it. That did not work: I still got the Gnome shell even with "fallback" turned on. Moving the gnome-shell executable didn't work either. Ugh. Ted

2011/5/5 Ted Zlatanov
On Thu, 5 May 2011 15:52:15 +0100 Magnus Therning
wrote: MT> 2011/5/5 Ted Zlatanov
: I'm starting gnome-panel manually in the XMonad desktop session in order to get the old (Ubuntu 10.10, Gnome 2) behavior with XMonad. The Gnome shell session you can install in Ubuntu 11.04 from the Gnome 3 repository doesn't start gnome-panel.
Supposedly gnome-panel will be used as a fallback in case the machine can't handle the new Gnome shell. I can't find a way to force that fallback, though, in the Wiki above or with Google searches. Does anyone know?
MT> There is a setting for it, but I only know how to get to it from MT> inside gnome-shell itself, it's called fallback mode, MT> System Settings-> System Info -> Graphics.
MT> There's most likely a gconf/dconf/gsettings (or whatever they call the MT> Gnome config system this week) setting for it.
That did not work: I still got the Gnome shell even with "fallback" turned on. Moving the gnome-shell executable didn't work either. Ugh.
That sounds like a bug to me. Switching on fallback mode does work for me. /M -- Magnus Therning OpenPGP: 0xAB4DFBA4 email: magnus@therning.org jabber: magnus@therning.org twitter: magthe http://therning.org/magnus

2011/5/6 Ted Zlatanov
Supposedly gnome-panel will be used as a fallback in case the machine can't handle the new Gnome shell. I can't find a way to force that fallback, though, in the Wiki above or with Google searches. Does anyone know?
MT> There is a setting for it, but I only know how to get to it from MT> inside gnome-shell itself, it's called fallback mode, MT> System Settings-> System Info -> Graphics.
Right you can override the gnome/fallback session with gsettings on "org.gnome.desktop.session session-name" after creating a xmonad.session file. The one in Fedora looks like this: -=- [GNOME Session] Name=Bluetile session RequiredComponents=gnome-panel;gnome-settings-daemon; RequiredProviders=windowmanager;notifications; DefaultProvider-windowmanager=bluetile DefaultProvider-notifications=notification-daemon -=- At the distro level at least I think using an xsession .desktop is the correct way to do this (see my previous mail). Jens

The one in Fedora looks like this: -=- [GNOME Session] Name=Bluetile session RequiredComponents=gnome-panel;gnome-settings-daemon; RequiredProviders=windowmanager;notifications; DefaultProvider-windowmanager=bluetile DefaultProvider-notifications=notification-daemon -=-
Ok that was the bluetile one, but you get the idea: s/bluetile/xmonad/.

On Fri, 6 May 2011 17:24:40 +0900 Jens Petersen

After playing with Gnome 3 for a bit, I've decided to simply stop using Gnome and use XFCE instead. Thanks for the help but Gnome 3 really gets in the way of using XMonad effectively, so I won't bother (and I'll save myself quite a bit of memory and CPU as well).
Were you using Gnome 2 before? Gnome 3 fallback seems pretty similar to Gnome 2 - so just curious if you see any new issues with using xmonad in Gnome 3's fallback mode?

On Thu, 19 May 2011 14:07:22 +0900 Jens Petersen
After playing with Gnome 3 for a bit, I've decided to simply stop using Gnome and use XFCE instead. Thanks for the help but Gnome 3 really gets in the way of using XMonad effectively, so I won't bother (and I'll save myself quite a bit of memory and CPU as well).
JP> Were you using Gnome 2 before? Gnome 3 fallback seems pretty JP> similar to Gnome 2 - so just curious if you see any new JP> issues with using xmonad in Gnome 3's fallback mode? I didn't need fallback in Gnome 2. I can't force fallback in Gnome 3, it still doesn't use gnome-panel. The best way I found so far (as suggested here) is: % cat /usr/share/gnome-session/sessions/xmonad.session [GNOME Session] Name=Xmonad Required=windowmanager;panel;filemanager; Required-windowmanager=xmonad Required-panel=gnome-panel Required-filemanager=nautilus DefaultApps=gnome-settings-daemon; #RequiredComponents=gnome-shell;gnome-settings-daemon; RequiredComponents=gnome-settings-daemon; IsRunnableHelper=/usr/lib/gnome-session/gnome-session-check-accelerated FallbackSession=gnome-fallback % cat ~/.xsession #!/bin/sh gnome-session --session=xmonad ...and then use the "custom X" GDM session. This uses Gnome 2 components, I believe. Incidentally, XFCE works OK but wasn't any better than Gnome 2. So since I'm used to Gnome 2 I'm using the solution above for now. I certainly wish I could use the Gnome 3 components but they've made third-party window managers a really difficult option. Very frustrating since I've always been a Gnome supporter and have been using custom window managers since 1995 (ctwm was my first one; I've also used Enlightenment, CDE, Ion 2 and 3, wmii, and StumpWM[1] before finding XMonad). Ted [1] it was hard to give up StumpWM's Lisp configuration for Haskell because I am very comfortable with Lisp, but Haskell has its charms

Thanks for explaining.
2011/5/19 Ted Zlatanov
I can't force fallback in Gnome 3, it still doesn't use gnome-panel.
It is not very obvious but one can actually force fallback mode from gnome3's control-center: User menu -> System Settings -> System Info -> Graphics -> Forced Fallback Mode. Of course that will take you to a metacity session with gnome-panel, etc. You still need the gnome-session config to run xmonad. Alternatively one can set a fallback or xmonad session with gsettings (which is comparable to the gconf setting to change window manager in gnome2). Jens

On Fri, 20 May 2011 08:10:23 +0900 Jens Petersen
I can't force fallback in Gnome 3, it still doesn't use gnome-panel.
JP> It is not very obvious but one can actually force fallback mode JP> from gnome3's control-center: JP> User menu -> System Settings -> System Info -> Graphics -> Forced Fallback Mode. That doesn't work for me :) JP> Alternatively one can set a fallback or xmonad session with gsettings JP> (which is comparable to the gconf setting to change window manager in gnome2). Oh, that's not on the wiki, could you explain how to do it? Ted

JP> User menu -> System Settings -> System Info -> Graphics -> Forced Fallback Mode.
That doesn't work for me :)
Even after restarting your gnome session?
JP> Alternatively one can set a fallback or xmonad session with gsettings JP> (which is comparable to the gconf setting to change window manager in gnome2).
Oh, that's not on the wiki, could you explain how to do it?
Well, I think it is better to use "gnome-session --session=xmonad", which I think overrides the dconf org.gnome.desktop.session.session-name key, as discussed. But anyway I thought I would just mention the key here for completeness. $ gsettings get org.gnome.desktop.session session-name 'gnome' $ gsettings set org.gnome.desktop.session session-name xmonad (I think forcing fallback mode as above will set the key to 'gnome-fallback'.) Jens

On Mon, 23 May 2011 14:33:56 +0900 Jens Petersen
That doesn't work for me :)
JP> Even after restarting your gnome session? Oh yes, even after rebooting the machine and sacrificing a rabbit. JP> Alternatively one can set a fallback or xmonad session with gsettings JP> (which is comparable to the gconf setting to change window manager in gnome2).
Oh, that's not on the wiki, could you explain how to do it?
JP> Well, I think it is better to use "gnome-session --session=xmonad", which JP> I think overrides the dconf org.gnome.desktop.session.session-name key, JP> as discussed. But anyway I thought I would just mention the key here for JP> completeness. JP> $ gsettings get org.gnome.desktop.session session-name JP> 'gnome' JP> $ gsettings set org.gnome.desktop.session session-name xmonad JP> (I think forcing fallback mode as above will set the key to 'gnome-fallback'.) Thanks for explaining! I'll keep this in mind, too. Ted

On 1 May 2011 17:46, Magnus Therning
Gnome3 just hit my distribution and after the upgrade from Gnome2 I no longer get xmonad on login :(
What distro are you using btw?
There are many things I like about Gnome3 and the shell, but I've gotten really used to xmonad, manipulating windows via the keyboard, and most importantly I love the tiling window placement.
I can't seem to find any description of using xmonad with Gnome3, is there any?
I did this recently for Fedora 15 (also for bluetile) which will ship shortly with GNOME3. Short summary story: 1. create a xmonad.session file for gnome-session to live in /usr/share/gnome-session/sessions iirc 2. run: gnome-session --session=xmonad 3. (Better create an xsession file to do 2.) The fedora 15 packages of xmonad and bluetile already have the above and should just work: you can just select "xmonad GNOME" (or "GNOME + bluetile") from gdm. Hth, Jens ps Note however gnome-session seems a bit "sensitive" yet about other wm's (bug perhaps?) and sometimes show a "Fail whale" dialog - I guess because it didn't notice the wmgr... but I have just mean ignoring/minimizing though - until I have time to look further into it.

On Fri, May 6, 2011 at 09:13, Jens Petersen
On 1 May 2011 17:46, Magnus Therning
wrote: Gnome3 just hit my distribution and after the upgrade from Gnome2 I no longer get xmonad on login :(
What distro are you using btw?
ArchLinux
There are many things I like about Gnome3 and the shell, but I've gotten really used to xmonad, manipulating windows via the keyboard, and most importantly I love the tiling window placement.
I can't seem to find any description of using xmonad with Gnome3, is there any?
I did this recently for Fedora 15 (also for bluetile) which will ship shortly with GNOME3.
Short summary story:
1. create a xmonad.session file for gnome-session to live in /usr/share/gnome-session/sessions iirc 2. run: gnome-session --session=xmonad 3. (Better create an xsession file to do 2.)
The fedora 15 packages of xmonad and bluetile already have the above and should just work: you can just select "xmonad GNOME" (or "GNOME + bluetile") from gdm.
Thanks for this, I'll try it out later today. /M -- Magnus Therning OpenPGP: 0xAB4DFBA4 email: magnus@therning.org jabber: magnus@therning.org twitter: magthe http://therning.org/magnus

On 6 May 2011 19:34, Magnus Therning
Thanks for this, I'll try it out later today.
Sure :) - if you want to have a closer look at the fedora package it is here: http://pkgs.fedoraproject.org/gitweb/?p=xmonad.git

On Sun, May 08, 2011 at 10:21:54AM +0900, Jens Petersen wrote:
On 6 May 2011 19:34, Magnus Therning
wrote: Thanks for this, I'll try it out later today.
Sure :) - if you want to have a closer look at the fedora package it is here:
It worked beautifully: http://therning.org/magnus/archives/93 /M -- Magnus Therning OpenPGP: 0xAB4DFBA4 email: magnus@therning.org jabber: magnus@therning.org twitter: magthe http://therning.org/magnus Most software today is very much like an Egyptian pyramid with millions of bricks piled on top of each other, with no structural integrity, but just done by brute force and thousands of slaves. -- Alan Kay

Excerpts from Magnus Therning's message of Sun May 08 01:42:40 -0600 2011:
On Sun, May 08, 2011 at 10:21:54AM +0900, Jens Petersen wrote:
On 6 May 2011 19:34, Magnus Therning
wrote: Thanks for this, I'll try it out later today.
Sure :) - if you want to have a closer look at the fedora package it is here:
It worked beautifully: http://therning.org/magnus/archives/93
Magnus' URL got truncated. It's at: http://therning.org/magnus/archives/938 Adding to the 'Using xmonad with Gnome' wiki page. Thanks for the info!

On Mon, May 9, 2011 at 12:52 AM, Wirt Wolff
Excerpts from Magnus Therning's message of Sun May 08 01:42:40 -0600 2011:
On Sun, May 08, 2011 at 10:21:54AM +0900, Jens Petersen wrote:
On 6 May 2011 19:34, Magnus Therning
wrote: Thanks for this, I'll try it out later today.
Sure :) - if you want to have a closer look at the fedora package it is here:
It worked beautifully: http://therning.org/magnus/archives/93
Magnus' URL got truncated. It's at:
http://therning.org/magnus/archives/938
Adding to the 'Using xmonad with Gnome' wiki page.
Thanks for the info!
I'm using arch but failed to start xmonad session after following the steps, here's what I got in .xsession-error: gnome-session[14730]: WARNING: Application 'xmonad.desktop' failed to register before timeout gnome-session[14730]: WARNING: Failed to start app: Unable to start application: Failed to execute child process "if" (No such file or directory) Failed to play sound: File or data not found MCS->Xfconf settings migration complete Failure: Module initalization failed ** Message: applet now removed from the notification area ** Message: applet now embedded in the notification area (Do:14839): libdo-WARNING **: Binding '<Super>space' failed! Could not read Gnome Bookmarks file /home/test/.gtk-bookmarks: Could not find file "/home/test/.gtk-bookmarks". (gnome-settings-daemon:14766): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed ** Message: applet now removed from the notification area XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0" after 1370 requests (1370 known processed) with 1 events remaining. urxvt: X connection to ':0' broken, unable to recover, exiting. (gnome-screensaver:14816): Gdk-WARNING **: gnome-screensaver: Fatal IO error 11 (Resource temporarily unavailable) on X server :0. (nm-applet:14828): Gdk-WARNING **: nm-applet: Fatal IO error 11 (Resource temporarily unavailable) on X server :0. (evolution-alarm-notify:14822): Gdk-WARNING **: evolution-alarm-notify: Fatal IO error 11 (Resource temporarily unavailable) on X server :0. (notification-daemon:14821): Gdk-WARNING **: notification-daemon: Fatal IO error 11 (Resource temporarily unavailable) on X server :0. Do: Fatal IO error 11 (Resource temporarily unavailable) on X server :0. (gdu-notification-daemon:14832): Gdk-WARNING **: gdu-notification-daemon: Fatal IO error 11 (Resource temporarily unavailable) on X server :0. applet.py: Fatal IO error 11 (Resource temporarily unavailable) on X server :0. (ibus-daemon:14819): IBUS-CRITICAL **: 12:14:05.779946: ibus_proxy_call: assertion `priv->connection' failed Any ideas? Thanks, Jan
_______________________________________________ xmonad mailing list xmonad@haskell.org http://www.haskell.org/mailman/listinfo/xmonad

That's scary looking.
I wonder if xmonad is in your $PATH?
My xmonad.desktop:
[Desktop Entry]
Type=Application
Encoding=UTF-8
Name=xmonad
Exec=xmonad
NoDisplay=true
X-GNOME-WMName=xmonad
X-GNOME-Autostart-Phase=WindowManager
X-GNOME-Provides=windowmanager
X-GNOME-Autostart-Notify=false
And I export `xmonad` at startup:
PATH=/home/dons/.xmonad:/home/dons/bin:$PATH
export PATH
gnome-session --session=xmonad
Double check xmonad is in your path?
On Sun, May 8, 2011 at 9:24 PM, Jan
On Mon, May 9, 2011 at 12:52 AM, Wirt Wolff
wrote: Excerpts from Magnus Therning's message of Sun May 08 01:42:40 -0600 2011:
On Sun, May 08, 2011 at 10:21:54AM +0900, Jens Petersen wrote:
On 6 May 2011 19:34, Magnus Therning
wrote: Thanks for this, I'll try it out later today.
Sure :) - if you want to have a closer look at the fedora package it is here:
It worked beautifully: http://therning.org/magnus/archives/93
Magnus' URL got truncated. It's at:
http://therning.org/magnus/archives/938
Adding to the 'Using xmonad with Gnome' wiki page.
Thanks for the info!
I'm using arch but failed to start xmonad session after following the steps, here's what I got in .xsession-error:
gnome-session[14730]: WARNING: Application 'xmonad.desktop' failed to register before timeout gnome-session[14730]: WARNING: Failed to start app: Unable to start application: Failed to execute child process "if" (No such file or directory) Failed to play sound: File or data not found
MCS->Xfconf settings migration complete
Failure: Module initalization failed ** Message: applet now removed from the notification area ** Message: applet now embedded in the notification area
(Do:14839): libdo-WARNING **: Binding '<Super>space' failed!
Could not read Gnome Bookmarks file /home/test/.gtk-bookmarks: Could not find file "/home/test/.gtk-bookmarks".
(gnome-settings-daemon:14766): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed ** Message: applet now removed from the notification area XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0" after 1370 requests (1370 known processed) with 1 events remaining. urxvt: X connection to ':0' broken, unable to recover, exiting.
(gnome-screensaver:14816): Gdk-WARNING **: gnome-screensaver: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
(nm-applet:14828): Gdk-WARNING **: nm-applet: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
(evolution-alarm-notify:14822): Gdk-WARNING **: evolution-alarm-notify: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
(notification-daemon:14821): Gdk-WARNING **: notification-daemon: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Do: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
(gdu-notification-daemon:14832): Gdk-WARNING **: gdu-notification-daemon: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
applet.py: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
(ibus-daemon:14819): IBUS-CRITICAL **: 12:14:05.779946: ibus_proxy_call: assertion `priv->connection' failed
Any ideas?
Thanks, Jan
_______________________________________________ xmonad mailing list xmonad@haskell.org http://www.haskell.org/mailman/listinfo/xmonad
_______________________________________________ xmonad mailing list xmonad@haskell.org http://www.haskell.org/mailman/listinfo/xmonad

On Mon, May 9, 2011 at 1:26 PM, Don Stewart
That's scary looking.
I wonder if xmonad is in your $PATH?
My xmonad.desktop:
[Desktop Entry] Type=Application Encoding=UTF-8 Name=xmonad Exec=xmonad NoDisplay=true X-GNOME-WMName=xmonad X-GNOME-Autostart-Phase=WindowManager X-GNOME-Provides=windowmanager X-GNOME-Autostart-Notify=false
And I export `xmonad` at startup:
PATH=/home/dons/.xmonad:/home/dons/bin:$PATH export PATH gnome-session --session=xmonad
Double check xmonad is in your path?
Yes I'm sure it's in the path. When it's not in the path the error is different (I tried removing xmonad from my PATH). In my case, xmonad is started in the few seconds after gdm login (I can use all my xmonad key bindings during that time), after that period gnome give a popup window says login failed, then I can do nothing except logout. Thanks, Jan
On Sun, May 8, 2011 at 9:24 PM, Jan
wrote: On Mon, May 9, 2011 at 12:52 AM, Wirt Wolff
wrote: Excerpts from Magnus Therning's message of Sun May 08 01:42:40 -0600
2011:
On Sun, May 08, 2011 at 10:21:54AM +0900, Jens Petersen wrote:
On 6 May 2011 19:34, Magnus Therning
wrote: Thanks for this, I'll try it out later today.
Sure :) - if you want to have a closer look at the fedora package it is here:
It worked beautifully: http://therning.org/magnus/archives/93
Magnus' URL got truncated. It's at:
http://therning.org/magnus/archives/938
Adding to the 'Using xmonad with Gnome' wiki page.
Thanks for the info!
I'm using arch but failed to start xmonad session after following the steps, here's what I got in .xsession-error:
gnome-session[14730]: WARNING: Application 'xmonad.desktop' failed to register before timeout gnome-session[14730]: WARNING: Failed to start app: Unable to start application: Failed to execute child process "if" (No such file or directory) Failed to play sound: File or data not found
MCS->Xfconf settings migration complete
Failure: Module initalization failed ** Message: applet now removed from the notification area ** Message: applet now embedded in the notification area
(Do:14839): libdo-WARNING **: Binding '<Super>space' failed!
Could not read Gnome Bookmarks file /home/test/.gtk-bookmarks: Could not find file "/home/test/.gtk-bookmarks".
(gnome-settings-daemon:14766): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed ** Message: applet now removed from the notification area XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0" after 1370 requests (1370 known processed) with 1 events remaining. urxvt: X connection to ':0' broken, unable to recover, exiting.
(gnome-screensaver:14816): Gdk-WARNING **: gnome-screensaver: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
(nm-applet:14828): Gdk-WARNING **: nm-applet: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
(evolution-alarm-notify:14822): Gdk-WARNING **: evolution-alarm-notify: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
(notification-daemon:14821): Gdk-WARNING **: notification-daemon: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Do: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
(gdu-notification-daemon:14832): Gdk-WARNING **: gdu-notification-daemon: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
applet.py: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
(ibus-daemon:14819): IBUS-CRITICAL **: 12:14:05.779946: ibus_proxy_call: assertion `priv->connection' failed
Any ideas?
Thanks, Jan
_______________________________________________ xmonad mailing list xmonad@haskell.org http://www.haskell.org/mailman/listinfo/xmonad
_______________________________________________ xmonad mailing list xmonad@haskell.org http://www.haskell.org/mailman/listinfo/xmonad

On Mon, May 9, 2011 at 2:41 PM, Jan
On Mon, May 9, 2011 at 1:26 PM, Don Stewart
wrote: That's scary looking.
I wonder if xmonad is in your $PATH?
My xmonad.desktop:
[Desktop Entry] Type=Application Encoding=UTF-8 Name=xmonad Exec=xmonad NoDisplay=true X-GNOME-WMName=xmonad X-GNOME-Autostart-Phase=WindowManager X-GNOME-Provides=windowmanager X-GNOME-Autostart-Notify=false
And I export `xmonad` at startup:
PATH=/home/dons/.xmonad:/home/dons/bin:$PATH export PATH gnome-session --session=xmonad
Double check xmonad is in your path?
Yes I'm sure it's in the path. When it's not in the path the error is different (I tried removing xmonad from my PATH). In my case, xmonad is started in the few seconds after gdm login (I can use all my xmonad key bindings during that time), after that period gnome give a popup window says login failed, then I can do nothing except logout.
Thanks, Jan
I don't know where the problem is but after I rewrite my xmond.hs by using XMonad.Config.Gnome, xmonad and gnome become friends again! :-) Thanks, Jan
On Sun, May 8, 2011 at 9:24 PM, Jan
wrote: On Mon, May 9, 2011 at 12:52 AM, Wirt Wolff
wrote: Excerpts from Magnus Therning's message of Sun May 08 01:42:40 -0600
2011:
On Sun, May 08, 2011 at 10:21:54AM +0900, Jens Petersen wrote:
On 6 May 2011 19:34, Magnus Therning
wrote: > Thanks for this, I'll try it out later today. Sure :) - if you want to have a closer look at the fedora package it is here:
It worked beautifully: http://therning.org/magnus/archives/93
Magnus' URL got truncated. It's at:
http://therning.org/magnus/archives/938
Adding to the 'Using xmonad with Gnome' wiki page.
Thanks for the info!
I'm using arch but failed to start xmonad session after following the steps, here's what I got in .xsession-error:
gnome-session[14730]: WARNING: Application 'xmonad.desktop' failed to register before timeout gnome-session[14730]: WARNING: Failed to start app: Unable to start application: Failed to execute child process "if" (No such file or directory) Failed to play sound: File or data not found
MCS->Xfconf settings migration complete
Failure: Module initalization failed ** Message: applet now removed from the notification area ** Message: applet now embedded in the notification area
(Do:14839): libdo-WARNING **: Binding '<Super>space' failed!
Could not read Gnome Bookmarks file /home/test/.gtk-bookmarks: Could not find file "/home/test/.gtk-bookmarks".
(gnome-settings-daemon:14766): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed ** Message: applet now removed from the notification area XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0" after 1370 requests (1370 known processed) with 1 events remaining. urxvt: X connection to ':0' broken, unable to recover, exiting.
(gnome-screensaver:14816): Gdk-WARNING **: gnome-screensaver: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
(nm-applet:14828): Gdk-WARNING **: nm-applet: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
(evolution-alarm-notify:14822): Gdk-WARNING **: evolution-alarm-notify: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
(notification-daemon:14821): Gdk-WARNING **: notification-daemon: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Do: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
(gdu-notification-daemon:14832): Gdk-WARNING **: gdu-notification-daemon: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
applet.py: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
(ibus-daemon:14819): IBUS-CRITICAL **: 12:14:05.779946: ibus_proxy_call: assertion `priv->connection' failed
Any ideas?
Thanks, Jan
_______________________________________________ xmonad mailing list xmonad@haskell.org http://www.haskell.org/mailman/listinfo/xmonad
_______________________________________________ xmonad mailing list xmonad@haskell.org http://www.haskell.org/mailman/listinfo/xmonad

On Mon, May 16, 2011 at 7:28 AM, Brandon Allbery
I don't know where the problem is but after I rewrite my xmond.hs by using
XMonad.Config.Gnome, xmonad and gnome become friends again! :-)
It's probably insisting on the window manager registering with dbus; XMonad.Config.Gnome makes sure that happens.
Possible. The weird thing is the same config worked with gnome2. Well, maybe it's not weird in gnome2->3 upgrade :-)

On Sun, May 15, 2011 at 22:34, Jan
On Mon, May 16, 2011 at 7:28 AM, Brandon Allbery
wrote: I don't know where the problem is but after I rewrite my xmond.hs by using
XMonad.Config.Gnome, xmonad and gnome become friends again! :-)
It's probably insisting on the window manager registering with dbus; XMonad.Config.Gnome makes sure that happens.
Possible. The weird thing is the same config worked with gnome2. Well, maybe it's not weird in gnome2->3 upgrade :-)
Yes, I'm assuming that was a Gnome 3 change; Gnome 2 will grumble if a wm doesn't register, but won't kill the session on you.

ps Note however gnome-session seems a bit "sensitive" yet about other wm's (bug perhaps?) and sometimes show a "Fail whale" dialog - I guess because it didn't notice the wmgr... but I have just mean ignoring/minimizing though - until I have time to look further into it.
It was my bad for xmonad: startup script (xmonad-start) was exec'ing xmonad which made gnome-session think that the window manager had terminated. (For bluetile, the WMName seems to be wrong: sending a patch upstream.)
participants (8)
-
Brandon Allbery
-
Don Stewart
-
Ivan Lazar Miljenovic
-
Jan
-
Jens Petersen
-
Magnus Therning
-
Ted Zlatanov
-
Wirt Wolff