diff options
author | 2023-01-03 08:12:14 +0000 | |
---|---|---|
committer | 2023-01-03 08:12:14 +0000 | |
commit | 6efb334d86906fce1b6e34da62086381107ebebb (patch) | |
tree | 1310ee95f67805e8171af053c89cdef0b1bd0b7f /etc | |
parent | README: add linuxqq/qq contributors (diff) | |
download | firejail-6efb334d86906fce1b6e34da62086381107ebebb.tar.gz firejail-6efb334d86906fce1b6e34da62086381107ebebb.tar.zst firejail-6efb334d86906fce1b6e34da62086381107ebebb.zip |
Create linuxqq.profile
Diffstat (limited to 'etc')
-rw-r--r-- | etc/profile-a-l/linuxqq.profile | 45 |
1 files changed, 45 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..535f81eaf --- /dev/null +++ b/etc/profile-a-l/linuxqq.profile | |||
@@ -0,0 +1,45 @@ | |||
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 | mkdir ${HOME}/.config/QQ | ||
13 | whitelist ${HOME}/.config/QQ | ||
14 | whitelist ${HOME}/.mozilla/firefox/profiles.ini | ||
15 | whitelist ${DESKTOP} | ||
16 | |||
17 | include allow-bin-sh.inc | ||
18 | include disable-shell.inc | ||
19 | |||
20 | # Add the next line to your linuxqq.local if your kernel allows unprivileged userns clone. | ||
21 | #include chromium-common-hardened.inc.profile | ||
22 | |||
23 | ignore apparmor | ||
24 | noprinters | ||
25 | |||
26 | # If you don't need/want to save anything to disk you can add `private` to your linuxqq.local. | ||
27 | #private | ||
28 | 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 | ||
29 | private-opt QQ | ||
30 | |||
31 | dbus-user filter | ||
32 | dbus-user.talk org.freedesktop.Notifications | ||
33 | dbus-user.talk org.freedesktop.portal.Desktop | ||
34 | dbus-user.talk org.freedesktop.portal.Fcitx | ||
35 | dbus-user.talk org.freedesktop.portal.IBus | ||
36 | dbus-user.talk org.freedesktop.ScreenSaver | ||
37 | dbus-user.talk org.gnome.Mutter.IdleMonitor | ||
38 | ?ALLOW_TRAY: dbus-user.talk org.kde.StatusNotifierWatcher | ||
39 | dbus-user.talk org.mozilla.* | ||
40 | ignore dbus-user none | ||
41 | |||
42 | read-only ${HOME}/.mozilla/firefox/profiles.ini | ||
43 | |||
44 | # Redirect | ||
45 | include electron.profile | ||