Summary: | gdm no longer offers custom session option | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Tod Morrison <tod.morrison> |
Component: | [OLD] GNOME | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | radek |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | custom.desktop -- enables custom session option in gdm |
Description
Tod Morrison
2004-03-12 23:26:09 UTC
No, the whole session scheme changed, it now looks for .desktop files in /usr/share/xsessions . What did you do exactly to make it work for you ? Maybe you could go trough the docs on the gdm homepage and device a better way to make it work for you, I'd be interested in hearing about that. Created attachment 27282 [details]
custom.desktop -- enables custom session option in gdm
My first fix was hackish, this one is more consistant with how gdm is currently
configured. By default the gdm is configured with
SessionDesktopDir=/etc/X11/sessions/:/etc/X11/dm/Sessions/:/usr/share/xsessions/
and if you look in '/etc/X11/dm/Sessions/' you'll find default.desktop,
reading /etc/X11/gdm/Xsession you'll note that this is handled differently than
others. Also you'll see hooks for a 'custom' option, which is what we want.
Basically, we need to have a file custom.desktop in '/etc/X11/dm/Sessions/'.
These files are different from say one for fluxbox or gnone in that they don't
have a "TryExec" entry. I've writen a custom.desktop by modifying
defualt.desktop that does this.
Yeah, this is exactly it. You have to copy default.desktop to custom.desktop and change the "Exec=default" to "Exec=custom". This file (custom.desktop) should be a part of the ebuild so users don't get confused and they won't have to make of these operations after upgrading... ok i added a custom.desktop to 2.4.4.7-r1 for now. In some way you could question having such an option by default, while it means nothing to most people and isn't even functional. Thnx for the works. |