diff options
author | Samtinel <nospam> | 2020-11-13 12:49:51 +0100 |
---|---|---|
committer | rusty-snake <41237666+rusty-snake@users.noreply.github.com> | 2021-01-09 09:07:32 +0000 |
commit | 7c3dd381a65281a2689def21f6d3633cfb7b800b (patch) | |
tree | ccc1ca821b92fbefed6fbb9c54b1c037a65802e8 | |
parent | Add new profile for marker (diff) | |
download | firejail-7c3dd381a65281a2689def21f6d3633cfb7b800b.tar.gz firejail-7c3dd381a65281a2689def21f6d3633cfb7b800b.tar.zst firejail-7c3dd381a65281a2689def21f6d3633cfb7b800b.zip |
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
-rw-r--r-- | etc/profile-a-l/evince.profile | 9 |
1 files changed, 8 insertions, 1 deletions
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 | |||
6 | # Persistent global definitions | 6 | # Persistent global definitions |
7 | include globals.local | 7 | include globals.local |
8 | 8 | ||
9 | # Uncomment this line and the bottom ones to use bookmarks | ||
10 | # NOTE: This possibly exposes information, including file history from other programs. | ||
11 | #noblacklist ${HOME}/.local/share/gvfs-metadata | ||
12 | |||
9 | noblacklist ${HOME}/.config/evince | 13 | noblacklist ${HOME}/.config/evince |
10 | noblacklist ${DOCUMENTS} | 14 | noblacklist ${DOCUMENTS} |
11 | 15 | ||
@@ -54,5 +58,8 @@ private-lib evince,gcc/*/*/libgcc_s.so.*,gcc/*/*/libstdc++.so.*,gconv,gdk-pixbuf | |||
54 | private-tmp | 58 | private-tmp |
55 | 59 | ||
56 | # might break two-page-view on some systems | 60 | # might break two-page-view on some systems |
57 | dbus-user none | 61 | dbus-user filter |
62 | # Also uncomment these two lines if you want to use bookmarks | ||
63 | #dbus-user.talk org.gtk.vfs.Daemon | ||
64 | #dbus-user.talk org.gtk.vfs.Metadata | ||
58 | dbus-system none | 65 | dbus-system none |