diff options
Diffstat (limited to 'etc/profile-m-z/mpv.profile')
-rw-r--r-- | etc/profile-m-z/mpv.profile | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/etc/profile-m-z/mpv.profile b/etc/profile-m-z/mpv.profile new file mode 100644 index 000000000..8c463e7db --- /dev/null +++ b/etc/profile-m-z/mpv.profile | |||
@@ -0,0 +1,56 @@ | |||
1 | # Firejail profile for mpv | ||
2 | # Description: Video player based on MPlayer/mplayer2 | ||
3 | # This file is overwritten after every install/update | ||
4 | quiet | ||
5 | # Persistent local customizations | ||
6 | include mpv.local | ||
7 | # Persistent global definitions | ||
8 | include globals.local | ||
9 | |||
10 | noblacklist ${HOME}/.config/mpv | ||
11 | noblacklist ${HOME}/.config/youtube-dl | ||
12 | noblacklist ${HOME}/.netrc | ||
13 | |||
14 | # Allow lua (blacklisted by disable-interpreters.inc) | ||
15 | include allow-lua.inc | ||
16 | # Allow python (blacklisted by disable-interpreters.inc) | ||
17 | include allow-python2.inc | ||
18 | include allow-python3.inc | ||
19 | |||
20 | noblacklist ${MUSIC} | ||
21 | noblacklist ${PICTURES} | ||
22 | noblacklist ${VIDEOS} | ||
23 | |||
24 | include disable-common.inc | ||
25 | include disable-devel.inc | ||
26 | include disable-exec.inc | ||
27 | include disable-interpreters.inc | ||
28 | include disable-passwdmgr.inc | ||
29 | include disable-programs.inc | ||
30 | include disable-xdg.inc | ||
31 | |||
32 | whitelist /usr/share/vulkan | ||
33 | include whitelist-usr-share-common.inc | ||
34 | include whitelist-var-common.inc | ||
35 | |||
36 | apparmor | ||
37 | caps.drop all | ||
38 | netfilter | ||
39 | |||
40 | # Seems to cause issues with Nvidia drivers sometimes | ||
41 | nogroups | ||
42 | nonewprivs | ||
43 | noroot | ||
44 | nou2f | ||
45 | protocol unix,inet,inet6,netlink | ||
46 | seccomp | ||
47 | shell none | ||
48 | tracelog | ||
49 | |||
50 | private-bin env,mpv,python*,youtube-dl | ||
51 | # Causes slow OSD, see #2838 | ||
52 | #private-cache | ||
53 | private-dev | ||
54 | |||
55 | dbus-user none | ||
56 | dbus-system none | ||