You are not logged in.
For some reason XF86Sleep button on my keyboard cannot be assigned to something else. I've already tried disabling sleep mode with "xset s 0 0" and "xset -dpms" but this did not help. Any ideas how to fix this? Thank you!
Last edited by NullRoute (2020-05-08 14:15:07)
Offline
"…assigned to something else"… other than what?
In which environment?
Assigned how?
What happens instead?
Do you read the key in "xev -events keyboard"?
Offline
@seth;
Q: other than what?
A. other than XF86Sleep :-)
Q: In which environment?
A: XFCE4
Q: Assigned how?
A: That what I was asking.
Q: What happens instead?
A: When sleep key pressed on keyboard it suspends the system.
Q: Do you read the key in "xev -events keyboard"?
A: No longer needed.
I found workaround myself. Simply edit this following config:
# nano /etc/systemd/sleep.conf
AllowSuspend=NoReload systemd config:
# systemctl daemon-reloadAnd now I can re-asign my XF86Sleep key to anything I want.
By simply going to XFCE-Menu => Settings => Keyboard.
Now when I press sleep button on my keyboard nothing happens. Just what I needed ^_^
Last edited by NullRoute (2020-05-08 14:15:33)
Offline