-
Notifications
You must be signed in to change notification settings - Fork 98
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
Blocking ScreenSaver doesn't work. Spam in logs #472
Comments
Hello, I've found the same issue to be true for my installation on Void Linux. But the difference is that I use X11/Xorg. SystemInfo: local/xdg-desktop-portal 1.18.2-1 Error from $HOME/.xsession-errors:
@guilty-p01nt3r, maybe change the title to make clear that blocking the screensaver is not working? |
This isn't really actionable. Yes you need a service that handles |
Although we could probably remove |
Seems kinda stupid to have so much indirection in a simple action of inhibition, why call xdp if you can just directly call that fdp dbus handle? that ofc probably just calls systemd inhibit's dbus api or perhaps the wayland one...so much unnecessary complexity, zero added benefit, just breaks things when the 5 or so different apps aren't exactly on the same page. |
Because you can't. This is required for sandboxed applications. |
Same issue on openSUSE Tumbleweed on Xorg + i3 setup. Not your regular "heavy" desktop environment. |
I also have the same issue in my Xorg + i3 setup. Screen automatically goes to sleep after about 5-10 minutes and xautolock handles the screen locking so I have no need for any other screensaver service. |
Hi, I noticed the portal spams the following message in logs :
Backend call failed: Cannot invoke method; proxy is for the well-known name org.freedesktop.ScreenSaver without an owner, and proxy was constructed with the G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START flag
I tried to investigate with dbus-monitor. It seems linked to a "Disabling ScreenSaver when an action is performed" case.
I can reproduce it just by pressing play on a YouTube video. It seems it's trying to prevent ScreenSaver to happen while watching the video, but fail to do so.
Did I miss some dependency or something ?
SystemInfo:
OS: Arch Linux
Kernel: 6.7.9-zen1-1-zen
WM: sway 1:1.9-1
local/xdg-desktop-portal 1.18.2-1
local/xdg-desktop-portal-gtk 1.15.1-1
local/xdg-desktop-portal-wlr 0.7.0-2
This is the dbus.log of the isolated case:
dbus.log
The text was updated successfully, but these errors were encountered: