Le 10/08/2013 04:55, Darrell Anderson a �crit : >> Wouldn't it be better to expand the TDM search paths to include >> /usr/share/apps/kdm/sessions/ then? > Looks to me as though the default search paths are defined in > tdebase/tdm/config.def:1931: > > =================================== > Key: SessionsDirs > Type: list > Default: "/usr/share/xsessions,/var/lib/menu-xdg/xsessions," > TDMDATA "/sessions" > User: core > User: greeter-c > Instance: */"/usr/share/xsessions,/var/lib/menu-xdg/xsessions," > TDMDATA "/sessions" > Comment: > The directories containing session type definitions in .desktop > format. > Description: > A list of directories containing session type definitions. > # See <xref linkend="tdmrc-sessions"> for details. > =================================== > > We could add /usr/share/apps/kdm/sessions/, but what happens when > KDE4 is not installed to /usr? Or different distro maintainers > install kdm/sessions to different locations? If we add search > support for the default paths for KDM, then why not add the default > locations for other login managers such as GDM and SliM? Seems this > could get out of hand. > > We already supply our own session files, as do other login > managers. The default search paths expands the built-in TDM list > and includes known default locations. Does adding those two files > cause harm? > > Darrell > I agree with Tim, with should expand our search path, instead of importing files in TDE that do not belong to us. The standard location is /usr/share/xsessions. On my distribution, I have no problem seeing KDE4/Gnome/etc ... in TDM, as well as seeing TDE in KDM4/GDM/etc... because I install the "tde.session" file in /usr/share/xsessions , where all the other files reside. Plus, the KDE4 desktop file may be distribution/KDE4-version specific. Can you guarantee it will work if your "kde4.desktop" comes from KDE4.10 for slackware, and that I have KDE 4.3 for CentOS ? Also, if KDE4 is NOT installed under "/usr" as you said (possible but unlikely), the KDE4 desktop file provided by TDE still contains hardcoded path to "/usr/bin/startkde" and won't work at all, whereas the KDE4-provided one, if packaged correctly, will always contain the right path to startkde .... Francois