Package Details: desktop-privileges 0.5-3

Git Clone URL: https://aur.archlinux.org/desktop-privileges.git (read-only, click to copy)
Package Base: desktop-privileges
Description: A collection of polkit rules to manage automounting of removable media, suspend and hibernate actions and CPU frequency settings.
Upstream URL: https://aur.archlinux.org/packages/desktop-privileges/
Licenses: GPL
Conflicts: polkit-automount-upower-rules
Replaces: polkit-automount-upower-rules
Submitter: uwinkelvos
Maintainer: flying-sheep
Last Packager: flying-sheep
Votes: 63
Popularity: 0.000252
First Submitted: 2010-11-05 18:50
Last Updated: 2017-09-22 15:03

Latest Comments

« First ‹ Previous 1 2 3 4 5 Next › Last »

3V0LU710N commented on 2012-11-03 21:44

p.s.: I almost forgot: You don't need to remove these rules, (if you want to), but now it seems most of the mount functions are properly done by loginctl.

3V0LU710N commented on 2012-11-03 21:39

@vnoel: Well, after removing this package (as a test), it seems logind currently manages _MOST_ of the mount rules put in this package. The only exception that didn't work seems to be mounting local drives, which still asked me for a password. (but for that you can always put your local mounts on fstab, so they can be mounted at boot time).

Btw, this package might still be useful for users that don't want to use systemd (which is not my case), aren't using loginctl / display managers (slim, kdm, gdm, lxdm, etc.) or people that didn't/don't want to upgrade polkit to 0.107.

As such, I'll maintain this package in a "dormant" state unless someone asks me for new polkit rules... or someone is interested in taking (it) over.

Cheers

vnoel commented on 2012-11-03 12:30

Hi again, another question:

Now that archlinux uses logind by default, it seems that we get some of the functionality of this package for free, as explained there: https://wiki.archlinux.org/index.php/SystemD#Supplementary_information
Do we thus need to remove the udisk rules and pkla?

Or did I misunderstood it?

vnoel commented on 2012-10-23 14:57

Ok, I see the idea, thank you for your answer :)

3V0LU710N commented on 2012-10-23 13:08

@vnoel: For that I'm afraid I can't create a polkit rule, as cpupower doesn't depend on polkit...

I'd recommend you to create a custom sudo rule, so, when you type "sudo cpupower <something>", you don't have to type a password...

Cheers

p.s.: Here's a sample of a custom sudo line:

%power ALL=(ALL) NOPASSWD: /sbin/poweroff

3V0LU710N commented on 2012-10-23 13:08

@vnoel: For that I'm afraid I can't create a polkit rule, as cpupower doesn't depend on polkit...

I'd recommend you to create a custom sudo rule, so, when you type "sudo cpupower <something>", you don't have to type a password...

Cheers

p.s.: Here's an sample of a custom sudo line:

%power ALL=(ALL) NOPASSWD: /sbin/poweroff

vnoel commented on 2012-10-22 09:42

Hi, would it be possible to support cpupower too?

Thanks :)

3V0LU710N commented on 2012-10-07 22:01

Version 0.4-2: Includes the fixes mentioned by TheJJ (thanks for the tip).

If you want some new rules to be added (eg. for upower), please let me know...

Cheers

3V0LU710N commented on 2012-10-05 16:31

@TheJJ: Thank you for the warning, I'll fix the package after coming back from my holidays next monday... =)

Cheers

TheJJ commented on 2012-10-05 08:40

directory permissions have to be like this, otherwise this package breaks polkit:
/usr/share/polkit-1/ 755
/usr/share/polkit-1/rules.d/ 700