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 terminal and than get the computer to suspend using only Terminal commands?
pm-suspend
from thepm-utils
package? – Attila O. Feb 12 '13 at 02:09