On Tuesday 11 January 2005 20:49, Chris Gianelloni wrote:
> On Tue, 2005-01-11 at 19:03 +0000, Ciaran McCreesh wrote:
> > On Tue, 11 Jan 2005 20:52:59 +0200 Dan Armak <[EMAIL PROTECTED]>
> >
> > wrote:
> > | Installing .desktop files in /usr/share/xsessions ought to be policy
> > | for WMs. At least KDE, gnome, enlghtenment, xfce4 and ion now do this,
> > | and probably others which I haven't checked (kde 3.3.x still doesn't
> > | use files from there but we're fixing that; 3.4.0_beta1 already uses
> > | it).
> >
> > Fluxbox does it, but only because someone else supplied the file. If
> > you're wanting to make this policy, might I recommend including a decent
> > explanation of what this file is and what it should contain?
>
> inherit eutils
>
> make_session_desktop ${title} ${command}
>
> As for the contents, it looks like this:
>
> [Desktop Entry]
> Encoding=UTF-8
> Name=${title}
> Comment=This session logs you into ${title}
> Exec=${command}
> TryExec=${command}
> Type=ApplicationOne can also take and adapt the desktop file from here: http://webcvs.kde.org/kdebase/kdm/kfrontend/sessions/ By the way, it should be noted that /etc/X11/Session will not become useless: it will be used by users that start the X session with 'startx'. -- [email protected] mailing list
