adjusting shutdown entry in session applet
NoOp
glgxg at sbcglobal.net
Wed Dec 9 22:22:45 UTC 2009
On 12/08/2009 10:43 PM, Daniel Convissor wrote:
> Hola:
>
> Another of my launchpad questions fell flat and I'm hoping the people
> here may know what to do here, please.
>
> I am using the GNOME Ubuntu Desktop in 9.10/Karmic. The list of actions
> in the indicator-applet-session includes "Shut Down." That option powers
> off the machine (shutdown -P). I would like to change jit to halt
> (shutdown -H). How can this be done, please?
I've not tested (so modify at your own risk), but I _think_ that you can
modify the Ctrl-Alt-Delete setting in /etc/event.d/control-alt-delete to
use shutdown -H instead of it's default setting:
> # control-alt-delete - emergency keypress handling
> #
> # This task is run whenever the Control-Alt-Delete key combination is
> # pressed. Usually used to shut down the machine.
>
> start on control-alt-delete
>
> exec /sbin/shutdown -r now "Control-Alt-Delete pressed"
So perhaps modifing the last line to read:
exec /sbin/shutdown -H now "Control-Alt-Delete pressed"
*Maybe* that will at least give you a quick & easy way to 'shutdown -H'.
Again, I've not tested & won't be able to for a few more hours. If you'd
like to wait for awhile (I'm working on customers Win machines just now)
I'll test it for you on one of my test machines.
>
> Also, is it possible for me to remove the "Hibernate" option from the
> list?
I'm pretty sure it is possible, but unfortunately I don't have any idea
of how to do it (just yet).
...
More information about the ubuntu-users
mailing list