aboutsummaryrefslogtreecommitdiffstats
path: root/etc/profile-m-z/mpv.profile
diff options
context:
space:
mode:
Diffstat (limited to 'etc/profile-m-z/mpv.profile')
-rw-r--r--etc/profile-m-z/mpv.profile16
1 files changed, 9 insertions, 7 deletions
diff --git a/etc/profile-m-z/mpv.profile b/etc/profile-m-z/mpv.profile
index c9706999a..85f414562 100644
--- a/etc/profile-m-z/mpv.profile
+++ b/etc/profile-m-z/mpv.profile
@@ -11,13 +11,13 @@ include globals.local
11# edit ~/.config/mpv/foobar.conf: 11# edit ~/.config/mpv/foobar.conf:
12# screenshot-directory=~/Pictures 12# screenshot-directory=~/Pictures
13 13
14# Mpv has a powerful lua-API, some off these lua-scripts interact 14# mpv has a powerful Lua API and some of the Lua scripts interact with
15# with external resources which are blocked by firejail. In such cases 15# external resources which are blocked by firejail. In such cases you need to
16# you need to allow these resources by 16# allow these resources by:
17# - adding additional binaries to private-bin 17# - noblacklisting additional paths
18# - whitelisting additional paths 18# - whitelisting additional paths
19# - noblacklisting paths 19# - adding additional binaries to private-bin
20# - weaking the dbus-policy 20# - changing/weakening the D-Bus policy
21# - ... 21# - ...
22# 22#
23# Often these scripts require a shell: 23# Often these scripts require a shell:
@@ -75,10 +75,12 @@ nonewprivs
75noroot 75noroot
76nou2f 76nou2f
77protocol unix,inet,inet6,netlink 77protocol unix,inet,inet6,netlink
78seccomp 78seccomp !set_mempolicy
79seccomp.block-secondary 79seccomp.block-secondary
80tracelog 80tracelog
81 81
82# mpv links to libluajit, so no need to reference "lua*" in private-bin:
83# https://github.com/netblue30/firejail/pull/5711#discussion_r1125622615
82private-bin env,mpv,python*,waf,youtube-dl,yt-dlp 84private-bin env,mpv,python*,waf,youtube-dl,yt-dlp
83# private-cache causes slow OSD, see #2838 85# private-cache causes slow OSD, see #2838
84#private-cache 86#private-cache