FS#24165 - [xmonad]: Add files to enable GNOME 3 + Xmonad

Attached to Project: Community Packages
Opened by Magnus Therning (magus) - Sunday, 08 May 2011, 07:37 GMT
Last edited by Vesa Kaihlavirta (vegai) - Sunday, 26 June 2011, 19:10 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Vesa Kaihlavirta (vegai)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:
With the recent upgrade to Gnome 3 all the old instructions for using xmonad as the WM in Gnome 3 stopped working. It is possible to achieve this, when running Gnome 3 in fallback mode, but it requires a few extra files for gdm and gnome-session. Something like this does it:

/usr/share/gnome-session/sessions/xmonad.session

[GNOME Session]
Name=Xmonad session
RequiredComponents=gnome-panel;gnome-settings-daemon;
RequiredProviders=windowmanager;notifications;
DefaultProvider-windowmanager=xmonad
DefaultProvider-notifications=notification-daemon

/usr/share/xsessions/xmonad-gnome-session.desktop

[Desktop Entry]
Name=Xmonad GNOME
Comment=Tiling window manager
TryExec=/usr/bin/gnome-session
Exec=gnome-session --session=xmonad
Type=XSession
This task depends upon

Closed by  Vesa Kaihlavirta (vegai)
Sunday, 26 June 2011, 19:10 GMT
Reason for closing:  Implemented
Comment by Rémy Oudompheng (remyoudompheng) - Sunday, 08 May 2011, 08:06 GMT
Err, I'm not sure these files actually belong to this package. I would have let the user put the .desktop file in /etx/X11/sessions and the session file in $HOME/.config/gnome-session/sessions

What "instructions" are you talking about ?
Comment by Magnus Therning (magus) - Sunday, 08 May 2011, 10:00 GMT
The xmonad package already ships with a .desktop in /etc/X11/sessions, but it's not one that makes use of gnome-session. Also, GDM doesn't seem to pick up .desktop files in that location, they need to be in /usr/share/xsessions.

I'm assuming that a .session file in the user's home dir will take precedence over one in /usr/share/gnome-session/sessions/. However, having a .desktop that allows a user to choose a specific session in GDM, without having a system-wide default session file, seems to be a bad solution.
Comment by Magnus Therning (magus) - Sunday, 08 May 2011, 10:03 GMT Comment by Jelle van der Waa (jelly) - Thursday, 16 June 2011, 10:46 GMT
Why don't you add this info to your wiki
Comment by Jelle van der Waa (jelly) - Friday, 17 June 2011, 21:05 GMT
i would say it's like desktop files, just package it vanilla like it supposed to be
Comment by Vesa Kaihlavirta (vegai) - Wednesday, 22 June 2011, 18:28 GMT
Adding these with the new HP rebuild release (xmonad-0.9.2-1.1)
Comment by Vesa Kaihlavirta (vegai) - Wednesday, 22 June 2011, 18:42 GMT
make that 0.9.2-2

Loading...