[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Gnome power manager + custom suspend script

David Purton wrote:
> Hi all,
> What is the proper way to use custom suspend scripts with gnome power
> manager?
> Current, I call my custom script from
> /usr/lib/hal/scripts/hal-system-power-suspend
> This works, but the changes get overwritten every time this file is
> upgraded...
> (I need a custom script, because my laptop will not suspend with
> whatever the default is. Beats me why. I use a script from here
> http://www.linux.com/feature/114220
> It's pretty generic, so why the defaut gnome one can't do this seems
> odd.

Use pm-utils.

See http://en.opensuse.org/Pm-utils -> "Creating your own hooks".
or the pm-suspend man page.


Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature

Reply to: