You are not logged in.
I'd like to create a keyboard shortcut for shutdown dialog; it's the dialog that appears when press your username (top-right corner) and then select "Shut down..." option. There was "gnome-session-save --shutdown-dialog" or something similar in Gnome 2 (or so it seems by reading forum posts), but the same command doesn't exist in Gnome 3.
I'm not rebooting or shutting down my OS a lot, but when I do, I'm automatically trying to press some keyboard shortcut.
Offline
Hi !
Try gnome-session-quit :
gnome-session-quit --power-off
I believe in a world I can and do understand. A rational universe, explained through rational means.
Offline
I started digging around more and found this option in System Settings/Power: "When the power button is pressed: Ask me". But, it doesn't work for me, because OS doesn't detect power button on my thinkpad. So it seems that I have to install acpid, but I still need to know the command for Gnome's shutdown dialog.
EDIT:
Hi !
Try gnome-session-quit :gnome-session-quit --power-off
Thanks, that works! I didn't see your comment before I posted mine.
Last edited by Camus (2011-07-18 20:31:19)
Offline