Hey Quick question<SOLVED>

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Pigeek

Hey Quick question<SOLVED>

Post 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.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
catweazel
Level 19
Level 19
Posts: 9763
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: Hey Quick question

Post 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.
"There is, ultimately, only one truth -- cogito, ergo sum -- everything else is an assumption." - Me, my swansong.
Pigeek

Re: Hey Quick question

Post by Pigeek »

OK, but what do I link the new shortcut to?
User avatar
catweazel
Level 19
Level 19
Posts: 9763
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: Hey Quick question

Post 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.
"There is, ultimately, only one truth -- cogito, ergo sum -- everything else is an assumption." - Me, my swansong.
Pigeek

Re: Hey Quick question

Post by Pigeek »

It's totally fine, but there has to be a way to manually invoke that box, I just don't know how.
Pigeek

Re: Hey Quick question

Post 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.
User avatar
catweazel
Level 19
Level 19
Posts: 9763
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: Hey Quick question

Post by catweazel »

Pigeek wrote:It will not run when I use said combination.
That's what happened when I tried it :?
"There is, ultimately, only one truth -- cogito, ergo sum -- everything else is an assumption." - Me, my swansong.
Pigeek

Re: Hey Quick question

Post by Pigeek »

I know it runs in alt-f2, so how does the keyboard shortcut run it so that it won't work?
AlbertP
Level 16
Level 16
Posts: 6701
Joined: Sun Jan 30, 2011 12:38 pm
Location: Utrecht, The Netherlands

Re: Hey Quick question

Post by AlbertP »

You can also press the power button of your computer to get this dialog on Cinnamon.
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
Pigeek

Re: Hey Quick question

Post 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
AlbertP
Level 16
Level 16
Posts: 6701
Joined: Sun Jan 30, 2011 12:38 pm
Location: Utrecht, The Netherlands

Re: Hey Quick question

Post by AlbertP »

Are using Mint 14's default Cinnamon version, or are you on Mint 13 perhaps?
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
Pigeek

Re: Hey Quick question

Post by Pigeek »

Mint 14 cinnamon, up to date via the update manager
AlbertP
Level 16
Level 16
Posts: 6701
Joined: Sun Jan 30, 2011 12:38 pm
Location: Utrecht, The Netherlands

Re: Hey Quick question

Post 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.
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
User avatar
catweazel
Level 19
Level 19
Posts: 9763
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: Hey Quick question

Post 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.
"There is, ultimately, only one truth -- cogito, ergo sum -- everything else is an assumption." - Me, my swansong.
AlbertP
Level 16
Level 16
Posts: 6701
Joined: Sun Jan 30, 2011 12:38 pm
Location: Utrecht, The Netherlands

Re: Hey Quick question

Post by AlbertP »

Have you already tried logging out and back in after adding the shortcut for gnome-session-quit --power-off?
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
Pigeek

Re: Hey Quick question

Post 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.
Pigeek

Re: Hey Quick question

Post 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.
Locked

Return to “Beginner Questions”