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

Reply via email to