[PR #1829] [MERGED] evince fixes #4081

Closed
opened 2026-05-05 10:13:23 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netblue30/firejail/pull/1829
Author: @ghost
Created: 3/24/2018
Status: Merged
Merged: 3/25/2018
Merged by: @netblue30

Base: masterHead: evince


📝 Commits (4)

  • 94468d6 add whitelist-common.inc
  • 88ebb52 Create evince-previewer.profile
  • ba735fb Create evince-thumbnailer.profile
  • 45732a2 Revert "add whitelist-common.inc"

📊 Changes

2 files changed (+20 additions, -0 deletions)

View changed files

etc/evince-previewer.profile (+10 -0)
etc/evince-thumbnailer.profile (+10 -0)

📄 Description

Seems the current evince profile has issues with dconf, user icons and themes. These can all be easily fixed by including whitelist-common.inc. Also adding 2 redirect profiles for evince-previewer and evince-thumbnailer, both executables are included in evince as packaged on Arch Linux (and probably other distro's too).

After seeing #1711, I took another crack at trying to fix the private-lib condition, something I had fiddled with before without succes. But this time it looks as if things are settling nicely in that regard. I added what works for me after extensive testing. Leaving commented, so other people can take a closer look.

For what it's worth, these all work, ordered from less to more granular/restrictive:

  • private-lib dconf,evince,GConf,gdk-pixbuf-2.0,gio,gvfs,libgconf-2.so.4,libpoppler-glib.so.8,librsvg-2.so.2,libxml2.so.2
  • private-lib evince,gdk-pixbuf-2.0,gio,gvfs,libgconf-2.so.4,libpoppler-glib.so.8,librsvg-2.so.2,libxml2.so.2
  • private-lib evince,gdk-pixbuf-2.0,gio,gvfs,libgconf-2.so.4,libpoppler-glib.so.8,librsvg-2.so.2
  • private-lib evince,gdk-pixbuf-2.0,gio,gvfs/libgvfscommon.so,libgconf-2.so.4,libpoppler-glib.so.8,librsvg-2.so.2

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netblue30/firejail/pull/1829 **Author:** [@ghost](https://github.com/ghost) **Created:** 3/24/2018 **Status:** ✅ Merged **Merged:** 3/25/2018 **Merged by:** [@netblue30](https://github.com/netblue30) **Base:** `master` ← **Head:** `evince` --- ### 📝 Commits (4) - [`94468d6`](https://github.com/netblue30/firejail/commit/94468d6a3bea5ad6a6e0c2e92036e195c68d57d1) add whitelist-common.inc - [`88ebb52`](https://github.com/netblue30/firejail/commit/88ebb529ee6c67946d545e045726b11f052798d0) Create evince-previewer.profile - [`ba735fb`](https://github.com/netblue30/firejail/commit/ba735fb99becdad665cc0dd551ea61eb49cbc4bd) Create evince-thumbnailer.profile - [`45732a2`](https://github.com/netblue30/firejail/commit/45732a22d1ea4ec0ade0775be7243e8669b7f850) Revert "add whitelist-common.inc" ### 📊 Changes **2 files changed** (+20 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `etc/evince-previewer.profile` (+10 -0) ➕ `etc/evince-thumbnailer.profile` (+10 -0) </details> ### 📄 Description Seems the current evince profile has issues with dconf, user icons and themes. These can all be easily fixed by including `whitelist-common.inc`. Also adding 2 redirect profiles for evince-previewer and evince-thumbnailer, both executables are included in evince as packaged on Arch Linux (and probably other distro's too). After seeing [#1711](https://github.com/netblue30/firejail/issues/1711), I took another crack at trying to fix the `private-lib` condition, something I had fiddled with before without succes. But this time it looks as if things are settling nicely in that regard. I added what works for me after extensive testing. Leaving commented, so other people can take a closer look. For what it's worth, these all work, ordered from less to more granular/restrictive: - private-lib dconf,evince,GConf,gdk-pixbuf-2.0,gio,gvfs,libgconf-2.so.4,libpoppler-glib.so.8,librsvg-2.so.2,libxml2.so.2 - private-lib evince,gdk-pixbuf-2.0,gio,gvfs,libgconf-2.so.4,libpoppler-glib.so.8,librsvg-2.so.2,libxml2.so.2 - private-lib evince,gdk-pixbuf-2.0,gio,gvfs,libgconf-2.so.4,libpoppler-glib.so.8,librsvg-2.so.2 - private-lib evince,gdk-pixbuf-2.0,gio,gvfs/libgvfscommon.so,libgconf-2.so.4,libpoppler-glib.so.8,librsvg-2.so.2 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-05 10:13:23 -06:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#4081
No description provided.