I want to log out, restart, shutdown, or what else with Unity, pressing "Super" and typing "log out" or something. Is it possible?
2 Answers
You can use terminal for this as -
To shutdown
sudo shutdown -h now
To reboot
sudo reboot
or
sudo shutdown -r now
To log out
gnome-session-quit
or
gnome-session-save --force-logout
-
1That's not what I want, but Thank You. I want to press "Super" and type "Log Out" for example.– LloopleCommented Nov 27, 2013 at 21:35
-
I don't have
gnome-session-save
but maybegnome-session-quit
is the same? Commented Feb 25, 2015 at 21:41 -
1However, trying to log out with
gnome-session-quit
leads to this error:** (gnome-session-quit:2764): WARNING **: Failed to call logout: The name org.gnome.SessionManager was not provided by any .service files
Commented Feb 25, 2015 at 21:54
Logout Using Super + L
For Reboot type in the terminal:
sudo reboot now
- For Shutdown type in the terminal:
sudo shutdown now