FS#42557 - [polkit-gnome] Include an autostart file.

Attached to Project: Community Packages
Opened by James (JRMoore) - Sunday, 26 October 2014, 01:13 GMT
Last edited by Balló György (City-busz) - Sunday, 26 October 2014, 23:11 GMT
Task Type Feature Request
Category Packages
Status Closed
Assigned To Balló György (City-busz)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

I'm an XFCE user and I have just installed an Arch system. After installing most things I was stuck for a while being unable to mount external disks within Thunar until I realized that this PolicyKit agent doesn't autostart.

There's a desktop entry provided with it that supposedly only shows up in GNOME, is it supposed to be the autostart file? What is the purpose of that file?

I'd like to request an autostart file to be added, it would be similar to the current desktop file provided in the package although it would be in /etc/xdg/autostart. I have added an example on how its contents could be (adapted from here: http://www.linuxfromscratch.org/blfs/view/svn/gnome/polkit-gnome.html).
This task depends upon

Closed by  Balló György (City-busz)
Sunday, 26 October 2014, 23:11 GMT
Reason for closing:  Won't implement
Comment by Balló György (City-busz) - Sunday, 26 October 2014, 05:26 GMT
It was an upstream decision:
https://git.gnome.org/browse/PolicyKit-gnome/commit/?id=47ca445decf21b8de13d804b870d6ce171bad306

I don't want to add an autostart file to this package, because it vary on the actual desktop environment. Most desktop environments have their own polkit authentication agent, but Xfce has no one. You have multiple choices as described here:
https://wiki.archlinux.org/index.php/Polkit#Authentication_agents

But you can request the maintainer of Xfce to add a dependency and an autostart file for a polkit authentication agent in the xfce4-session package. E.g. Fedora uses polkit-gnome in Xfce:
http://pkgs.fedoraproject.org/cgit/xfce4-session.git/tree/polkit-gnome-authentication-agent-1.desktop
Comment by James (JRMoore) - Sunday, 26 October 2014, 09:13 GMT
Oh... I see, the developers chose to leave it to the user to start the agent long ago.

How is GNOME handling it? I don't see any dependence on this package save cinnamon.
Comment by Balló György (City-busz) - Sunday, 26 October 2014, 16:01 GMT
GNOME uses another polkit agent built in gnome-shell. Cinnamon autostart it (part of its required components)-
Comment by James (JRMoore) - Sunday, 26 October 2014, 21:26 GMT
Thank you for the info, this feature request can be closed.

I'll enter a feature request for xfce4-session to open a debate about it and see if it would be appropriate or not, to me it makes sense but there may be other things into consideration.
Comment by Balló György (City-busz) - Sunday, 26 October 2014, 23:11 GMT
Okay.

Loading...