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?
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
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
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> for both suspend and hibernate: change (a)
<allow_inactive>yes</allow_inactive> and (b)
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.