Power Button Enabled To Do Shutdown?

If none of the more specific forums is the right place to ask

Re: Power Button Enabled To Do Shutdown?

Postby debiman » 2017-09-14 17:35

RickyTerzis wrote:As per my knowledge there is little consistency across distributions at the hardware level.

i don't even know what that's supposed to mean.

anyhow, you should take the time to formulate your problem description, then search for it, apply what you found, and when that doesn't help, and only then, start your own thread.
User avatar
debiman
 
Posts: 1341
Joined: 2013-03-12 07:18

Re: Power Button Enabled To Do Shutdown?

Postby GarryRicketson » 2017-09-14 18:13

I suppose it may vary depending on hardware, on my Desktop, and also
on some laptops, just "pushing" the power button once, and briefly , 1 short "push", will either do a re-boot or just a "sleep" mode, to completely shutdown,
power off, I need to push and hold the button, almost 5 seconds, then it will completely shut-down.
On any remote system, obviously ssh is the only option, but even on a machine
that I have access to, ssh is a good option,... I have had computers that had a damaged switch, the button simply would not work, and no keyboard, ssh is a good option, or simply "pull the plug", not a good method and can cause damage.
User avatar
GarryRicketson
 
Posts: 4279
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Power Button Enabled To Do Shutdown?

Postby shinobi » 2017-09-28 03:40

Right, I found the same behavior, even if I disable suspend in GNOME settings or Tweak Tool or whatever, even from the command-line... nothing actually works correctly. As you found, the power button invokes suspend. What is really frustrating is Windows OS has consistently supported hardware power management, i.e. Power button control for over a decade. And Red Hat OS (RHEL and CentOS) has trapped Ctrl-Alt-Del to invoke Shutdown as well. But the various Linux distributions can't seem to do anything consistently.
shinobi
 
Posts: 14
Joined: 2017-08-17 00:21

Re: Power Button Enabled To Do Shutdown?

Postby debiman » 2017-09-28 07:06

shinobi wrote:What is really frustrating is Windows OS has consistently supported hardware power management, i.e. Power button control for over a decade. And Red Hat OS (RHEL and CentOS) has trapped Ctrl-Alt-Del to invoke Shutdown as well. But the various Linux distributions can't seem to do anything consistently.

another "everything-is-better-on-windows" comment ...
makes me wonder why they use linux at all, if it's so frustrating.
to me, using windows is very, very frustrating (on the rare occasions i'm forced to use it - surely not at home).

but, i will agree on a general note: "the various Linux distributions" are indeed very diverse. some would consider that a feature, not a bug.
User avatar
debiman
 
Posts: 1341
Joined: 2013-03-12 07:18

Previous

Return to General Questions

Who is online

Users browsing this forum: No registered users and 9 guests

fashionable