From 12c361b32f0aa2263b00645f0bd392dc1dabd010 Mon Sep 17 00:00:00 2001 From: Antonio Russo Date: Sun, 16 Feb 2020 11:22:40 -0700 Subject: Whitelist more /usr/share for okular and others Some distributions include fonts in the texmf and texlive subdirectories of /usr/share. This makes those fonts accessible, addressing buggy behavior in okular where some text fails to render. This also whitelists /usr/share/config.kcfg which contains default settings that should be available to many applications. --- etc/okular.profile | 3 ++- etc/whitelist-usr-share-common.inc | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'etc') diff --git a/etc/okular.profile b/etc/okular.profile index 1dc8c9482..9debd86ff 100644 --- a/etc/okular.profile +++ b/etc/okular.profile @@ -26,8 +26,9 @@ include disable-passwdmgr.inc include disable-programs.inc include disable-xdg.inc -whitelist /usr/share/poppler +whitelist /usr/share/config.kcfg whitelist /usr/share/okular +whitelist /usr/share/poppler include whitelist-usr-share-common.inc include whitelist-var-common.inc diff --git a/etc/whitelist-usr-share-common.inc b/etc/whitelist-usr-share-common.inc index 710007163..a9d4cadb8 100644 --- a/etc/whitelist-usr-share-common.inc +++ b/etc/whitelist-usr-share-common.inc @@ -50,6 +50,8 @@ whitelist /usr/share/qt5 whitelist /usr/share/sounds whitelist /usr/share/tcl8.6 whitelist /usr/share/terminfo +whitelist /usr/share/texlive +whitelist /usr/share/texmf whitelist /usr/share/themes whitelist /usr/share/thumbnail.so whitelist /usr/share/X11 -- cgit v1.2.3-70-g09d2