Location of certain executables and shutdown scripts

Matt Morris matt at hannahandmatt.info
Wed Jul 26 09:50:12 UTC 2006


You can change those options somewhere in Preferences or
Administration. I can't remember exactly where as I'm not at home on
my Ubuntu box.


On 7/25/06, Derek Broughton <news at pointerstop.ca> wrote:
> Gabriel M Dragffy wrote:
>
> > When I press the power button on my laptop I would like it to shutdown
> > the system, but instead it brings up a menu asking if I want to
> > logout/switch user/suspend/hibernate etc. Then I select turn off and the
> > computer shuts down. What must I do to avoid the computer asking me
> > which action I wish to take?
> >
> > Next of all, what is the location of the suspend to ram script? And the
> > location of the hibernate script? Thank you in advance.
>
> Both questions depend on your installed power management. If you use
> acpi-support, then it should be somewhere under /etc/acpi.  If you use
> powersaved, then I think it's all just done by invoking "powersave" with
> the right options.  Using acpi-support I modified something like
> powerbtn.sh to do a shutdown or hibernate instead of "sleep", but given
> that you get a menu, I'm guessing yours is already doing something else.
> Now I use kpowersave, and /etc/powersave/events has been modified to make
> EVENT_BUTTON_POWER to do "suspend_to_disk" - if suspend to ram is
> supported, you could have it do that.
> --
> derek
>
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>




More information about the ubuntu-users mailing list