mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #3822] rhythmbox: media keys do not work #2407
Labels
No labels
LTS merge
LTS merge
bug
bug
converted-to-discussion
doc-todo
documentation
duplicate
enhancement
file-transfer
firecfg
firejail-in-firejail
firetools
graphics
help wanted
information_old
installation
invalid
modif
moved
needinfo
networking
notabug
notourbug
old-version
overlayfs
packaging
profile-request
pull-request
question
question_old
removal
runtime-permissions
sandbox-ipc
security
stale
wiki
wiki
wontfix
wordpress
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/firejail#2407
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @reinerh on GitHub (Dec 15, 2020).
Original GitHub issue: https://github.com/netblue30/firejail/issues/3822
Someone reported at #977455 that meda keys (play, pause, next, ...) are not working when using Rhythmbox in firejail. He assumes that it might be related to dbus filtering.
Does someone know how this could be debugged, or is even able to reproduce it?
@rusty-snake commented on GitHub (Dec 15, 2020):
Works for me.
Rhythmbox: 3.4.4
OS: Fedora-32
GNOME: 3.36.8
rhythmbox.local:
We have
org.mpris.MediaPlayer2.rhythmbox,org.gnome.UPnP.MediaServer2.Rhythmboxandorg.gnome.SettingsDaemon.MediaKeysin the profile.If D-Bus is the problem,
firejail --ignore="dbus-user filter" rhythmboxshould work.Other guesses:
EDIT: D-Bus errors are usually printed to the terminal (GTK just says failed, while KDE also says what failed). (AT-SPI is expected to fail).
@eighthave commented on GitHub (Jan 12, 2021):
Media keys seem to work after reboot for a while. I think what breaks it is if another app steals the media key. For example, if Chromium is playing a YouTube video, the media key are sent to that instead of Rhythmbox. After that happens, Rhythmbox cannot receive them again. Running with
firejail --ignore="dbus-user filter" rhythmboxdid fix the media keys in this state.Some more debug info:
firejail rhythmboxcrashes with a massive amount of these messages:/usr/bin/rhythmboxworksfirejail --ignore="dbus-user filter" rhythmboxworksfirejail rhythmbox --disable-pluginsworks, but without media keys (provided by MPRIS plugins)@rusty-snake commented on GitHub (May 12, 2021):
Any progress here?