Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#71443 - suspend keypress send twice
Attached to Project:
Arch Linux
Opened by Karl Meier (lolbaum) - Sunday, 04 July 2021, 15:48 GMT
Last edited by Andreas Radke (AndyRTR) - Saturday, 10 July 2021, 07:11 GMT
Opened by Karl Meier (lolbaum) - Sunday, 04 July 2021, 15:48 GMT
Last edited by Andreas Radke (AndyRTR) - Saturday, 10 July 2021, 07:11 GMT
|
DetailsI made a hotkey for `systemctl suspend` or `systemctl hibernate` in dwm. However after I power my PC back on again, it suspend a second time. This is not an issue of the systemctl command, the same problem with `echo mem > /sys/power/state`. It is also not a dwm problem, same issue with sxhkd on keypress event. However if sxhkd executes the command on key release, it works fine. On Gentoo I didn't have this problem. I used an elogind command because I was using openrc as init system.
I think a keypress event is sent after suspend/hibernate for all the keys pressed before suspend, so the hotkey executes twice. |
This task depends upon
Comment by Andreas Radke (AndyRTR) -
Sunday, 04 July 2021, 18:08 GMT
Please try a different kernel branch (-lts) or some older systemd. Maybe also some intel/AMD firmware. You need to find out what package causes your issue. Check and provide your log files. Right now this is a generic issue. Please use IRC/forum for generic help.