The One with the Thoughts of Frans

Fix Minuscule Zoom Limit in Evince

I have plenty of RAM and a UHD monitor, but Evince sees it fit to limit zoom to under 200% in many a newspaper-sized document.

# get current cache size (defaults to 50?)
$ gsettings get org.gnome.Evince page-cache-size
uint32 50
# set it to something more reasonable like 500
$ gsettings set org.gnome.Evince page-cache-size 500

In smaller documents this makes pretty much the entire document exist in RAM, which eliminates loading nonsense while going back and forth in a document. Overall, a much smoother experience.

Just one page like this can already use up the 50 MB limit.

I understand the reason for the hard-coded default limit, but I have to wonder if there isn’t a more dynamic way of handling this. Say, either 50 MB or 2% of total memory.

1 Comment

  1. I just noticed that (X)ubuntu ships with a different default, unless I changed it at some point and forgot about it.

    $ gsettings get org.gnome.Evince page-cache-size
    uint32 512

    October 27, 2017 @ 14:32Permalink

RSS feed for comments on this post· TrackBack URI

Leave a Comment

You must be logged in to post a comment.