Am Mittwoch, den 14.04.2010, 10:25 +0200 schrieb Jaroslav Reznik:
Hi Matthias. We were discussing polkit agent reorganization @ our kde sig meeting - cwickert joined us too [1]. Could you clarify autostart of the agent? I agree it should be task for desktop as it's now core component and I don't see need for users to change this configuration.
I do. Xfce for example has no agent ATM, so users should be free to choose ether polkit-gnome or lxpolkit. This could be easily done it we allowed installing them individually. The choice which one is started could be easily done graphically in the session properties.
If I understood Matthias correctly he wants the desktop to autostart the agent and have it hardcoded somewhere. IMHO this is a step in the wrong direction as it takes the user the freedom to decide what he wants to use.
But other question is - what about desktops without own polkit or even standalone wms? Another point is autostart desktop file - if the agent is going to be started by autostart desktop file, this autostart belongs to agent and should be distributed together in the agent package.
+1
Could be ShowOnlyIn option considered as the correct way to achieve no autostarting in other desktops?
IMO yes. And IMO we still need packages that use polkit require PolicyKit-authentication-agent because otherwise a user of say openbox or icewm wont get a working package.
Regards, Christoph