diff options
author | glitsj16 <glitsj16@users.noreply.github.com> | 2024-05-20 05:06:41 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-20 05:06:41 +0000 |
commit | ea104190df032d58ef564313fb97d5298104ec15 (patch) | |
tree | 3e27178b9d85e7123a2eae2aaf01464bc3f50e7d /etc/profile-a-l/linuxqq.profile | |
parent | profiles: yelp: add Firefox URL open support (#6349) (diff) | |
download | firejail-ea104190df032d58ef564313fb97d5298104ec15.tar.gz firejail-ea104190df032d58ef564313fb97d5298104ec15.tar.zst firejail-ea104190df032d58ef564313fb97d5298104ec15.zip |
profiles: streamline Firefox URL opening support (#6348)
Changes:
* Improve Firefox D-Bus comment
* Add missing/standardize related comments
* Include allow-bin-sh.inc in relevant profiles
* Use Firefox URL open section in relevant profiles
Diffstat (limited to 'etc/profile-a-l/linuxqq.profile')
-rw-r--r-- | etc/profile-a-l/linuxqq.profile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/etc/profile-a-l/linuxqq.profile b/etc/profile-a-l/linuxqq.profile index e900c0914..278797fb3 100644 --- a/etc/profile-a-l/linuxqq.profile +++ b/etc/profile-a-l/linuxqq.profile | |||
@@ -7,15 +7,20 @@ include linuxqq.local | |||
7 | include globals.local | 7 | include globals.local |
8 | 8 | ||
9 | noblacklist ${HOME}/.config/QQ | 9 | noblacklist ${HOME}/.config/QQ |
10 | noblacklist ${HOME}/.mozilla | ||
11 | 10 | ||
11 | # sh is needed to allow Firefox to open links | ||
12 | include allow-bin-sh.inc | 12 | include allow-bin-sh.inc |
13 | 13 | ||
14 | include disable-shell.inc | 14 | include disable-shell.inc |
15 | 15 | ||
16 | # The lines below are needed to find the default Firefox profile name, to allow | ||
17 | # opening links in an existing instance of Firefox (note that it still fails if | ||
18 | # there isn't a Firefox instance running with the default profile; see #5352) | ||
19 | noblacklist ${HOME}/.mozilla | ||
20 | whitelist ${HOME}/.mozilla/firefox/profiles.ini | ||
21 | |||
16 | mkdir ${HOME}/.config/QQ | 22 | mkdir ${HOME}/.config/QQ |
17 | whitelist ${HOME}/.config/QQ | 23 | whitelist ${HOME}/.config/QQ |
18 | whitelist ${HOME}/.mozilla/firefox/profiles.ini | ||
19 | whitelist ${DESKTOP} | 24 | whitelist ${DESKTOP} |
20 | whitelist /opt/QQ | 25 | whitelist /opt/QQ |
21 | 26 | ||
@@ -34,6 +39,7 @@ dbus-user.talk org.freedesktop.portal.IBus | |||
34 | dbus-user.talk org.freedesktop.ScreenSaver | 39 | dbus-user.talk org.freedesktop.ScreenSaver |
35 | dbus-user.talk org.gnome.Mutter.IdleMonitor | 40 | dbus-user.talk org.gnome.Mutter.IdleMonitor |
36 | ?ALLOW_TRAY: dbus-user.talk org.kde.StatusNotifierWatcher | 41 | ?ALLOW_TRAY: dbus-user.talk org.kde.StatusNotifierWatcher |
42 | # Allow D-Bus communication with Firefox for opening links | ||
37 | dbus-user.talk org.mozilla.* | 43 | dbus-user.talk org.mozilla.* |
38 | ignore dbus-user none | 44 | ignore dbus-user none |
39 | 45 | ||