-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG]: Screensaver inhabitation does not disable lock screen #12169
Comments
Not a bug. If your system doesn't support the |
@F0bes My system supports org.freedesktop.ScreenSaver, but this does NOT inhibit the lock screen. This affects common Desktop environments like GNOME, MATE and Unity. |
So, the screensaver inhibition works, but it still ends up locking? |
Correct. Screensaver and screen-locking are different processes apparently. |
I'm going to spin up a Manjaro Gnome VM and give this a try. |
That's incredibly backwards. If the C gsettings library is trivial to add, I suppose we should try and use it. |
I can try to integrate it in the next weeks and look if that works, but this will take some time, please leave the bug open. |
The OP suggested that Gnome potentially experiences the same problem ("This affects common Desktop environments like GNOME, MATE and Unity"), but testing I've done seems to disprove that. I installed a VM using Manjaro Gnome and set up PCSX2. Using 'Inhibit screensaver', the screen will not blank and subsequently lock (mouse and keyboard were physically switched off). Turning off 'Inhibit screensaver', this happens within the expected amount of time (the default of 5 minutes). Thus, Gnome appears unaffected. |
I can confirm that I am able to replicate this issue on Fedora Mate. |
Maybe this is more of a MATE issue rather than our issue. |
@TheLastRar has pointed out that RPCS3 encountered the same issue and managed to fix it, and it does appear to be MATE-specific. RPCS3/rpcs3#11033 |
RPCS3/rpcs3#11034 |
I will have a look if this fix would work in PCSX2 as well and create a PR if it worked. |
The last commit to mate screen saver was months ago. A PR that would fix this has not been reviewed or responded to by maintainers. |
MATE Desktop is not unmaintained software. Other projects like VLC, Gnomecast, Printrun, ExMplayer, XScreensaver, Veyon, MythTV etc. use either |
I said mate-screensaver appears to be unmaintained. |
Describe the Bug
Screensaver inhabitation does not disable lock screen
Reproduction Steps
I am using PCSX2 2.2.0 on Gentoo GNU/Linux, the official Portage ebuild. My display manager is LightDM 1.32.0 and I use MATE Screensaver 1.28.0 for the lock screen. screensaver-timeout is not set in
/etc/lightdm/lightdm-gtk-greeter.conf
, so it defaults to 5 minutes.MATE Screensaver uses gsettings and not dbus.
Inhibit screensaver is ticked on:
Expected Behavior
The lock screen should be inhibited when "Inhibit screensaver" is checked.
The following script can be used to disable the lock screen (code copied from https://github.com/canonical/lightdm/blob/main/debian/guest-session-auto.sh)
PCSX2 Revision
v2.2.0
Operating System
Linux (64bit) - Specify distro below
If Linux - Specify Distro
Gentoo
Logs & Dumps
OpenType support missing for "DejaVu Sans", script 11
MESA-INTEL: warning: Haswell Vulkan support is incomplete
The text was updated successfully, but these errors were encountered: