My keyboard has a command with which you can turn off the PC.
How do I change functionality on that button?
Thanks in advance.
I'd suggest to use
xmodmap to rebind that button.
Alternatively, there is also