Comment 51 for bug 255228

Revision history for this message
Peter Silva (peter-bsqt) wrote :

fwiw, If you go into /usr/share/polkit-1/actions
vi *power*
and find
<allow_active>yes</allow_active>

and change them all to no...

<allow_active>no</allow_active>

Then your sleep button is disabled. This is incredibly poorly documented. I have no idea what ''allow_inactive'' means, or what any of the stanzas are trying to convey, or why we have 7 languages in those XML files (I could understand 1 or 150, it's the seven I don't get.... what about standard i18n?) apparently there was a GUI in fedora 11 or something, but it got removed, and there we are...