티스토리 뷰
Shutdown directly:
dbus-send --system --print-reply --dest=org.freedesktop.login1 /org/freedesktop/login1 "org.freedesktop.login1.Manager.PowerOff" boolean:true
Reboot directly:
dbus-send --system --print-reply --dest=org.freedesktop.login1 /org/freedesktop/login1 "org.freedesktop.login1.Manager.Reboot" boolean:true
Sleep directly:
dbus-send --system --print-reply --dest=org.freedesktop.login1 /org/freedesktop/login1 "org.freedesktop.login1.Manager.Suspend" boolean:true
What is the command for the shutdown dialogue in Loki?
I asked the same question for Freya but in Loki the situation is different, none of the two dialogues can be triggered with those commands. gnome-session-quit --power-off used to trigger this dial...
elementaryos.stackexchange.com
'Linux' 카테고리의 다른 글
Code::Blocks 17.12 PPA (0) | 2019.08.27 |
---|---|
시그널의 종류 (0) | 2019.08.25 |
exec 함수 (0) | 2019.08.24 |
wait(), waitpid() (0) | 2019.08.24 |
umask() (0) | 2019.08.22 |