On my old laptop, I was able to turn off the screen by pressing FN + BRIGHTNESS DOWN until it reached 0 when I was running Linux Mint. Now, I want to replicate this on Ubuntu 20.04 with Wayland, but I cannot replicate the methods shown in other posts like this and this.
xset dpms force offdoesn't work on Wayland,xrandrdoesn't actually turn off the monitor backlight,- Setting screen saver
dbus-sendshows no effect and also doesn't turn off the screen, echo 0 > /sys/class/backlight/intel_backlight/brightnessworks, but is hard to undo and might not work when switching to the NVidia card - and it requiresroot,- Locking the screen with
CTRL + Lalso turns off the screen immediately, but it often turns itself on just a few minutes later for no obvious reason.
When I use the FN keys that control the brightness, which method is used to set the screen brightness? Wouldn't it be possible to simply modify the key binding in a way that it reduces the brightness to 0 instead of 15 (in my case)? And is it known why the screen turns itself on after a short time after being locked?