[GH-ISSUE #5437] freetube: enable KDE Plasma multimedia control (mpris) #2993

Closed
opened 2026-05-05 09:38:56 -06:00 by gitea-mirror · 7 comments
Owner

Originally created by @toby63 on GitHub (Oct 27, 2022).
Original GitHub issue: https://github.com/netblue30/firejail/issues/5437

KDE Plasma has a multimedia control applet, that I would like to use with FreeTube.
Without using firejail this works.

With Firefox and other applications it works also with firejail.
I think it has something to do with the dbus options.

Describe the solution you'd like

Describe alternatives you've considered

Additional context

Originally created by @toby63 on GitHub (Oct 27, 2022). Original GitHub issue: https://github.com/netblue30/firejail/issues/5437 ### Is your feature request related to a problem? Please describe. KDE Plasma has a multimedia control applet, that I would like to use with FreeTube. Without using firejail this works. With Firefox and other applications it works also with firejail. I think it has something to do with the dbus options. ### Describe the solution you'd like - ### Describe alternatives you've considered - ### Additional context -
Author
Owner

@rusty-snake commented on GitHub (Oct 27, 2022):

Can you try

ignore dbus-user none
dbus-user filter
dbus-user.own org.mpris.MediaPlayer2.chromium.*
dbus-user.own org.mpris.MediaPlayer2.freetube
<!-- gh-comment-id:1293987067 --> @rusty-snake commented on GitHub (Oct 27, 2022): Can you try ``` ignore dbus-user none dbus-user filter dbus-user.own org.mpris.MediaPlayer2.chromium.* dbus-user.own org.mpris.MediaPlayer2.freetube ```
Author
Owner

@toby63 commented on GitHub (Oct 27, 2022):

Can you try

ignore dbus-user none
dbus-user filter
dbus-user.own org.mpris.MediaPlayer2.chromium.*
dbus-user.own org.mpris.MediaPlayer2.freetube

I added it below the rest of the config file; log now shows:

Error: Cannot relax dbus-user policy, it is already set to block
Ignoring "dbus-user.own org.mpris.MediaPlayer2.chromium.*" and 1 other dbus-user filter rule.

<!-- gh-comment-id:1293992754 --> @toby63 commented on GitHub (Oct 27, 2022): > Can you try > > ``` > ignore dbus-user none > dbus-user filter > dbus-user.own org.mpris.MediaPlayer2.chromium.* > dbus-user.own org.mpris.MediaPlayer2.freetube > ``` I added it below the rest of the config file; log now shows: > Error: Cannot relax dbus-user policy, it is already set to block Ignoring "dbus-user.own org.mpris.MediaPlayer2.chromium.*" and 1 other dbus-user filter rule.
Author
Owner
<!-- gh-comment-id:1293996741 --> @rusty-snake commented on GitHub (Oct 27, 2022): You should never edit the profiles in /etc. Always use .locals. https://github.com/netblue30/firejail/wiki/Creating-overrides https://github.com/netblue30/firejail/wiki/Creating-Profiles https://firejail.wordpress.com/features-3/man-firejail-profile/
Author
Owner

@toby63 commented on GitHub (Oct 27, 2022):

I copied the profile to ~/.config/firejail, but will try locals now instead.

<!-- gh-comment-id:1293997492 --> @toby63 commented on GitHub (Oct 27, 2022): I copied the profile to ~/.config/firejail, but will try locals now instead.
Author
Owner

@toby63 commented on GitHub (Oct 27, 2022):

Now it works. Thx.

<!-- gh-comment-id:1294001235 --> @toby63 commented on GitHub (Oct 27, 2022): Now it works. Thx.
Author
Owner

@rusty-snake commented on GitHub (Oct 27, 2022):

Does it still work if you remove the dbus-user.own org.mpris.MediaPlayer2.chromium.* line?

<!-- gh-comment-id:1294003870 --> @rusty-snake commented on GitHub (Oct 27, 2022): Does it still work if you remove the `dbus-user.own org.mpris.MediaPlayer2.chromium.*` line?
Author
Owner

@toby63 commented on GitHub (Oct 27, 2022):

Does it still work if you remove the dbus-user.own org.mpris.MediaPlayer2.chromium.* line?

No doesn't work.

<!-- gh-comment-id:1294008969 --> @toby63 commented on GitHub (Oct 27, 2022): > Does it still work if you remove the `dbus-user.own org.mpris.MediaPlayer2.chromium.*` line? No doesn't work.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#2993
No description provided.