aboutsummaryrefslogtreecommitdiffstats
path: root/etc/profile-a-l/linuxqq.profile
diff options
context:
space:
mode:
authorLibravatar glitsj16 <glitsj16@users.noreply.github.com>2023-01-03 08:12:14 +0000
committerLibravatar GitHub <noreply@github.com>2023-01-03 08:12:14 +0000
commit6efb334d86906fce1b6e34da62086381107ebebb (patch)
tree1310ee95f67805e8171af053c89cdef0b1bd0b7f /etc/profile-a-l/linuxqq.profile
parentREADME: add linuxqq/qq contributors (diff)
downloadfirejail-6efb334d86906fce1b6e34da62086381107ebebb.tar.gz
firejail-6efb334d86906fce1b6e34da62086381107ebebb.tar.zst
firejail-6efb334d86906fce1b6e34da62086381107ebebb.zip
Create linuxqq.profile
Diffstat (limited to 'etc/profile-a-l/linuxqq.profile')
-rw-r--r--etc/profile-a-l/linuxqq.profile45
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
5include linuxqq.local
6# Persistent global definitions
7include globals.local
8
9noblacklist ${HOME}/.config/QQ
10noblacklist ${HOME}/.mozilla
11
12mkdir ${HOME}/.config/QQ
13whitelist ${HOME}/.config/QQ
14whitelist ${HOME}/.mozilla/firefox/profiles.ini
15whitelist ${DESKTOP}
16
17include allow-bin-sh.inc
18include 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
23ignore apparmor
24noprinters
25
26# If you don't need/want to save anything to disk you can add `private` to your linuxqq.local.
27#private
28private-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
29private-opt QQ
30
31dbus-user filter
32dbus-user.talk org.freedesktop.Notifications
33dbus-user.talk org.freedesktop.portal.Desktop
34dbus-user.talk org.freedesktop.portal.Fcitx
35dbus-user.talk org.freedesktop.portal.IBus
36dbus-user.talk org.freedesktop.ScreenSaver
37dbus-user.talk org.gnome.Mutter.IdleMonitor
38?ALLOW_TRAY: dbus-user.talk org.kde.StatusNotifierWatcher
39dbus-user.talk org.mozilla.*
40ignore dbus-user none
41
42read-only ${HOME}/.mozilla/firefox/profiles.ini
43
44# Redirect
45include electron.profile