GNOME Bugzilla – Bug 774905
Set zoom factor and window size from command line
Last modified: 2018-05-22 16:54:08 UTC
evince does not allow me to specify zoom factor and window size upon startup on command line evince does offer to "save current settings as default", but it does ignore window size and zoom factor, so it always starts up with some skewed zoom and window size. evince mentions in --help-all it does understand --gdk-no-debug=FLAGS GDK debugging flags to unset but it actually doesn't: $ evince --gdk-no-debug=FLAGS some.pdf Cannot parse arguments: Error parsing option --gdk-no-debug evince - as all gtk applications - is noisy about some GTK/GNOME boilerplate: (evince:3435): Gtk-WARNING **: Failed to get the GNOME session proxy: The name org.gnome.SessionManager is not owned and cannot be made to shut up by --gtk-no-debug=FLAGS so I start it with 2> /dev/null for now on the rare occasions where I can endure it's user-unfriendliness.
Thanks for reporting this! Please split this into separate tickets so only one issue is reported per ticket otherwise this cannot be handled. Thanks!
(In reply to Richard from comment #0) > evince mentions in --help-all it does understand > --gdk-no-debug=FLAGS GDK debugging flags to unset > > but it actually doesn't: > > $ evince --gdk-no-debug=FLAGS some.pdf > Cannot parse arguments: Error parsing option --gdk-no-debug Those parameters come from GTK+, not Evince. Nevertheless, the issue is FLAGS, which is not a valid flag. You can only use valid flags or none. For example: $ evince --gdk-no-debug= some.pdf Will not complain. For more information, take a look at https://developer.gnome.org/gtk3/stable/gtk-running.html#GDK-Debug-Options
(In reply to André Klapper from comment #1) > Thanks for reporting this! > Please split this into separate tickets so only one issue is reported per > ticket otherwise this cannot be handled. Thanks! It is only one bug with additional questions/remarks somehow unrelated to Evince itself. I updated the summary accordingly.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/evince/issues/732.