mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #6544] anki: program fails to open because it requires mpv #3298
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#3298
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 @haplo on GitHub (Nov 12, 2024).
Original GitHub issue: https://github.com/netblue30/firejail/issues/6544
Description
Running anki with firejail breaks because it requires mpv.
Notice that anki is missing in
firecfg.config.Steps to Reproduce
firejail ankiExpected behavior
Anki UI opens and it works.
Actual behavior
Error window.
Behavior without a profile
It works.
Additional context
This error probably only happens when mpv is installed.
Environment
uname -srm): Linux 6.11.6-arch1-1 x86_64firejail --version): 0.9.72Checklist
/usr/bin/vlc) "fixes" it).https://github.com/netblue30/firejail/issues/1139)Log
Output of
LC_ALL=C firejail /usr/bin/ankiGist to debug log
@haplo commented on GitHub (Nov 13, 2024):
BTW the fix at #6545 is only the minimum to allow anki to start, but it still fails to record or play media. To fix the latter this is needed in
anki.local:@kmk3 Should this be in the main
anki.profile? Or commented out with pointers to the user to add toanki.localif media playing/recording is desired?@kmk3 commented on GitHub (Nov 13, 2024):
I'm not familiar with anki, but if playing/recording media is a common use case
then I think it would make sense to enable these lines by default.
By the way, does it use mpv to play just sound or also videos?
@haplo commented on GitHub (Nov 14, 2024):
It depends on the user, some will use media and others only text. But those expecting media to just work might be puzzled, as there is no error message in the UI when it fails to play, although there is one when it fails to record ('no microphone found").
I will add to the PR to enable these by default, with a comment on how to disable in
anki.localfor those users who don't need it.Both.