Monday, April 29, 2024
 Popular · Latest · Hot · Upcoming
4
rated 0 times [  4] [ 0]  / answers: 1 / hits: 5968  / 2 Years ago, sat, march 26, 2022, 12:20:12

Document Viewer appears to remember my settings (scroll position, zoom, full-screen, etc.) for each document. I've recently changed its default settings and I want them to apply to all documents, including those I've opened previously.



How can I make it forget all per-document settings without reverting the changes I've made to the default settings?


More From » settings

 Answers
4

You can remove all GVFS attributes, related to evince, for a given file with this script:



file="MyFile.pdf"
while read attribute value; do
[ "${attribute:0:18}" = "metadata::evince::" ] &&
gvfs-set-attribute "${file}" -t unset "${attribute:0:-1}"
done < <(gvfs-info "${file}")


You can check the attributes with gvfs-info "${file}"


[#27666] Sunday, March 27, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
diket

Total Points: 167
Total Questions: 124
Total Answers: 109

Location: Somalia
Member since Wed, Mar 15, 2023
1 Year ago
;