GNOME Bugzilla – Bug 670964
Provide keyboard shortcuts for Cont./Dual and Best Fit/Fit Page Width
Last modified: 2015-05-21 08:55:59 UTC
Almost all menu items in Evince have keyboard shortcuts, except: View / Continuous View / Dual View / Best Fit View / Fit Page Width Suggested keyboard shortcuts are (in the same order): CTRL+C CTRL+D CTRL+B CTRL+F (because CTRL+P and CTRL+W are already taken) Please, investigate if newer versions of Evince require more keyboard shortcuts and add these too. Implementing this would allow users to access more functionality of evince by command-line only.
And please add a keyboard shortcut to navigate to a certain page number. See how gedit this does for CTRL+I. Their implementation is useful when the toolbar is not visible.
(In reply to comment #1) > And please add a keyboard shortcut to navigate to a certain page number. See > how gedit this does for CTRL+I. Their implementation is useful when the toolbar > is not visible. CTRL+L allows you to navigate to an specific page. However, it is inconsistent with GEdit.
Consider using the same keyboard shortcuts at xournal. xournal is awesome.
How about single-click toolbar buttons for slides (non-continuous, best fit) and documents (continuous, fit width)?
I just hit "Commit" by accident. Sorry. I would appreciate this feature.
*** Bug 653438 has been marked as a duplicate of this bug. ***
*** Bug 619157 has been marked as a duplicate of this bug. ***
FYI, it is apparently possible to bind arbitrary shortcuts to whatever you want in several ways: 1: - Set /org/gnome/desktop/interface/can-change-accels to true in dconf-editor. - Hover to the menu item you wish to change the shortcut for. - Type your shortcut. - Reset /org/gnome/desktop/interface/can-change-accels to its default value (false), or you'll soon find yourself confused with bogus shortucts here and there. 2: - edit .config/evince/accels. Uncomment any line you wish, and change the accel text. What you see by default in this file is the set of default shortcuts. You'll notice, by the way, that page-width and best-fit already have shortcuts w and f, without <Ctrl>. You may add one to ViewDual and ViewContinuous if you so wish By the way, only method 2 will let you install 1-letter shortcuts. Hth. E.
Emmanuel, thank but I hope evince will ship with preconfigured shortcuts.
This was working (and wonderful) for quite some time, but it has disappeared again with an update to evince 3.10.3 (in Ubuntu 14.04) to my great disappointment. But much less useful (IMO) features like "Invert Colours" do get a keybinding now... could at least the Fit Width and Fit Page zoom options get quick shortcuts again, please? (I'll just mention that at the same time as this regression, pressing the key with + on it stopped working as a "zoom in" key binding: the explicit "+" symbol, i.e. Shift+PlusKey on a standard US/UK keyboard is now needed). While in a sense strictly correct, I think this is a step backward for usability... please let me know if you would like a separate report on this issue.)
There are undocumented and undiscoverable (but very useful) shortcuts for fit width and fit full page ('w' and 'f', respectively). Could we have shortcuts like 'c' and 'd' to toggle Continuous mode and Single/Double page mode, respectively?
Created attachment 289238 [details] [review] Add shortcuts for Continuous and Dual modes Here is a proposed patch adding shortcuts to toggle the Continuous and Dual modes. The shortcuts are 'c' and 'd', in the spirit of 'f' and 'w' for Full Page and Fit Width.
Thank you for the patch, I think I'll try to build evince. I knew about the undocumented, quite useful, 'w' and 'f' shortcuts, but really miss a shortcut for toggling continuous ! I hope this gets added soon. I am using Fedora 21 and the 'can-change-accels' method seems not to work (it does nothing at all, for any application, not just evince), and I have no .config/evince/accels file.
Review of attachment 289238 [details] [review]: I don't see why not. Thanks!
Can all menu items get an underscrore undre the letter for which a shortcut exists? Otherwise most people will never know they exist. If you guys agree, should I create new bug report for that?