You are not logged in.
Pages: 1
Is there a way to invoke pm-suspend using HAL from the command line? I'm looking for a way to suspend from the CLI (or from a window manager's menu) without invoking sudo...
Offline
Alright, I've tried running /usr/lib/hal/scripts/linux/hal-system-power-suspend-linux, and nothing happens... How do I do this? Anyone?
Offline
You could always try using the following:
# echo mem > /sys/power/state
I do that from time to time, and it works. As you've might have guessed, it does suspend to ram. Should be possible to do suspend to disk too, by using "disk" instead of "mem", but i've never got that working right.
Edit: Sorry, didn't quite catch that it had to be via HAL, please disregard this post if it's irrelevant.
Last edited by kalasmannen (2008-07-22 03:14:19)
Offline
It's alright... Looks like I'm stuck with lxsession or sudo for now, anyway - the FD.O devs seem to have placed a command line interface for HAL PM functions on very low priority, for some reason, so it doesn't exist yet.
Offline
Pages: 1