mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #5392] evince: changes to settings are not persisted (gvfs) #2980
Labels
No labels
LTS merge
LTS merge
bug
bug
converted-to-discussion
doc-todo
documentation
duplicate
enhancement
file-transfer
firecfg
firejail-in-firejail
firetools
graphics
help wanted
information_old
installation
invalid
modif
moved
needinfo
networking
notabug
notourbug
old-version
overlayfs
packaging
profile-request
pull-request
question
question_old
removal
runtime-permissions
sandbox-ipc
security
stale
wiki
wiki
wontfix
wordpress
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/firejail#2980
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @cvlc12 on GitHub (Oct 2, 2022).
Original GitHub issue: https://github.com/netblue30/firejail/issues/5392
Hi,
When using Evince with firejail, I cannot store viewing settings, and Evince always starts in a very small window with zoom level set at 15,7%. Even if I check "remember present settings" in Evince, the window size and zoom level are reset every time.
This is very inconvenient, what can I do to change this behavior ?
firejail --noprofile evince pdfworks as expectedThanks very much
@rusty-snake commented on GitHub (Oct 3, 2022):
First start with providing essential information. The easiest way is to follow the bug template.
@rusty-snake commented on GitHub (Oct 3, 2022):
Likely you need to add
dbus-user.talk ca.desrt.dconf. IIRC we decided against st it because it allows escapes and is only used to remember view settings, but maybe this was also innodbusdays.@cvlc12 commented on GitHub (Oct 3, 2022):
Thanks, i added info to the first post, sorry for that.
It's better with
dbus-user.talk ca.desrt.dconf, zoom level is somewhat preserved, but Evince is still started in a small window. Launching with--noprofilelaunches full screen@rusty-snake commented on GitHub (Oct 3, 2022):
To narrow it down, does
firejail --ignore=dbus-user /usr/bin/evince path/to/documentwork as expected?What does
gsettings list-recursively org.gnome.Evincelist?Do you mean full screen or maximized window?
@cvlc12 commented on GitHub (Oct 3, 2022):
$ firejail --ignore=dbus-user /usr/bin/evince path/to/documentstarts minimized as well (yes I meant maximized, not full-screen)@rusty-snake commented on GitHub (Oct 3, 2022):
Looks like you have to comment evince.profile line by line to find the problematic one.
@cvlc12 commented on GitHub (Oct 4, 2022):
Alright, I managed to get it working by uncommenting the following lines :
@cvlc12 commented on GitHub (Oct 4, 2022):
and the additional
dbus-user.talk org.gtk.vfs.Metadataactually so that the page can be opened maximized.This settings seems to be set per pdf though and not globally, but that's probably not related to firejail
@cvlc12 commented on GitHub (Oct 4, 2022):
So, regarding
$ firejail --ignore=dbus-user /usr/bin/evince path/to/documentthat you suggested above, the additionalnoblacklist ${HOME}/.local/share/gvfs-metadatawas needed...Thanks for your help ! Should I close this ?
@rusty-snake commented on GitHub (Oct 4, 2022):
I think we should update the comment to say that this is also necessary for view settings and add a note about
dbus-user.talk ca.desrt.dconf.