I'm a newbie to ubuntu. i'm using ubuntu 16.04 on my desktop.

Recently I found a way to add 'hibernation' option to menu on

I tried it and was successful. But how to undo the changes I have made with nano and remove the 'hibernate' option from menu?

  • 1
    Please add what you did (each command) and we can help you. Like this it is mainly guesswork (use history in command line to track commands you used and copy/paste them into the question ;) )
    – Rinzwind
    Oct 9 '16 at 16:34
  • Which instruction you followed?
    – Anwar
    Oct 9 '16 at 16:41

It depends on how you enabled hibernation on your Ubuntu. For example, If you followed this instruction https://askubuntu.com/a/487282/61218, All you need to do is to delete the file /etc/polkit-1/localauthority.conf.d/52-enable-hibernation.conf.

The command to delete that file will be

sudo rm /etc/polkit-1/localauthority.conf.d/52-enable-hibernation.conf

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.