Created
September 23, 2015 05:53
-
-
Save 8leggedunicorn/de9ca463e284305e0ff0 to your computer and use it in GitHub Desktop.
dconf value for evince contiuous page view
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Why aren't setting dconf values honored on? |
Author
8leggedunicorn
commented
Sep 23, 2015
➜ ~ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 15.04
Release: 15.04
Codename: vivid
Evince stores per document settings using GVFS. As an example:
➜ gvfs-metadata gvfs-info -a "metadata::" $path_to_document
uri: file://$path_to_document
attributes:
metadata::evince::author:
metadata::evince::continuous: 1
metadata::evince::dual-page: 0
metadata::evince::dual-page-odd-left: 0
metadata::evince::fullscreen: 0
metadata::evince::inverted-colors: 0
metadata::evince::page: 3
metadata::evince::sidebar_page: links
metadata::evince::sidebar_size: 282
metadata::evince::sidebar_visibility: 1
metadata::evince::sizing_mode: fit-page
metadata::evince::title:
metadata::evince::window_height: 1369
metadata::evince::window_maximized: 0
metadata::evince::window_width: 1355
metadata::evince::window_x: 2877
metadata::evince::window_y: 135
metadata::evince::zoom: 1.1892070770263672
So using gvfs-set-attribute
or similar command is necessary to reset or alter how evince treats these documents.
Like so:
➜ gvfs-metadata gvfs-set-attribute $path_to_document metadata::evince::zoom '1.35'
➜ gvfs-metadata gvfs-info -a "metadata::evince::zoom" $path_to_document
uri: file://$path_to_document
attributes:
metadata::evince::zoom: 1.35
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment