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.000213
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-09-23 13:49

Version 0.4-1: New rules added due to upcoming polkit 0.107 changes (great, now polkit rules are made in ECMAScript (aka JavaScript) -_-). Please test the new rules and give me some feedback about them.

Cheers

3V0LU710N commented on 2012-08-01 00:23

Version 0.3-3: new pkgrel version. If you're already using version 0.3-2, you don't need to update.

Changes in the package description and added myself as the current AUR package maintainer...

Cheers

3V0LU710N commented on 2012-06-30 18:44

I'll adopt this package temporarly until uwinkelvos returns...

Cheers

3V0LU710N commented on 2012-05-27 21:53

Well, I've just tried your upgraded package and so far so good. Ejecting removable / optical media is working as expected using both udisks1 and udisks2. Also, mounting / unmounting of USB disks / internal drives is working without asking for a password... ATA SMART rules seem to be correct... :)

At the moment, I don't have any more suggestions but if I find something useful that can be added, I'll tell you...

Cheers

p.s.: I'll also put your package as a depend for my "udisks2-mount" one (https://aur.archlinux.org/packages.php?ID=59456)... :)

anonymous_user commented on 2012-05-27 17:52

Ok I fixed the typo and added the additional actions for udisks2. Also I added similar actions for udisks. Please let me if know if they work or not or even if you think they're unnecessary.

3V0LU710N commented on 2012-05-24 21:08

Greetings! I've just tested your polkit rules for udisks2. Currently, they've been working properly for mounting/umounting usb disks... but I've seen what can possibly be a (small) typo in the rules:

"org.freedesktop.udisks2.ata-smart*" -> Shouldn't it be "org.freedesktop.udisks2.ata-smart-*" instead?

Additionaly (as a suggestion), you could also add to this package some features like, for instance, some org.freedesktop.eject-* rules and/or rules for encrypted drives (e.g. LUKS).

Here are my previous custom rules I was using for udisks2: ;-)

[Storage Permissions]
Identity=unix-group:storage
Action=org.freedesktop.udisks2.filesystem-mount;org.freedesktop.udisks2.filesystem-mount-other-seat;org.freedesktop.udisks2.encrypted-unlock;org.freedesktop.udisks2.encrypted-unlock-other-seat;org.freedesktop.udisks2.eject-media;org.freedesktop.udisks2.eject-media-other-seat
ResultAny=yes
ResultActive=yes
ResultInactive=no

Hope this helps you... Cheers and thanks for the package!

3V0LU710N commented on 2012-05-24 21:07

Greetings! I've just tested your polkit rules for udisks2. Currently, they've been working properly for mounting/umounting usb disks... but I've seen what can possibly be a (small) typo in the rules:

"org.freedesktop.udisks2.ata-smart*" -> Shouldn't it be "org.freedesktop.udisks2.ata-smart-*" instead?

Additionaly (as a suggestion), you could also add to this package some features like, for instance, some org.freedesktop.eject-* rules and/or rules for encrypted drives (e.g. LUKS).

Here are my previous custom rules I had for udisks2: ;-)

[Storage Permissions]
Identity=unix-group:storage
Action=org.freedesktop.udisks2.filesystem-mount;org.freedesktop.udisks2.filesystem-mount-other-seat;org.freedesktop.udisks2.encrypted-unlock;org.freedesktop.udisks2.encrypted-unlock-other-seat;org.freedesktop.udisks2.eject-media;org.freedesktop.udisks2.eject-media-other-seat
ResultAny=yes
ResultActive=yes
ResultInactive=no

Hope this helps you... Cheers and thanks for the package!

anonymous_user commented on 2012-05-24 15:10

Ok I've added a rule file for udisks2 and also changed the directory from /etc/polkit-1/... to /var/lib/polkit-1/... Please test the new package and let me know how it works.

anonymous_user commented on 2012-05-24 15:07

Ok I've added a rule file for udisk2 and also changed the directory from /etc/polkit-1/... to /var/lib/polkit/... Please test the new package and let me know how it works.

3V0LU710N commented on 2012-05-24 13:30

Hi uwinkelvos. I've just installed your desktop-privileges package. It's very interesting, works pretty well and allows us non-DE users (Openbox, etc.) to mount our removable drives / maange cpufreq without any problems. :)

I'd like to propose you to add in your next release of this package some mount rules for udisks2, like the ones I've on my AUR udisks2-mount package: https://aur.archlinux.org/packages.php?ID=59456. (As such, I'd orphan my udisks2-mount package)...

Have some nice holidays...

Cheers