[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#247365: KDM should use /etc/dm/Sessions as a source for its .desktop files or ship a xfce4.desktop



On Tue, May 04, 2004 at 08:42:58PM +0100, Simon Huggins wrote:
> 'ello Chris
> 
> On Tue, May 04, 2004 at 02:36:39PM -0500, Chris Cheney wrote:
> > On Tue, May 04, 2004 at 07:10:18PM +0100, Simon Huggins wrote:
> > > KDM should probably just avoid duplication of effort and use the
> > > *.desktop files in /etc/dm/Sessions that gdm is starting to use instead
> > > of shipping its own.
> 
> > I'm sorry you are wrong.
> 
> > Quoted directly from GDM docs:
> 
> > --
> 
> > The remaining configuration is done by dropping scripts in the
> > subdirectories of the /etc/gdm/ folder or dropping .desktop-style files
> > in /etc/dm/Sessions/ or /etc/X11/sessions/.  The latter is also read by
> > KDM for common configuration.
> [..]
> 
> Ah okie.
> 
> > > If you're unwilling to do this please include the attached xfce4.desktop
> > > for the XFce4 desktop environment.
> > The maintainer of XFce4 needs to provide a xfce4.desktop file in the
> > /usr/share/xessions/ dir just like I did for kde so that both dm's can
> > see the file. It is not the DM's place to ship .desktop files for
> > every WM in existence. Afaict GDM provides none by default and KDM
> > only provides 48 by default. If you need more information ask the GDM
> > maintainer Ryan Murray...
> 
> Why does KDM provide so many in the first place then?

I think they just ship them to make it easier for source users to be
able to use their other WM's with it.

> I'll ship it in /etc/X11/sessions instead - thanks for the
> clarification.

--
Also the default setup will also read <share>/xsessions/ (which should
be /usr/share/xsessions/ if you really wish to cooperate with KDM) where
desktop packages can install their session files.  The directories under
the /etc should be reserved for configuration.
--

The .desktop files aren't really configuration files in that there is
nothing you need to modify in them. The part you didn't quote from the
gdm.xml file stated that they should go into /usr/share/xsessions/.
Which is also the directoy that Ryan Murray told me to put the files as
well. The /etc/X11/sessions/ dir as far as I can tell is for use by
local admins for override purposes, etc.

Chris

Attachment: signature.asc
Description: Digital signature


Reply to: