Re: iBook power button calls shutdown/restart dialog
Sjoerd Simons wrote:
On Mon, Nov 20, 2006 at 11:41:51AM +0000, James Dunn wrote:
I would like my iBook power button to call the shut down / restart
dialog within gnome when it is pressed.. Can someone tell me how to do
this? I've searched all over the internet to no avail. The keycode is
222, according to xev. Do I need to use something like xmodmap..?
Just installing gnome-power-manager should work. I'm not sure what the default
is but you can configure the power button to either shutdown/suspend the
machine or ask you what to do.
I see that the latest version of gnome-power-manager is running by
default but I only have options for "Running on AC", "Running on
battery" and "General" which include things like "put display to sleep"
and "put computer to sleep", etc.. No power button config option.