trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: August 2013

Re: [trinity-devel] KDE4 is not in the TDM session list

From: "Darrell Anderson" <darrella@...>
Date: Fri, 09 Aug 2013 21:55:01 -0500
>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