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