mpv: improve and clarify comments (#5711)

This commit is contained in:
glitsj16 2023-03-09 11:11:02 +00:00 committed by GitHub
parent 8835b130e2
commit 0daa003e32
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,13 +11,13 @@ include globals.local
# edit ~/.config/mpv/foobar.conf:
# screenshot-directory=~/Pictures
# Mpv has a powerful lua-API, some off these lua-scripts interact
# with external resources which are blocked by firejail. In such cases
# you need to allow these resources by
# - adding additional binaries to private-bin
# mpv has a powerful Lua API and some of the Lua scripts interact with
# external resources which are blocked by firejail. In such cases you need to
# allow these resources by:
# - noblacklisting additional paths
# - whitelisting additional paths
# - noblacklisting paths
# - weaking the dbus-policy
# - adding additional binaries to private-bin
# - changing/weakening the D-Bus policy
# - ...
#
# Often these scripts require a shell:
@ -79,6 +79,8 @@ seccomp
seccomp.block-secondary
tracelog
# mpv links to libluajit, so no need to reference "lua*" in private-bin:
# https://github.com/netblue30/firejail/pull/5711#discussion_r1125622615
private-bin env,mpv,python*,waf,youtube-dl,yt-dlp
# private-cache causes slow OSD, see #2838
#private-cache