diff options
Diffstat (limited to 'etc/profile-a-l/linuxqq.profile')
-rw-r--r-- | etc/profile-a-l/linuxqq.profile | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/etc/profile-a-l/linuxqq.profile b/etc/profile-a-l/linuxqq.profile new file mode 100644 index 000000000..8855f09f5 --- /dev/null +++ b/etc/profile-a-l/linuxqq.profile | |||
@@ -0,0 +1,43 @@ | |||
1 | # Firejail profile for linuxqq | ||
2 | # Description: IM client based on Electron | ||
3 | # This file is overwritten after every install/update | ||
4 | # Persistent local customizations | ||
5 | include linuxqq.local | ||
6 | # Persistent global definitions | ||
7 | include globals.local | ||
8 | |||
9 | noblacklist ${HOME}/.config/QQ | ||
10 | noblacklist ${HOME}/.mozilla | ||
11 | |||
12 | include allow-bin-sh.inc | ||
13 | |||
14 | include disable-shell.inc | ||
15 | |||
16 | mkdir ${HOME}/.config/QQ | ||
17 | whitelist ${HOME}/.config/QQ | ||
18 | whitelist ${HOME}/.mozilla/firefox/profiles.ini | ||
19 | whitelist ${DESKTOP} | ||
20 | |||
21 | ignore apparmor | ||
22 | noprinters | ||
23 | |||
24 | # If you don't need/want to save anything to disk you can add `private` to your linuxqq.local. | ||
25 | #private | ||
26 | private-etc alsa,alternatives,ca-certificates,crypto-policies,fonts,group,host.conf,hostname,hosts,ld.so.cache,ld.so.preload,localtime,login.defs,machine-id,nsswitch.conf,os-release,passwd,pki,pulse,resolv.conf,ssl,xdg | ||
27 | private-opt QQ | ||
28 | |||
29 | dbus-user filter | ||
30 | dbus-user.talk org.freedesktop.Notifications | ||
31 | dbus-user.talk org.freedesktop.portal.Desktop | ||
32 | dbus-user.talk org.freedesktop.portal.Fcitx | ||
33 | dbus-user.talk org.freedesktop.portal.IBus | ||
34 | dbus-user.talk org.freedesktop.ScreenSaver | ||
35 | dbus-user.talk org.gnome.Mutter.IdleMonitor | ||
36 | ?ALLOW_TRAY: dbus-user.talk org.kde.StatusNotifierWatcher | ||
37 | dbus-user.talk org.mozilla.* | ||
38 | ignore dbus-user none | ||
39 | |||
40 | read-only ${HOME}/.mozilla/firefox/profiles.ini | ||
41 | |||
42 | # Redirect | ||
43 | include electron.profile | ||