How can I bring up the shutdown menu of Cinnamon via command line?
Note: I don't want the user menu. This menu for switching or logging out a user is brought up via Ctrl+Alt+Del.
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.
Sign up to join this communityHow can I bring up the shutdown menu of Cinnamon via command line?
Note: I don't want the user menu. This menu for switching or logging out a user is brought up via Ctrl+Alt+Del.
I am using Linux Mint Cinnamon 17.2, Rafaela. I have my own keyboard shortcut assigned for the shutdown menu. The keyboard shortcut works perfectly fine on this version. It is the same command as the other answer. The man page for cinnamon-session-quit
also has some other options such as --logout
for the logout menu.
cinnamon-session-quit --power-off
yep, but
cinnamon-session-quit --power-off
works only from terminal an not from shortcuts (this is still uncertain since I didn't reboot yet)
I am currently using Linux Mint Debian Edition (LMDE) 2 and I can confirm that
cinnamon-session-quit --power-off
can be used as a command in custom shortcuts (System Settings -> Keyboard -> Shortcut -> Custom Shortcuts).
But it should be easier to set the "Shut Down" shortcut (in System Settings -> Keyboard -> Shortcut -> System -> Shut Down)...
sudo shutdown now
?