Pages

How to Add Shutdown/Hibernate Menus in Gnome 3 (for Fedora Core 15)

Gnome developers haven't forgot to include the "Shutdown" button/option from their desktop menu (accessed through the right-side corner in your desktop as anyone knows)... in fact in the name of better control over your GNU/Linux PC-Laptop desktop, they've decided to remove it!.

So, by default when you click on that corner we only have the ability to log-out of the system or suspend it, no hibernate or Shutdown functions are available. Although you can press the "Alt" key on your keyboard while accessing that menu which should change the "suspend" menu to "shutdown" (finally) but still, as far as I know you can't get that "hibernate" option.

This is typical Gnome behavior... although they do "explain" it by saying its their "job" to let users have the ability to control their desktop at its best, yet in truth...

Here's an important quote from one of the most prestigious software developers called, Joel...
"To make people happy, you have to let them feel like they are in control of their environment. To do this, you need to correctly interpret their actions..." Via: Joel on software.
Now I may sound like an arrogant assho*$ but I'm not (okay, I do have a little pride me self as well :P). In fact, if you read that post you'll be amazed by the depths that Joel takes you which is hell of an article/insights.

But at the end (you'll understand this if you read it) nobody gives a damn about yours or mine's "freedom". But at the end, we are all driven by this primary need to control others using our own "means", even if it's visible in the most subtlest sense, one way or the other.

Okay, enough of this shit, let me get back to the topic (that actually rhymed :P)

So, if you're looking for a way to add both these functions into your Gnome3 or the shell (I'm using FC15 for this example), then we can use one of the plugins that comes as a part of the excellent Gnome shell extensions called "alternative status menu" which does exactly that.

Finally!...
You can easily install this alternative status menu shell extension in Fedora Core 15 by using the below command in your Terminal (note:- if you've already installed the Shell extension pack, then this should be automatically installed).
yum install gnome-shell-extensions-alternative-status-menu
That's it. Now you should have both Shutdown and Hibernate options in that menu. Enjoy (I know you will :P).

20 comments:

  1. I've just run this command. But it doesn't work!

    ReplyDelete
  2. Ditto here. Not sure where you got that screenshot... Running a macbook (not pro) with Fedora 15 x86_64.

    To your credit, Gnome does say that this extension adds the ability to hibernate...

    http://live.gnome.org/GnomeShell/Extensions

    ReplyDelete
  3. @Ditto,

    Hey man... well, um... I never said it doesn't add the "hibernate" button..., what do you mean ? :/.

    ReplyDelete
  4. It does if you log out and then log back in

    ReplyDelete
  5. For me, it worked like a charm!

    THANKS! :D

    ReplyDelete
  6. @Fernando,

    Thanks for the appreciation dude :)...

    ReplyDelete
  7. For everyone that says this doesn't work. Do this

    Alt+f2, type in "r", hit enter.

    the shell will reload and there it is!

    ReplyDelete
  8. @Anonymous,

    Thank you, appreciate it :)...

    ReplyDelete
  9. I still can't get hibernate option it give me sleep and shutdown option, what can I do?

    ReplyDelete
  10. @Anonymous,

    Have you tried logging out and then logging in??

    ReplyDelete
  11. This didn't work for me. But what helped was installing gnome-tweak-tool after this. I then used it for setting "Alternative status menu extension" to ON in the Shell Extensions menu.

    Now I have a hibernate option.

    ReplyDelete
  12. @Anonymous,

    This post is a bit old now so this might not work always + there are decent amount of new Shell extensions these days which we can use to fix these issues.

    Anyhow, thanks for the update. Appreciate it :).

    ReplyDelete
  13. You have to activate it through gnome-tweak-tool

    ReplyDelete
  14. Gnome developer always hide the source code , tweaking is a daunting task for novice where kde offers it.
    Thanks now my fedora 17 is useable.

    ReplyDelete
  15. To enable the extension without gnome-tweak-tool
    use this command

    gsettings set org.gnome.shell enabled-extensions "['alternative-status-menu@gnome-shell-extensions.gcampax.github.com']"

    *NOTE: this command disables other extensions

    ReplyDelete
  16. @Anonymous,

    Thanks mate, appreciate it!.

    ReplyDelete
  17. No need to install any extension to enable power off option in gnome 3 just goto the user & then press ALT key ,it will display u the power off option

    Hope it works...!!! :)

    Thanks

    ReplyDelete