Linked Questions

27 votes
2 answers
139k views

What is the command for sleep/hibernate? [duplicate]

Possible Duplicate: How can I suspend/hibernate from command line? I have an Acre Aspire One and this netbook does not have a sleep function on the key board and with the removal of the hibernate ...
powell4076's user avatar
5 votes
3 answers
11k views

Allow "root" program to run without privileges [duplicate]

I've changed my ctrl-alt-l shortcut so instead of just locking the screen, the system goes into suspend. (for reference, the command is gksudo pm-suspend-hybrid) as you can see, the program needs to ...
jackweirdy's user avatar
  • 3,440
2 votes
1 answer
3k views

How to suspend from the command line in gnome 3.14 [duplicate]

I'm aware of this post: How can I suspend/hibernate from command line? however, the recommended method using dbus doesn't work with Gnome Shell 3.14.0. What is the now recommended approach for ...
fmic_'s user avatar
  • 188
0 votes
1 answer
657 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 whether ...
infoquad's user avatar
  • 857
104 votes
11 answers
172k views

How do I lock the screen from a terminal? [duplicate]

I am using Ubuntu 12.04. Is there any way to lock the screen or session from a terminal command or script?
Raja G's user avatar
  • 102k
92 votes
7 answers
121k views

How do I lock the desktop screen via command line?

How can I lock my desktop screen from the command line?
Renjith G's user avatar
  • 3,553
43 votes
3 answers
40k views

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

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 to ...
Ederico's user avatar
  • 6,097
28 votes
2 answers
30k views

Suspend command in Ubuntu 16.04

In Ubuntu 14.04 I used to use the following command to suspend the computer as a user without root privileges: dbus-send --system --print-reply --dest="org.freedesktop.UPower" \ /org/freedesktop/...
tmt's user avatar
  • 1,029
16 votes
1 answer
18k views

What is the screen locking mechanism under KDE?

I installed KDE desktop on my Ubuntu: root@DESKTOP:/var/log# dpkg -l|fgrep -i kde-plasma-desktop ii kde-plasma-desktop 5:63ubuntu16 the KDE Plasma ...
LanceBaynes's user avatar
  • 1,055
8 votes
6 answers
7k views

How to create keyboard shortcut which initiates suspend

When I was running the Unity shell I was able to do Fn + F1 and get my machine to suspend, however now that I am running Gnome Shell, when I do this keyboard shortcut, absolutely nothing happens, so I ...
user avatar
17 votes
1 answer
12k views

What command is executed when shutdown from the graphical menu in 14.04?

I understand that clicking "shut down" from the menu that comes up on clicking the cogwheel triggers the following command to be executed: dbus-send --system --print-reply --dest=org.freedesktop.Hal /...
jobin's user avatar
  • 27.7k
12 votes
2 answers
9k views

13.10 hangs on waking from suspend except when suspended from console

I know waking from suspend is an issue, but this looks like a separate bug. When I suspend 13.10 on HP Pavillion dv6 (AMD 6770M/fglrx 13.10.10) from x, it suspends normally but freezes when waking. I ...
Pavel's user avatar
  • 1,456
12 votes
3 answers
24k views

How to properly suspend via command

I found two working versions to properly suspend my notebook to RAM. $ dbus-send --system --print-reply \ --dest=org.freedesktop.login1 /org/freedesktop/login1 \ "org.freedesktop.login1.Manager....
cytopia's user avatar
  • 233
9 votes
2 answers
11k views

How can I configure dbus to allow ssh-user to suspend server?

I try to suspend my server using dbus and UPower. The server runs Ubuntu LucidLynx 64bit. While everything works fine if I am sitting directly at the machine, it won't work via ssh. If I connect to ...
Produnis's user avatar
  • 1,747
10 votes
4 answers
7k views

How to suspend from command line such that screen is locked?

I'm using Xubuntu 12.04. In the Power Manager, I have checked Extended -> Lock screen when going for suspend/hibernate. If I choose to suspend from the main menu / Panel 1, the screen is locked. ...
Marius Hofert's user avatar

15 30 50 per page