Hi Reiner,

Thank you for the solution.

Kind regards,
John


On 1/8/23 21:48, Reiner Herrmann wrote:
Hi John,

On Sun, Jan 08, 2023 at 09:28:25PM +0300, John Wick wrote:
It works well with 0.9.64.4-1~bpo10+1.

Yet Evince always opens a pdf book at page 1 while normally it opens where
you have stopped reading it.

 From 
https://superuser.com/questions/1724959/evince-in-wsl2-doesnt-remember-last-visited-page:
'You are absolutely right that Evince uses GVfs (the Gnome Virtual File
System) to store its bookmarks.'

thanks for the link. After installing gvfs my evince is now also
remembering the last page.
And I also saw that it was not working in a firejailed calibre.

I figured out that the following lines added to
/etc/firejail/calibre.local will allow evince started from firejailed
calibre to remember the page:

noblacklist ${HOME}/.local/share/gvfs-metadata
ignore private-tmp

You can try adding it to your calibre.local as well.
I'm not sure if this should get submitted upstream, as not every
calibre user is using evince as a PDF viewer, or wants to grant it
access to gvfs (which can also contain sensitive data of other
applications).

Kind regards,
   Reiner

-------------------------------------------------
This free account was provided by VFEmail.net - report spam to ab...@vfemail.net

ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of the 
NSA's hands!
$24.95 ONETIME Lifetime accounts with Privacy Features! 15GB disk! No bandwidth quotas! Commercial and Bulk Mail Options!

Reply via email to