2
votes
0answers
30 views

How can I suspend the way that ubuntu does?

I would like a command I could map to a button or execute within my network. So far I know the command sudo pm-suspend but I could not make pmi action suspend work on either 12.04 nor 14.04 : Error ...
0
votes
0answers
64 views

Keeping python alive through gnome 3 screen lock?

I've been through the ringer with this one the past few days. I wrote a script to re-target my Altcoin miner every once in a while. It builds a command string from API data grabbed at coinwarz.com on ...
2
votes
1answer
39 views

Screen randomly switches to console

I have the following problem with Ubuntu 13.04: GUI randomly switches to console mode. If I suspend and wake up, it is in GUI again. A related issue is when I switch to a different terminal (e.g. ...
1
vote
1answer
216 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
802 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
1k 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
328 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
480 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
547 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 ...
16
votes
2answers
9k 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
939 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
384 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
406 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 ...
105
votes
8answers
90k views

How can I suspend/hibernate from command line?

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