Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 44537 - gdm no longer offers custom session option
Summary: gdm no longer offers custom session option
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-12 23:26 UTC by Tod Morrison
Modified: 2004-04-02 09:39 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
custom.desktop -- enables custom session option in gdm (custom.desktop,341 bytes, application/octet-stream)
2004-03-13 05:33 UTC, Tod Morrison
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tod Morrison 2004-03-12 23:26:09 UTC
I have a $HOME/.xsession file for starting my X session, gdm-2.4.4.7 doesn't give "Custom" or "Xsession" as an option. I've beat gdm into submission, so it now offers Xsession as an option, but since it's kind of hackish I except any further upgades will clobber the fix. Shouldn't it offer those sessions found in /etc/X11/gdm/Sessions by default.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 foser (RETIRED) gentoo-dev 2004-03-13 04:42:46 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.
Comment 2 Tod Morrison 2004-03-13 05:33:42 UTC
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.
Comment 3 Radek Podgorny 2004-03-13 08:15:36 UTC
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...
Comment 4 foser (RETIRED) gentoo-dev 2004-04-02 09:39:30 UTC
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.