firejail prevents Firefox from deactivating screen dimming during video watch C
While watching videos on Youtube I have to periodically press some buttons to keep LCD backlit on if Firefox is firejailed. If Firefox isn't firejailed, the backlit stays on. firejail: 0.9.64.4 Firefox: all versions past last couple of years Distro: Gentoo linux current stable
~/.config/firejail/firefox.profile:
include firefox.local
include globals.local
noblacklist ${HOME}/.cache/mozilla
noblacklist ${HOME}/.mozilla
mkdir ${HOME}/.cache/mozilla/firefox
mkdir ${HOME}/.mozilla
whitelist ${HOME}/.cache/mozilla/firefox
whitelist ${HOME}/.mozilla
whitelist ${HOME}/.local/share/data/qBittorrent
whitelist ${HOME}/downloads
whitelist ${RUNUSER}/org.keepassxc.KeePassXC.BrowserServer
whitelist ${RUNUSER}/kpxc_server
whitelist /tmp/krb5cc_1000
include firefox-common.profile
Did a search through the internet, but found nothing corresponding to this problem.
2 Answer:
I had to add the whole section, to make this work:
dbus-user filter
dbus-user.own org.mozilla.Firefox.*
dbus-user.own org.mozilla.firefox.*
dbus-user.own org.mpris.MediaPlayer2.firefox.*
# Enable native notifications.
dbus-user.talk org.freedesktop.Notifications
# Allow to inhibit screensavers
dbus-user.talk org.freedesktop.ScreenSaver
# Plasma browser integration
dbus-user.own org.mpris.MediaPlayer2.plasma-browser-integration
dbus-user.talk org.kde.JobViewServer
dbus-user.talk org.kde.kuiserver
ignore dbus-user none
Thank you, rusty-snake for pointing this out.
Read next
- PowerToys Keyboard remapping works after the fact C#
- [FEATURE] Auto restart of prometheus-msteams pod when the entry from hashicorp vault is synced - prometheus-msteams
- ShareX Screen recording options (virtual-audio-capturer) - no work C#
- swoole-src swSocket_set_buffer_size#329: setsockopt(4, SOL_SOCKET, SO_SNDBUF, 8388608) failed. Error: No buffer space available[55]. - Cplusplus
- tensorflow The repository 'file:/var/nccl-repo-2.2.13-ga-cuda9.2 Release' no longer has a Release file. Ubuntu-18.04 - Cplusplus
- electron Print issue on Electron from v7 - Print only works once (window.print()) - Cplusplus
- lotus Move bootstrap nodes to configuration Go
- orleans Is it possible to use the Azure Gateway type without Azure Cloud Services / AzureSilo ? C#