How to Get Restart Option in Shutdown Menu in Unity


The dropdown menu I get when I click on the gear link in the top right corner only shows these options:

  • Lock Computer
  • Logout
  • Suspend
  • Hibernate
  • Shutdown

There is no "restart" or "reboot".

How can I make that option available?

Bonus question: Can I remove Hibernate, Lock, and Suspend?

Best Answer

The removal of the Restart menu item was a deliberate design decision - and to enforce this the developers actually removed the code...

Thus - the gconf/dconf entry...

enter image description here

... is actually a redundant entry that should have/but hasnt been removed.

To get the restart menu option back you will need to download the source code (oneiric v0.3.7 at the time of writing this) and to add back the code that was removed...

Fortunately #post11 of the bug report gave some example code of how to make the menu option reappear. If you want to go down this route - you'll need to manually merge in the changes since the diff patch no longer marry up with the current code content.

Happy compiling :)

Related Question