View previous topic :: View next topic |
Author |
Message |
joefish Guru
Joined: 27 Jan 2004 Posts: 316 Location: New Zealand
|
Posted: Thu Sep 30, 2010 9:32 am Post subject: [solved] Suspend from command line? |
|
|
I can suspend to ram by choosing 'sleep' from KDE's leave menu, which works without issue.
Let's say I'm running something from the command line, and want to sleep/suspend after it's completed. Which command to use?
eg '# emerge -uND world; sleep'.
Thanks.
Last edited by joefish on Fri Oct 01, 2010 3:28 am; edited 1 time in total |
|
Back to top |
|
|
xaviermiller Bodhisattva
Joined: 23 Jul 2004 Posts: 8710 Location: ~Brussels - Belgique
|
Posted: Thu Sep 30, 2010 9:48 am Post subject: |
|
|
hibernate-ram (suspend to RAM) or hibernate (suspend to disk) _________________ Kind regards,
Xavier Miller |
|
Back to top |
|
|
joefish Guru
Joined: 27 Jan 2004 Posts: 316 Location: New Zealand
|
Posted: Thu Sep 30, 2010 7:46 pm Post subject: |
|
|
Thanks, but I don't have those commands. I'm sure I could install something else to get them, but there must be a way to use KDE's already built in functionality to do this? |
|
Back to top |
|
|
Gusar Advocate
Joined: 09 Apr 2005 Posts: 2665 Location: Slovenia
|
Posted: Thu Sep 30, 2010 10:25 pm Post subject: |
|
|
KDE is probably using pm-utils via HAL. pm-utils comes with "pm-suspend" and "pm-hibernate" |
|
Back to top |
|
|
joefish Guru
Joined: 27 Jan 2004 Posts: 316 Location: New Zealand
|
Posted: Fri Oct 01, 2010 3:28 am Post subject: |
|
|
Thanks, pm-suspend did the trick. |
|
Back to top |
|
|
|