Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

The logout screen in Lubuntu 12.04 has several options. I'd like to remove or inactivate the "suspend" and "hibernate" options. Is that possible?

logout screen

share|improve this question
up vote 1 down vote accepted

As far I as know you cannot remove/change them (unless you edit the source code and recompile).

To disable suspend / hibernate, you can edit /usr/share/polkit-1/actions/org.freedesktop.upower.policy.

After this the suspend / hibernate are still in the Lubuntu logout window, but if you click them they do nothing (other than lock you out and you need to re-enter the password).

The content that need to be edited is between <default> and </default> for both suspend and hibernate: change (a) <allow_inactive>no</allow_inactive> to <allow_inactive>yes</allow_inactive> and (b) <allow_active>yes</allow_active> to <allow_active>no</allow_active>.

It should be noted that these changes could be nullified by subsequent updates. A way to work around that is to set up a policy as described by the answers here.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.