Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] Suspend from command line?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
joefish
Guru
Guru


Joined: 27 Jan 2004
Posts: 316
Location: New Zealand

PostPosted: Thu Sep 30, 2010 9:32 am    Post subject: [solved] Suspend from command line? Reply with quote

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
View user's profile Send private message
xaviermiller
Bodhisattva
Bodhisattva


Joined: 23 Jul 2004
Posts: 8710
Location: ~Brussels - Belgique

PostPosted: Thu Sep 30, 2010 9:48 am    Post subject: Reply with quote

hibernate-ram (suspend to RAM) or hibernate (suspend to disk)
_________________
Kind regards,
Xavier Miller
Back to top
View user's profile Send private message
joefish
Guru
Guru


Joined: 27 Jan 2004
Posts: 316
Location: New Zealand

PostPosted: Thu Sep 30, 2010 7:46 pm    Post subject: Reply with quote

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
View user's profile Send private message
Gusar
Advocate
Advocate


Joined: 09 Apr 2005
Posts: 2665
Location: Slovenia

PostPosted: Thu Sep 30, 2010 10:25 pm    Post subject: Reply with quote

KDE is probably using pm-utils via HAL. pm-utils comes with "pm-suspend" and "pm-hibernate"
Back to top
View user's profile Send private message
joefish
Guru
Guru


Joined: 27 Jan 2004
Posts: 316
Location: New Zealand

PostPosted: Fri Oct 01, 2010 3:28 am    Post subject: Reply with quote

Thanks, pm-suspend did the trick.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum