1
vote
1answer
31 views

How to programatically temporarily prevent standby mode while particular (cron) script is running?

I have a script launched by a cron from an Kubuntu 12.04.01 LTS laptop to NAS. The script simply contains an rsync command backing up the laptop. The problem is that if the system goes into standby ...
3
votes
1answer
82 views

Lock Terminal and Suspend from Terminal

I am trying to lock and suspend from the terminal. I tried: pmi action suspend | at now + 1 min And then typed exit But both that and vlock kill the running command. Is there a way to lock the ...
6
votes
3answers
501 views

How to inhibit suspend temporarily?

I have searched around a bit for this and can't seem to find anything helpful. I have my PC running Ubuntu 12.10 set up to suspend after 30 minutes of inactivity. I don't want to change that, it ...
2
votes
1answer
271 views

Terminal suspend on Ubuntu 8.04

I'm trying to put my old laptop into suspend mode through the terminal. Typing rtcwake -m disk -s 10 works in newer versions but in 8.04 I get: error /sys/class/rtc/rtc0/device/power/wakeup: No such ...
3
votes
1answer
387 views

Command line suspend for a pre-determined amount of time

How can I suspend from the command line for a pre-determined amount of time? For example, in the terminal i can do "pm-suspend", and that suspends the computer. But I want the computer to come out of ...
1
vote
1answer
324 views

$TERM set to “dumb” causes problems with suspend

I've just upgraded from 11.04 to 11.10. So far I love it, everything seems just so much snappier. Now I just have one minor issue. When I try to suspend my laptop, it doesn't work - instead it fades ...
10
votes
2answers
6k views

How can I hibernate/suspend from the command line and do so at a specific time and a relative time?

Ok,I managed to find out how to suspend/hibernate the system from the command line by reading How can I suspend/hibernate from command line?. However, I would like to know how to use the command line ...
5
votes
3answers
542 views

How do I inhibit suspend from the command line?

Is there a way to inhibit suspend/hibernate from the command line. I want to ssh into my home computer and not have it suspend while I'm working on it.
3
votes
2answers
328 views

Gnome 3 Shell suspend has me locked out of my computer

From Ubuntu 11.10, I installed Gnome 3 Shell on my desktop computer. I studied it for a while, and then looked for the button to close the shell, but found only a suspend button. I clicked it and it ...
0
votes
1answer
330 views

Suspending Ubuntu using terminal [duplicate]

Possible Duplicate: How can I suspend/hibernate from command line? How can I suspend Ubuntu using the terminal? Can I schedule it to "wake up"? Another thing that I wanted to know is ...
61
votes
6answers
41k views

How can I suspend/hibernate from command line?

How can I suspend or hibernate my laptop using command line, without installing additional software?