Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Power Button Enabled To Do Shutdown?

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: Power Button Enabled To Do Shutdown?

#16 Post by debiman »

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
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Power Button Enabled To Do Shutdown?

#17 Post by GarryRicketson »

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.

shinobi
Posts: 14
Joined: 2017-08-17 00:21

Re: Power Button Enabled To Do Shutdown?

#18 Post by shinobi »

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.

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: Power Button Enabled To Do Shutdown?

#19 Post by debiman »

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.

Post Reply