Package Details: desktop-privileges 0.5-4

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: 62
Popularity: 0.000000
First Submitted: 2010-11-05 18:50 (UTC)
Last Updated: 2024-05-31 10:00 (UTC)

Latest Comments

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

vnoel commented on 2012-11-04 13:31 (UTC)

@3V0LU710N: Alright, and what about the cpufreqselector rules? I guess they are not taken care of by logind... is it? But anyway, I kept the package installed and I kept my user in the power group, but cpufreq-selector asks for a password, so I guess there is something wrong. In my logs I have these errors: Error opening rules directory: Error opening directory '/usr/share/polkit-1/rules.d': Permission denied (g-file-error-quark, 2)

3V0LU710N commented on 2012-11-03 21:44 (UTC)

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 (UTC)

@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 (UTC)

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 (UTC)

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

3V0LU710N commented on 2012-10-23 13:08 (UTC)

@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

vnoel commented on 2012-10-22 09:42 (UTC)

Hi, would it be possible to support cpupower too? Thanks :)

3V0LU710N commented on 2012-10-07 22:01 (UTC)

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