Page 1 of 1

Hey Quick question<SOLVED>

Posted: Wed Feb 20, 2013 3:32 am
by Pigeek
On the Mate desktop environment If I press ctrl-alt-del I get the shutdown dialog.

Now the main question, Is there any way to restore that behavior to the Cinnamon desktop environment.

Any suggestions are appreciated.

Re: Hey Quick question

Posted: Wed Feb 20, 2013 3:39 am
by catweazel
Pigeek wrote:On the Mate desktop environment If I press ctrl-alt-del I get the shutdown dialog.

Now the main question, Is there any way to restore that behavior to the Cinnamon desktop environment.

Any suggestions are appreciated.
The keyboard app lets you specify custom shortcuts so you could try that. There is no default for shutdown so you'll have to disable or change the logout shortcut, which is what ctrl+alt-del is mapped to.

Re: Hey Quick question

Posted: Wed Feb 20, 2013 4:28 am
by Pigeek
OK, but what do I link the new shortcut to?

Re: Hey Quick question

Posted: Wed Feb 20, 2013 4:45 am
by catweazel
Pigeek wrote:OK, but what do I link the new shortcut to?
I may have given you dodgy information. I tried it on my system but it doesn't work. I would have suggested mapping 'sudo shutdown now' but it's not working.

My apologies for the bum steer.

Re: Hey Quick question

Posted: Wed Feb 20, 2013 4:58 am
by Pigeek
It's totally fine, but there has to be a way to manually invoke that box, I just don't know how.

Re: Hey Quick question

Posted: Thu Feb 21, 2013 5:22 am
by Pigeek
Well I found that if I run this in a terminal

Code: Select all

'/usr/bin/gnome-session-quit' --power-off
It pops up the box I want, yet if I clear the logout shortcut and set this to any keyboard combination, It will not run when I use said combination.

Any other suggestions would be appreciated.

Re: Hey Quick question

Posted: Thu Feb 21, 2013 5:25 am
by catweazel
Pigeek wrote:It will not run when I use said combination.
That's what happened when I tried it :?

Re: Hey Quick question

Posted: Thu Feb 21, 2013 5:34 am
by Pigeek
I know it runs in alt-f2, so how does the keyboard shortcut run it so that it won't work?

Re: Hey Quick question

Posted: Thu Feb 21, 2013 5:35 am
by AlbertP
You can also press the power button of your computer to get this dialog on Cinnamon.

Re: Hey Quick question

Posted: Thu Feb 21, 2013 5:38 am
by Pigeek
AlbertP wrote:You can also press the power button of your computer to get this dialog on Cinnamon.
True, maybe I am being too picky, but I like being able to crtl-alt-del enter and shut down my pc in a smoother fashion, yet if it is mate and that or cinnamon I still will use cinnamon

Re: Hey Quick question

Posted: Thu Feb 21, 2013 5:40 am
by AlbertP
Are using Mint 14's default Cinnamon version, or are you on Mint 13 perhaps?

Re: Hey Quick question

Posted: Thu Feb 21, 2013 5:42 am
by Pigeek
Mint 14 cinnamon, up to date via the update manager

Re: Hey Quick question

Posted: Thu Feb 21, 2013 6:14 am
by AlbertP
The Ctrl-Alt-Del shortcut is already in use for logout: Cinnamon Settings > Keyboard > Shortcuts tab > System (at the left). You'll probably need to unset that if you want to use a custom shortcut to gnome-session-quit --power-off with the same key combination.

You can unset it by selecting the Ctrl-Alt-Delete text and then pressing Backspace.

Re: Hey Quick question

Posted: Thu Feb 21, 2013 6:20 am
by catweazel
AlbertP wrote:You can unset it by selecting the Ctrl-Alt-Delete text and then pressing Backspace.
Even when that was done it didn't work for me.

Re: Hey Quick question

Posted: Thu Feb 21, 2013 6:22 am
by AlbertP
Have you already tried logging out and back in after adding the shortcut for gnome-session-quit --power-off?

Re: Hey Quick question

Posted: Thu Feb 21, 2013 10:57 am
by Pigeek
AlbertP wrote:Have you already tried logging out and back in after adding the shortcut for gnome-session-quit --power-off?
I did a full reboot and yes I did clear the logout shortcut.

Re: Hey Quick question

Posted: Sun Feb 24, 2013 1:34 am
by Pigeek
Ok, never mind it appears to be a known bug
https://bugs.launchpad.net/linuxmint/+bug/1077930
with a known workaround
http://forums.linuxmint.com/viewtopic.p ... 20#p655476

Thanks for all the suggestions.