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?
Asked
Active
Viewed 708 times
1
-
The accepted answer is way out of date, but the last answer is correct, AFAIK. – muru Jul 10 '15 at 10:27
-
@muru this is not working for ubuntu 14.04 – Maythux Jul 10 '15 at 10:28
-
@Tim what is your Version? – Maythux Jul 10 '15 at 10:29
-
@Tim Ok good, For me it doesn't work – Maythux Jul 10 '15 at 10:31
-
@Maythux worked fine for me on 14.04 too. – muru Jul 10 '15 at 10:33
-
@muru, It's something crazy!! I have two machines 14.04 one virtual and other physical and none of them works! while works for 12.04 smoothly!! I have to investigate to know the problem. Thanks for your feedback – Maythux Jul 10 '15 at 10:34
1 Answers
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
- 84,289