You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug and expected behavior
Firefox fails to inhibit screen blanking or screensavers while playing videos using the default profile. This is because the profile does not allow screensaver inhibiton via DBus (org.freedesktop.ScreenSaver)
The issue is resolved by adding dbus-user.talk org.freedesktop.ScreenSaver to /etc/firejail/firefox.local
No profile and disabling firejail
Works fine without a profile
Reproduce
Steps to reproduce the behavior:
Set screensaver or screen blanking duration.
Run in bash firejail firefox and watch a video (e.g. on YouTube)
Screen switches to screensaver or blanks after duration without user interaction while the video is still playing
Environment
Arch Linux with GNOME 3.38.1
firejail version 0.9.64
Additional context
dbus-monitor --session reports the following necessary calls for screensaver inhibition:
Proposed solution
Add dbus-user.talk org.freedesktop.ScreenSaver to the default profile or selectively allow the Inhibit/UnInhibit methods using dbus-user.call. I think the second one would be a better solution but i failed to write a rule for that. I tried something like dbus-user.call org.freedesktop.ScreenSaver=org.freedesktop.ScreenSaver.Inhibit@/ScreenSaver but that seems to be invalid?
Checklist
The upstream profile (and redirect profile if exists) have no changes fixing it.
The program has a profile. (If not, request one in https://github.com/netblue30/firejail/issues/1139)
Programs needed for interaction are listed in the profile.
A short search for duplicates was performed.
[NA] If it is a AppImage, --profile=PROFILENAME is used to set the right profile.
The text was updated successfully, but these errors were encountered:
dbus-user.call org.freedesktop.ScreenSaver=org.freedesktop.ScreenSaver.Inhibit@/org/freedesktop/ScreenSaver seems to work. However call and broadcast rules are terrible to maintain without #3412/#3424.
Bug and expected behavior
Firefox fails to inhibit screen blanking or screensavers while playing videos using the default profile. This is because the profile does not allow screensaver inhibiton via DBus (org.freedesktop.ScreenSaver)
The issue is resolved by adding
dbus-user.talk org.freedesktop.ScreenSaver
to /etc/firejail/firefox.localNo profile and disabling firejail
Works fine without a profile
Reproduce
Steps to reproduce the behavior:
firejail firefox
and watch a video (e.g. on YouTube)Environment
Additional context
dbus-monitor --session reports the following necessary calls for screensaver inhibition:
Proposed solution
Add
dbus-user.talk org.freedesktop.ScreenSaver
to the default profile or selectively allow the Inhibit/UnInhibit methods using dbus-user.call. I think the second one would be a better solution but i failed to write a rule for that. I tried something likedbus-user.call org.freedesktop.ScreenSaver=org.freedesktop.ScreenSaver.Inhibit@/ScreenSaver
but that seems to be invalid?Checklist
https://github.com/netblue30/firejail/issues/1139
)--profile=PROFILENAME
is used to set the right profile.The text was updated successfully, but these errors were encountered: