Le Mon, May 08, 2023 at 08:58:24AM +0100, Laurence Tratt a écrit : > Installing meta/xfce installs xfce4-screensaver. However, xfce4-screensaver > seems to have the unfortunate behaviour of messing with the user's X > screensaver settings, even when the screensaver is disabled in XFCE. This > caused me a certain amount of head-scratching when my `.xsession` loaded > `xidle` but no matter what idle times I used, another timeout was used -- > which, AFAICS, is the timeout set by xfce4-screensaver. In other words, > `xidle -timeout <n>` did not respect `n`, although `xidle` did still run its > sub-command (just at a timeout other than `n`).
what do you mean by "screensaver is disabled in XFCE" ? process not running, process running, disabled how/where ? Fwiw, you can disable xfce4-screensaver by unticking it in "autostarted applications" in xfce4-session-settings. that should prevent it from autostarting with the session, allowing you to use whatever you like from .xsession. if it's not the case, then yes there might be a bug somewhere. > As part of this, I tried using xfce4-screensaver as a screensaver, but it > doesn't notice suspend, and after resume you can often see the full contents > of the desktop for several seconds (and, I think, you might even be able to > get a mouse click / keyboard event in there if you're quick, though I haven't > tried). > > I ended up deinstalling xfce4-screensaver because of this, which also means I > had to uninstall meta/xfce. That's made me wonder whether, given that it > doesn't seem to play well with OpenBSD, installing xfce4-screensaver as part > of meta/xfce is the right thing to do or not? In a sense, the packages > installed as part of a meta-package are "recommended", but I ended up unsure > that xfce4-screensaver is something that we want to recommend to users on > OpenBSD at the moment. If it has bugs on OpenBSD, don't hesitate to report them upstream ;) there's a *lot* of code shared with (now removed) gnome-screensaver and mate-screensaver, so might be a good idea to compare behaviour. xfce4-power-manager might also come into play, if you're on a laptop and running it. Landry