English
Ask Your Question
3

How do I get the shutdown menu by pressing the power button in Fedora 16

asked 2011-11-11 19:45:54 +0000

Benjamin_L gravatar image

When pressing the power button in Fedora 16 nothing happens. Under Ubuntu I got the shutdown menu, in Fedora nothing happens.

edit retag flag offensive close merge delete

5 answers

Sort by ยป oldest newest most voted
3

answered 2011-11-11 21:03:25 +0000

bct gravatar image

updated 2011-11-11 22:23:15 +0000

In Gnome 2 there was something in the power settings I believe, can't find it for Gnome 3. This guide worked for me: https://wiki.archlinux.org/index.php/GNOME#Makethepowerbuttoninteractive

Here are the commands to issue (without the leading $ and # which are there to denote privileges):

# xhost +
# su - gdm -s /bin/bash
$ dbus-launch
$ `dbus-launch | sed "s/^/export /"`
$ GSETTINGS_BACKEND=dconf gsettings set org.gnome.settings-daemon.plugins.power button-power 'interactive'
$ GSETTINGS_BACKEND=dconf gsettings set org.gnome.settings-daemon.plugins.power button-hibernate 'interactive'
$ gsettings list-recursively org.gnome.settings-daemon.plugins.power
edit flag offensive delete link more

Comments

wow. that's way too complicated. there is absolutely no reason to expose your xhost to any client and no reason to srtart gdm. the only command you need is gsettings set org.gnome.settings-daemon.plugins.power button-power 'interactive'

gcb ( 2015-04-30 17:06:40 +0000 )edit
1

answered 2011-11-18 21:22:44 +0000

octavian gravatar image

In order to get the Power Shutdown selection menu in Fedora 16, you must download dconf-editor with sudo yum install dconf-editor

Once this is done, open dconf editor from gnome, and navigate to ORG/Gnome/Setting Daemon/Plugins/Power and then modify the action on power button to be "Interactive"

Hope this helps,

edit flag offensive delete link more
0

answered 2013-01-31 11:50:29 +0000

To make the Power Button Interactive in Fedora 16, you should download and install "dconf-editor" using the terminal command "sudo yum install dconf-editor"

Once this is done, open dconf-editor from gnome, and navigate to Org-> Gnome-> Settings-daemon-> Plugins-> Power Change "button-power" to "interactive" and exit.

Remember you need to repeat this process in every user of your PC. Now Re-Login and try to see if your PC is showing-up menu on pressing power button.

If that did not work then you need to edit a file called "power.sh" (or) "power.conf" present at "etc/acpi/actions/"

Here at the bottom you can find "shutdown -h now". Comment it out, save it and re-login. That's it, you are done. Now every time you press the power button you will be prompted with the menu.

edit flag offensive delete link more
0

answered 2011-11-15 15:09:14 +0000

I love Gnome 3 but disabling the hardware power button in F16 when it worked fine in F15 is just non-sensical. I hope this was a mistake in packaging f16 and not a gnome policy change. Suggesting that a solution is to press the alt key is just unhelpful. Gnome may decide how the desktop looks but I still want my hardware to work. If there is a logical argument for why this has been disabled, please point me towards it.

edit flag offensive delete link more

Comments

It is a upstream GNOME change and not a packaging issue. You will have to ask GNOME for rationale.

mether ( 2011-11-15 15:24:48 +0000 )edit
0

answered 2011-11-11 22:40:15 +0000

Come to user menu end press alt key from keyboard suspend button turning to shutdown button

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Use your votes!

  • Use the 30 daily voting points that you get!
  • Up-vote well framed questions that provide enough information to enable people provide answers.
  • Thank your helpers by up-voting their comments and answers. If a question you asked has been answered, accept the best answer by clicking on the checkbox on the left side of the answer.
  • Down-voting might cost you karma, but you should consider doing so for incorrect or clearly detrimental questions and answers.

Question Tools

Follow
3 followers

Stats

Asked: 2011-11-11 19:45:54 +0000

Seen: 27,900 times

Last updated: Jan 31 '13