You are not logged in.

#1 Yesterday 11:29:00

Mkants
Member
Registered: Yesterday
Posts: 3

Power button doesn't work

Desktop Environment is KDE Plasma 6.6.2.
I setted power button function to "Turn off the screen".
I pressed power button, but the screen didn't turn off.
This issue occurs other functions.

I asked AI, Grok and Gemini.

Edit "/etc/systemd/logind.conf".

#Delete commentout
HandlePowerKey=ignore

But it didn't fix the issue.

Offline

#2 Yesterday 12:03:15

5hridhyan
Member
From: Asia
Registered: 2025-12-25
Posts: 298

Re: Power button doesn't work

https://wiki.archlinux.org/title/Acpid# … _the_event
does it actually registers?

Last edited by 5hridhyan (Yesterday 12:11:09)


I expect some mercy from my fellow humans! ^^
Keep your virtue sharpened in a kingdom of carrion, and the throne they offer will be built from your ribs.

Offline

#3 Yesterday 13:08:38

Mkants
Member
Registered: Yesterday
Posts: 3

Re: Power button doesn't work

There wasn't acpid, so I installed acpid package.

I tried to register it, but I don't know how to turn off screen with commands.

Offline

#4 Yesterday 18:43:09

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,365

Re: Power button doesn't work

I think what 5hridhyan wanted to know was whether acpi_listen picks up the power button.

Offline

#5 Today 00:37:42

Mkants
Member
Registered: Yesterday
Posts: 3

Re: Power button doesn't work

$ acpi_listen
# Press power button
button/power PBTN 00000080 00000000
button/power LNXPWRBN:00 00000080 00000001

acpi_listen recognites power button actions.

Offline

#6 Today 04:22:58

5hridhyan
Member
From: Asia
Registered: 2025-12-25
Posts: 298

Re: Power button doesn't work

sorry for the confusion earlier, thanks seth for clarifying the @OP,  Mkants, can share the output of these?

loginctl seat-status seat0
grep HandlePowerKey /etc/systemd/logind.conf
ps aux | grep powerdevil

I expect some mercy from my fellow humans! ^^
Keep your virtue sharpened in a kingdom of carrion, and the throne they offer will be built from your ribs.

Offline

Board footer

Powered by FluxBB