On Monday 19 April 2010 01:54:09 Matthias Clasen wrote:
On Sun, 2010-04-18 at 10:08 +0200, Christoph Wickert wrote:
> > For GNOME, I'll simply move the polkit-gnome-authentication-agent
> > autostart file from polkit-gnome to gnome-session.
>
> This means that other desktops can no longer make use of polkit-gnome
> and user or have to provide their own desktop file. This means users can
> no longer choose which agent to start. What's so bad about choice? Xfce
> users might want to choose wheter to use lxpolkit or polkit-gnome.
It doesn't mean any of that. If you want to use
polkit-gnome-authentication agent, simply start it in your session, by
whatever mechanism you prefer. The autostart file is just an
implementation detail. I might just as well make gnome-session just
launch it directly.
> >From a packaging POV the autostart file clearly belongs to the
>
> application it starts just as a normal desktop file belongs to a
> package.
The authentication agent is not an application. It is part of the
desktop infrastructure.
I totally agree with you regarding desktop environments - for KDE/Gnome (even
LXDE, XFCE) I prefer "hardcoding" (gnome-session, autostart desktop file with
OnlyShowIn=KDE...) as it's integral core part of desktop. But we should also
take care about the corner cases - people who don't run any desktop env. - we
have to assure they have running and working polkit agent.
Jaroslav
--
Jaroslav Řezník <jreznik(a)redhat.com>
Software Engineer - Base Operating Systems Brno
Office: +420 532 294 275
Mobile: +420 602 797 774
Red Hat, Inc.
http://cz.redhat.com/