summaryrefslogtreecommitdiff
path: root/profiles/vlc.local
blob: 78cf4f10ee82205749a233c8c43655995da7df6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
ignore mkdir ${HOME}/.cache/vlc
ignore noblacklist ${HOME}/.cache/vlc
ignore whitelist ${HOME}/.cache/vlc
noblacklist ${MUSIC}
noblacklist ${PICTURES}
noblacklist ${VIDEOS}

include disable-xdg.inc

whitelist-ro ${DOWNLOADS}
whitelist-ro ${MUSIC}

# Comment to allow screenshots
whitelist-ro ${PICTURES}
# Uncomment to allow screenshots
#whitelist ${PICTURES}
#read-write ${PICTURES}

whitelist-ro ${VIDEOS}

# # alsa audio will work with ipc-namespace,
# # but it hogs the alsa device from other applications
ignore ipc-namespace

# # seccomp breaks integrated file manager on kde applications
# # due to syscall name_to_handle_at
seccomp !name_to_handle_at

# Just say no to dbus
ignore dbus-user filter
ignore dbus-user.own org.mpris.MediaPlayer2.vlc
ignore dbus-user.talk org.freedesktop.Notifications
ignore dbus-user.talk org.freedesktop.ScreenSaver
ignore dbus-user.talk org.kde.StatusNotifierWatcher
ignore dbus-user.talk org.mpris.MediaPlayer2.vlc
dbus-user none
dbus-system none

# Allow paths for custom lirc config
#whitelist /run/lirc
#whitelist-ro ${HOME}/.config/lirc/vlc