Monday, May 6, 2024
14
rated 0 times [  14] [ 0]  / answers: 1 / hits: 9932  / 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
percol questions
Thu, Sep 29, 22, 07:42, 2 Years ago
Sat, Jul 16, 22, 21:00, 2 Years ago
Tue, May 30, 23, 19:16, 1 Year ago
Wed, Aug 18, 21, 02:15, 3 Years ago
;