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...

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/788415

Title:
  Can't disable suspend button

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-power-manager/+bug/788415/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to