Wednesday, May 1, 2024
14
rated 0 times [  14] [ 0]  / answers: 1 / hits: 9929  / 3 Years ago, mon, july 12, 2021, 1:28:27

I would like to use a gesture to shutdown/restart my computer and I need to know the command that launches the shutdown dialog:



enter image description here


More From » command-line

 Answers
1

/usr/lib/indicator-session/gtk-logout-helper can be used to open the following dialogs:




  • Log Out (/usr/lib/indicator-session/gtk-logout-helper --logout)



    enter image description here


  • Restart (/usr/lib/indicator-session/gtk-logout-helper --restart)



    enter image description here


  • Shutdown (/usr/lib/indicator-session/gtk-logout-helper --shutdown)



    enter image description here



[#43060] Wednesday, July 14, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
percol

Total Points: 493
Total Questions: 116
Total Answers: 107

Location: Taiwan
Member since Mon, Sep 6, 2021
3 Years ago
;