kdm doesn't list the session files under /etc/X11/Sessions. x11-wm/fvwm only installs the session file in there, which means that fvwm is not in the kdm list, not even if I edit kdmrc and add that path to the SessionsDirs directive. It kind of lists the option for fvwm (without label, but it works) if I ln -s /etc/X11/Sessions/fvwm to /etc/X11/Sessions/fvwm.desktop By researching a bit I discovered that this shouldn't be needed at all, since kde installs .desktop files for about any existing WM, and there's a line for that in kdmrc that's commented out by default. So, my question is, shouldn't we be doing this with the default kdmrc? --- /usr/share/config/kdm/kdmrc.orig 2011-04-26 00:24:57.245051737 +0200 +++ /usr/share/config/kdm/kdmrc 2011-04-26 00:25:08.501718029 +0200 @@ -283,8 +283,8 @@ # The directories containing session type definitions in .desktop format, # ordered by falling priority. # Default is "/usr/share/apps/kdm/sessions" -#SessionsDirs=/usr/share/config/kdm/sessions,/usr/share/apps/kdm/sessions -SessionsDirs=/usr/share/xsessions +SessionsDirs=/usr/share/config/kdm/sessions,/usr/share/apps/kdm/sessions +#SessionsDirs=/usr/share/xsessions # The file (relative to $HOME) to redirect the session output to. The # following character pairs are replaced: # - %d -> current display Reproducible: Always
can you report that upstream please? and paste the upstream bug number here. thanks
Yes, I can. As soon as possible I'll report it and let you know.
https://bugs.kde.org/show_bug.cgi?id=273038
Upstream says it's a downstream problem. I think that is wrong, but we'll end up fixing it ourselves anyway.
Fixed in 4.6.5-r1 and later. And yes it was our fault.
- sed -e "s|^.*SessionsDirs=.*$|#&\nSessionsDirs=${EPREFIX}/usr/share/xsessions|" \ + sed -e "s|^.*SessionsDirs=.*$|#&\nSessionsDirs=${EPREFIX}/usr/share/apps/kdm/sessions|" \ Is it correct that you dropped support for .desktop files in /usr/share/xsessions completely? I can't choose to start my awesome no more :( How does one use kdm with window managers using make_session_desktop from eutils.eclass (which installs to /usr/share/xsessions) but have no .desktop file installed by kdm itself?
Should work again in -r2; I added this directory as second alternative. After all, Gentoo has to be awesome. :)