Paging down is done the same way as paging up, using the same “fn” key and the Down arrow to perform the equivalent of a page down on a Mac keyboard. Note, however, that you won't get security fixes to evince automatically if you compile it yourself.įor reference, if somebody wishes to modify other keyboard shortcuts in evince, some of the action (as opposed to motion) bindings are specified in shell/ev-application.c in the definition of const gchar *action_accels ( here on GitHub).The “fn” key is at the lower left of all modern Mac keyboards, and when you combine that with the Up arrow, which is found on the lower right of the keyboard, you will perform the equivalent of a page up. The lines need to be changed to: add_scroll_binding_keypad (binding_set, GDK_KEY_Up, GDK_CONTROL_MASK, GTK_SCROLL_PAGE_BACKWARD, GTK_ORIENTATION_VERTICAL) Īdd_scroll_binding_keypad (binding_set, GDK_KEY_Down, GDK_CONTROL_MASK, GTK_SCROLL_PAGE_FORWARD, GTK_ORIENTATION_VERTICAL) GitHub link provided for convenience, but preferably don't get the source from there, but via apt-get as described above.) The offending lines, responsible for the bindings in evince are: add_scroll_binding_keypad (binding_set, GDK_KEY_Page_Up, 0, GTK_SCROLL_PAGE_BACKWARD, GTK_ORIENTATION_VERTICAL) Īdd_scroll_binding_keypad (binding_set, GDK_KEY_Page_Down, 0, GTK_SCROLL_PAGE_FORWARD, GTK_ORIENTATION_VERTICAL) If this doesn't work, uncomment the deb-src lines in /etc/apt/sources.list.
(If you're feeling adventurous) patch the source of evince and recompile: Use something with AutoHotkey functionality (for some possibilities, see this stackexchange question). For comparison, you could look at, say, ~/.config/nautilus/accels. Switch to atril which is the MATE fork of evince and which allows the customisation of keybindings, at least via an accels file (at ~/.config/atril/accels). If you still want to change the keybindings, then unfortunately I think that for evince the keybindings are hard-coded. Firstly, just in case you don't know, you can use Space and Shift-Space instead of PgDn and PgUp.