Since I have graphics errors and a buggy system under Wayland after the system has been reactivated from sleep mode, I’ve deactivated all these modes like it’s explained here: how-to-completely-disable-sleep-hibernate-and-fast-boot.
But it comes with the disadvantage of not having a function of the sleep button on my Razer-Keyboard anymore.
Does anyone know how to give it a shutdown-function instead ?
In the past I did the same in Windows and the sleep command of this button became in a miraculously way a shutdown command automatically.