aboutsummaryrefslogtreecommitdiffstats
path: root/etc/profile-a-l/linuxqq.profile
diff options
context:
space:
mode:
Diffstat (limited to 'etc/profile-a-l/linuxqq.profile')
-rw-r--r--etc/profile-a-l/linuxqq.profile43
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
5include linuxqq.local
6# Persistent global definitions
7include globals.local
8
9noblacklist ${HOME}/.config/QQ
10noblacklist ${HOME}/.mozilla
11
12include allow-bin-sh.inc
13
14include disable-shell.inc
15
16mkdir ${HOME}/.config/QQ
17whitelist ${HOME}/.config/QQ
18whitelist ${HOME}/.mozilla/firefox/profiles.ini
19whitelist ${DESKTOP}
20
21ignore apparmor
22noprinters
23
24# If you don't need/want to save anything to disk you can add `private` to your linuxqq.local.
25#private
26private-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
27private-opt QQ
28
29dbus-user filter
30dbus-user.talk org.freedesktop.Notifications
31dbus-user.talk org.freedesktop.portal.Desktop
32dbus-user.talk org.freedesktop.portal.Fcitx
33dbus-user.talk org.freedesktop.portal.IBus
34dbus-user.talk org.freedesktop.ScreenSaver
35dbus-user.talk org.gnome.Mutter.IdleMonitor
36?ALLOW_TRAY: dbus-user.talk org.kde.StatusNotifierWatcher
37dbus-user.talk org.mozilla.*
38ignore dbus-user none
39
40read-only ${HOME}/.mozilla/firefox/profiles.ini
41
42# Redirect
43include electron.profile