From 7c3dd381a65281a2689def21f6d3633cfb7b800b Mon Sep 17 00:00:00 2001 From: Samtinel Date: Fri, 13 Nov 2020 12:49:51 +0100 Subject: evince.profile: optionally allow bookmark/metadata access bookmarks are saved unter $HOME/.local/share/gvfs-metadata since evince is the primary pdf reader, a firejailed evince can't read or write those this commit adds instructions to enable metadata writing and reading --- etc/profile-a-l/evince.profile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/etc/profile-a-l/evince.profile b/etc/profile-a-l/evince.profile index c0c16e929..25d5196fc 100644 --- a/etc/profile-a-l/evince.profile +++ b/etc/profile-a-l/evince.profile @@ -6,6 +6,10 @@ include evince.local # Persistent global definitions include globals.local +# Uncomment this line and the bottom ones to use bookmarks +# NOTE: This possibly exposes information, including file history from other programs. +#noblacklist ${HOME}/.local/share/gvfs-metadata + noblacklist ${HOME}/.config/evince noblacklist ${DOCUMENTS} @@ -54,5 +58,8 @@ private-lib evince,gcc/*/*/libgcc_s.so.*,gcc/*/*/libstdc++.so.*,gconv,gdk-pixbuf private-tmp # might break two-page-view on some systems -dbus-user none +dbus-user filter +# Also uncomment these two lines if you want to use bookmarks +#dbus-user.talk org.gtk.vfs.Daemon +#dbus-user.talk org.gtk.vfs.Metadata dbus-system none -- cgit v1.2.3-70-g09d2