diff options
author | 2020-07-07 21:21:22 +0530 | |
---|---|---|
committer | 2020-07-07 15:51:22 +0000 | |
commit | f5fabe7637755b338e35a1b34709eeec572c2f92 (patch) | |
tree | c998a0f5e0263e2b3edd08ee5ed71fcaebe508e2 | |
parent | Fixed Blender profile being unable to import numpy (#3497) (diff) | |
download | firejail-f5fabe7637755b338e35a1b34709eeec572c2f92.tar.gz firejail-f5fabe7637755b338e35a1b34709eeec572c2f92.tar.zst firejail-f5fabe7637755b338e35a1b34709eeec572c2f92.zip |
Okular profile fixes (#3489)
* Whitelist some config files used by Okular.
These files are used to store the toolbar configurations.
* Whitelist files required for okular in firefox-common-addons.inc
Without this, okular does not follow the user configuration for toolbars
and keyboard shortcuts when launched inside the firefox sandbox (for
eg., while opening a downloaded PDF).
* Alphabetical sort
* Remove noblacklist for files which are not actually blacklisted.
I have blacklisted them in a separate pull request.
-rw-r--r-- | etc/inc/firefox-common-addons.inc | 1 | ||||
-rw-r--r-- | etc/profile-m-z/okular.profile | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/etc/inc/firefox-common-addons.inc b/etc/inc/firefox-common-addons.inc index 681e72d33..b106cc0c0 100644 --- a/etc/inc/firefox-common-addons.inc +++ b/etc/inc/firefox-common-addons.inc | |||
@@ -41,6 +41,7 @@ whitelist ${HOME}/.kde4/share/config/okularrc | |||
41 | whitelist ${HOME}/.keysnail.js | 41 | whitelist ${HOME}/.keysnail.js |
42 | whitelist ${HOME}/.lastpass | 42 | whitelist ${HOME}/.lastpass |
43 | whitelist ${HOME}/.local/share/kget | 43 | whitelist ${HOME}/.local/share/kget |
44 | whitelist ${HOME}/.local/share/kxmlgui5/okular | ||
44 | whitelist ${HOME}/.local/share/okular | 45 | whitelist ${HOME}/.local/share/okular |
45 | whitelist ${HOME}/.local/share/qpdfview | 46 | whitelist ${HOME}/.local/share/qpdfview |
46 | whitelist ${HOME}/.local/share/tridactyl | 47 | whitelist ${HOME}/.local/share/tridactyl |
diff --git a/etc/profile-m-z/okular.profile b/etc/profile-m-z/okular.profile index d5eba909e..2447c9603 100644 --- a/etc/profile-m-z/okular.profile +++ b/etc/profile-m-z/okular.profile | |||
@@ -28,6 +28,7 @@ include disable-shell.inc | |||
28 | include disable-xdg.inc | 28 | include disable-xdg.inc |
29 | 29 | ||
30 | whitelist /usr/share/config.kcfg | 30 | whitelist /usr/share/config.kcfg |
31 | whitelist /usr/share/kxmlgui5/okular | ||
31 | whitelist /usr/share/okular | 32 | whitelist /usr/share/okular |
32 | whitelist /usr/share/poppler | 33 | whitelist /usr/share/poppler |
33 | include whitelist-usr-share-common.inc | 34 | include whitelist-usr-share-common.inc |