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.
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.