|
|
Log in / Subscribe / Register

GNOME != Fedora

GNOME != Fedora

Posted Nov 8, 2011 15:32 UTC (Tue) by mathstuf (subscriber, #69389)
In reply to: GNOME != Fedora by sciurus
Parent article: Rawhide gets GNOME Shell for all display types

Agreed. Finding information on polkit, upower, and udisks[1] has proven quite difficult. In early 2010, there was a single command to tell polkit that users are to use DBus to poke HAL into shutting down the machine. Since upower has taken over, I've had no programmatic way of shutting down my machines as non-root since there's no documentation on what keys polkit needs added to it to do the same thing.

Polkit documentation lists how to grant actions[2] which no longer exists. It allowed listing known actions which made it discoverable. AFAIK, there is nothing to replace that part of it. UPower docs[3] state that polkit controls the return value of org.freedesktop.UPower.SuspendAllowed...but offers nothing about what the 'action' for polkit is or how to change it with a polkit file.

[1]Strictly speaking, autofs is handling things for me rather than udisks and I don't see much reason why it would be better than a "* -fstype=auto,rw,noexec,relatime,nodev :/dev/&" (along with similar lines for fat and ntfs disks to set the uid) line.
[2]http://hal.freedesktop.org/docs/PolicyKit/polkit-auth.1.html
[3]http://upower.freedesktop.org/docs/UPower.html [4]
[4]As a side note, gtkdoc's habit of making tooltips *everywhere* on its documentation pages is very distracting.


to post comments


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds