| 1 |
# Firejail profile for discord |
| 2 |
# This file is overwritten after every install/update |
| 3 |
# Persistent local customizations |
| 4 |
include discord-common.local |
| 5 |
# Persistent global definitions |
| 6 |
# added by caller profile |
| 7 |
#include globals.local |
| 8 |
|
| 9 |
# Disabled until someone reported positive feedback |
| 10 |
ignore apparmor |
| 11 |
|
| 12 |
ignore noexec ${HOME} |
| 13 |
ignore novideo |
| 14 |
|
| 15 |
whitelist ${HOME}/.config/BetterDiscord |
| 16 |
whitelist ${HOME}/.local/share/betterdiscordctl |
| 17 |
|
| 18 |
private-bin awk,bash,cut,echo,egrep,electron,electron[0-9],electron[0-9][0-9],env,fish,grep,head,sed,sh,tclsh,tr,which,xdg-mime,xdg-open,zsh |
| 19 |
private-etc @tls-ca |
| 20 |
|
| 21 |
# allow D-Bus notifications |
| 22 |
dbus-user filter |
| 23 |
dbus-user.talk org.freedesktop.Notifications |
| 24 |
ignore dbus-user none |
| 25 |
|
| 26 |
join-or-start discord |
| 27 |
|
| 28 |
# Redirect |
| 29 |
include electron-common.profile |