You are not logged in.

#1 2013-10-28 14:12:55

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

[solved] Cinnamon - Show shutdown menu when pressing power button

Hello there,

Does your interactive shutdown menu show up when pressing the power button on your laptop?

I think, I configured it correctly (see dconf settings below) but instead of showing the menu, my X session gets killed and the machine shuts down.

dconf-settings: http://i.imgur.com/eOAcroO.png

Is anyone else experiencing this?

Last edited by orschiro (2014-01-11 12:17:14)

Offline

#2 2014-01-08 20:49:14

Jack_CM
Member
Registered: 2012-02-10
Posts: 55

Re: [solved] Cinnamon - Show shutdown menu when pressing power button

Hello, I'm having the same issue and, by searching on Google, I found your post. Did you have any luck with that?

Offline

#3 2014-01-08 21:20:40

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

Re: [solved] Cinnamon - Show shutdown menu when pressing power button

@Jack_CM

It has been a while that I switched to Openbox. And I am not quite sure anymore how I fixed the issue.

But how do you start cinnamon? Via xinitrc? Have you ever tried a display manager?

Offline

#4 2014-01-09 09:02:18

Jack_CM
Member
Registered: 2012-02-10
Posts: 55

Re: [solved] Cinnamon - Show shutdown menu when pressing power button

@orschiro
I do use a display manager (I tried several of them, sddm, gdm, mdm..), but I still have this problem.

Offline

#5 2014-01-09 11:15:21

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

Re: [solved] Cinnamon - Show shutdown menu when pressing power button

Sorry, then I cannot help you, I am afraid.

Offline

#6 2014-01-09 15:37:05

Hurricane
Member
Registered: 2012-10-18
Posts: 77

Re: [solved] Cinnamon - Show shutdown menu when pressing power button

There should be a line for that in /etc/systemd/logind.conf (which is the service that controls shutdown, suspend, and etc.).
You need to find the action for pressing the power button and set it equal to ignore so it can bypass the service and let Cinnamon handle it. It's also probably commented out so uncomment it as well.
Once you do that, restart the service using the following:

# systemctl restart systemd-logind

Computers are extra dumb, which is why it takes extra smart people to make them work.

Offline

#7 2014-01-11 12:16:02

Jack_CM
Member
Registered: 2012-02-10
Posts: 55

Re: [solved] Cinnamon - Show shutdown menu when pressing power button

@Hurricane
Replacing  #HandlePowerKey=poweroff with HandlePowerKey=ignore worked like a charm! thanks
For me this is solved, but I did not open this post though

Offline

#8 2014-01-11 12:17:04

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

Re: [solved] Cinnamon - Show shutdown menu when pressing power button

@Hurricane

Indeed thanks. Now I remember that I have done that, too. smile

Marked as solved.

Offline

Board footer

Powered by FluxBB