ignore noblacklist ${HOME}/.kde/share/apps/kget
ignore noblacklist ${HOME}/.kde/share/config/kgetrc
ignore noblacklist ${HOME}/.kde4/share/apps/kget
ignore noblacklist ${HOME}/.kde4/share/config/kgetrc
ignore read-only ${HOME}/.cache/ksycoca5_*

noblacklist ${HOME}/.config/kget_bittorrentfactory.rc
noblacklist ${HOME}/.config/kget_metalinkfactory.rc
noblacklist ${HOME}/.config/kget_multisegkiofactory.rc
noblacklist ${VIDEOS}

include disable-write-mnt.inc
include disable-xdg.inc

whitelist ${DOWNLOADS}
whitelist ${VIDEOS}
whitelist ${HOME}/ISOs
# # whitelist entire .config as kde workaround
whitelist ${HOME}/.config
whitelist ${HOME}/.config/kgetrc
whitelist ${HOME}/.config/kget_bittorrentfactory.rc
whitelist ${HOME}/.config/kget_metalinkfactory.rc
whitelist ${HOME}/.config/kget_multisegkiofactory.rc
whitelist ${HOME}/.local/share/kget
include whitelist-common.inc

# ipc-namespace
# # no3d breaks gpu accelerated rendering
ignore no3d
# machine-id
protocol unix,inet,netlink
# # seccomp breaks integrated file manager on kde applications
# # due to syscall name_to_handle_at
seccomp !name_to_handle_at
tracelog

disable-mnt
private-bin bash,dbus-launch,kget,kdeinit5
private-cache
private-etc ca-certificates,fonts,localtime,machine-id,passwd,resolv.conf,ssl,xdg

# # dbus-user/system breaks systray support
ignore dbus-user none
ignore dbus-system none