linuxmint / cinnamon-session

The Cinnamon session manager
GNU General Public License v2.0
27 stars 36 forks source link

How can I set the default to "Suspend" instead of "Shut Down" when I press the power button? #150

Open Yekutiel opened 2 years ago

Yekutiel commented 2 years ago

When I use my laptop, pressing the power button causes the dialog, "Shut down this system now?" to appear.

Normally when I press the power button I would like the default to be Suspend, not Shut Down. In such a case, I would merely need to press the power button and then the enter button to suspend my computer.

rlatosky commented 1 year ago

Hi Yekutiel,

I think you can set the default action to Suspend by going into the Cinnamon settings -> Power Management -> Extra Options -> When the power button is pressed:

image

I tested this, and it suspends automatically whenever I press the power button.

Let me know if this helps.

Raytle commented 1 year ago

I would merely need to press the power button and then the enter button to suspend my computer.

rlatosky commented 1 year ago

If you set the action to "Ask" in the power management settings: image

You can then press [Alt] + [U] to quickly suspend the machine. I am not sure if you can set the suspend action as default when you press enter - I haven't found a way yet.

Raytle commented 1 year ago

Thank you!