1

I know I can shutdown from commandline - without a password: What command is executed when shutdown from the graphical menu in 14.04? but I can't see how to open the shutdown GUI. Is this possible?

Tim
  • 32,274
  • 27
  • 118
  • 177

1 Answers1

3
  • Shutdown:

    /usr/lib/indicator-session/gtk-logout-helper --shutdown
    
  • Reboot

    /usr/lib/indicator-session/gtk-logout-helper --restart
    
  • Logout

    /usr/lib/indicator-session/gtk-logout-helper --logout
    

You can also use another dialog:

gnome-session-quit --power-off

Maythux
  • 82,867
  • 54
  • 239
  • 271