Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using evince to view my documents under Linux. One thing bothers me, however. It seems to magically remember the position and settings of the window for every document. I searched all over (the hidden directories in my home folder, system files, gconf) for where it might be saving those settings, but I can't find anything. Does anyone know where those settings are?

share|improve this question

Things have changed since the previous answer was given (October 2011). The window settings of Evince are now being stored in binary, in the directory ~/.local/share/gvfs-metadata/.

share|improve this answer
    
These seem to be binary files. Any way of figuring out what the settings actually are? – Faheem Mitha Oct 2 '14 at 23:33
    
@Faheem, see the new answer that was just posted. – Arjan Dec 23 '15 at 17:22
    
@Arjan Thanks for the pointer. Upvoted. – Faheem Mitha Dec 23 '15 at 21:22

The per document settings are stored in the file ~/.gnome2/evince/ev-metadata.xml.

share|improve this answer

The settings are stored under ~/.local/share/gvfs-metadata/, but this knowledge is of little use since you cannot do anything practical with the binary files therein.

To read or edit the per-document settings, use the following gvfs tools, passing them the path to the document of which you want the settings:

  • Reading: gvfs-info /path/to/file. Example line of output: metadata::evince::n-copies: 5

  • Editing: gvfs-set-attribute /path/to/file metadata::evince::n-copies 1

Paths can be relative to the current dir.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.