From 6efb334d86906fce1b6e34da62086381107ebebb Mon Sep 17 00:00:00 2001 From: glitsj16 Date: Tue, 3 Jan 2023 08:12:14 +0000 Subject: Create linuxqq.profile --- etc/profile-a-l/linuxqq.profile | 45 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 etc/profile-a-l/linuxqq.profile (limited to 'etc/profile-a-l') 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 @@ +# Firejail profile for linuxqq +# Description: IM client based on Electron +# This file is overwritten after every install/update +# Persistent local customizations +include linuxqq.local +# Persistent global definitions +include globals.local + +noblacklist ${HOME}/.config/QQ +noblacklist ${HOME}/.mozilla + +mkdir ${HOME}/.config/QQ +whitelist ${HOME}/.config/QQ +whitelist ${HOME}/.mozilla/firefox/profiles.ini +whitelist ${DESKTOP} + +include allow-bin-sh.inc +include disable-shell.inc + +# Add the next line to your linuxqq.local if your kernel allows unprivileged userns clone. +#include chromium-common-hardened.inc.profile + +ignore apparmor +noprinters + +# If you don't need/want to save anything to disk you can add `private` to your linuxqq.local. +#private +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 +private-opt QQ + +dbus-user filter +dbus-user.talk org.freedesktop.Notifications +dbus-user.talk org.freedesktop.portal.Desktop +dbus-user.talk org.freedesktop.portal.Fcitx +dbus-user.talk org.freedesktop.portal.IBus +dbus-user.talk org.freedesktop.ScreenSaver +dbus-user.talk org.gnome.Mutter.IdleMonitor +?ALLOW_TRAY: dbus-user.talk org.kde.StatusNotifierWatcher +dbus-user.talk org.mozilla.* +ignore dbus-user none + +read-only ${HOME}/.mozilla/firefox/profiles.ini + +# Redirect +include electron.profile -- cgit v1.2.3-54-g00ecf