How to customize Evince's shortcuts?

I wrote this issue in gnome’s repository over in gitlab and was told I could get better help over here

In issue #1340 @aklapper mentions that user can customize shortcuts by editing ~/.config/evince/accels. I am having a hard time to figure out how it works and which possible actions we can customize. The contents of ~/.config/evince/accels are:

; evince GtkAccelMap rc-file         -*- scheme -*-
; this file is an automated accelerator map dump
;
; (gtk_accel_path "<Actions>/BookmarsPopupActions/RemoveBookmark" "")
; (gtk_accel_path "<Actions>/BookmarsPopupActions/RenameBookmark" "")
; (gtk_accel_path "<Actions>/BookmarsPopupActions/OpenBookmark" "")

Is there any documentation on the possible actions and how the structure of the accelerations should look like?
I tried looking at the list of shortcuts already set in shell/ev-application.c but still can’t move forward.

My concrete goal is to have the highlight function with a single keystroke shortcut instead of ctrlh.

I appreciate your time and attention to this question.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.