Xwayland should not trigger screensavers per default
xss-lock on my Wayland setup to trigger a lock screen and realised a few things:
- If no activity is detected within
Xwayland, it will trigger the screensaver without any settings adjustments
Xwaylandhas no configuration file that it reads from, meaning if you want to turn off the default screensaver setting, you need to pass a command line parameter or after
Xwaylandhas started, run
xset s off
- Not many WMs that use
Xwaylandactually allow you to change the command line paramters for
Xwayland(sway and wlroots is my example)
Given how Xwayland is run (inside another WM) I would propose to change the default setting for triggering the screensaver event in Xwayland specifically (which I assume is inherited from Xserver) as if you're running Xwayland you probably have other tools to manage the idle time detection and you're most likely not in an Xwayland client all the time meaning that the triggering of the screensaver is unexpected behaviour?
Personally I do not use idle detection at all and rely on manually locking the screen which may be why I'm hitting this issue.
I'm also fine with if there's an upcoming change to introduce a configuration file for Xwayland however, as I realise that this is perhaps not "standard" or "intended" use.