티스토리 뷰

Linux

Elementary OS 명령줄 종료

정든친구 2019. 8. 25. 10:22

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

 

 

https://elementaryos.stackexchange.com/questions/7825/what-is-the-command-for-the-shutdown-dialogue-in-loki/8288

 

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
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2025/05   »
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
글 보관함