Changing Keyboard Accelerators

Jeff Kletsky gnucash at allycomm.com
Sat Jan 8 11:15:39 EST 2011


http://wiki.gnucash.org/wiki/Keyboard_Shortcuts isn't very helpful or 
complete on figuring out what the various keyboard shortcuts are, or how 
to modify them.

I've found .gnucash/accelerator-map to contain more information, but, 
unfortunately,

; (gtk_accel_path 
"<Actions>/GncPluginPageRegisterActions/BlankTransactionAction" 
"<Control>b")

doesn't seem to have the expected effect (and is overwritten on GNUCash 
exit)

Is there a user-accessible way to modify the map?

Hovering over the "Blank Transaction" menu item (or the "Blank" button) 
and pressing ^b doesn't do anything, even after creating a ~/.gtkrc-2.0 
containing
gtk-can-change-accels = 1
as described in http://www.gtk.org/notes/gtk-2.2.0-notes.txt





Thanks,

Jeff



jeff at fx:~/.gnucash$ fgrep -v '""' accelerator-map
; gnucash GtkAccelMap rc-file         -*- scheme -*-
; this file is an automated accelerator map dump
;
; (gtk_accel_path 
"<Actions>/gnc-plugin-basic-commands-actions/FileSaveAction" "<Control>s")
; (gtk_accel_path "<Actions>/MainWindowActions/FilePropertiesAction" 
"<Alt>Return")
; (gtk_accel_path 
"<Actions>/gnc-plugin-basic-commands-actions/FileOpenAction" "<Control>o")
; (gtk_accel_path 
"<Actions>/gnc-plugin-basic-commands-actions/FileNewAction" "<Control>n")
; (gtk_accel_path 
"<Actions>/GncPluginPageRegisterActions/EditFindTransactionsAction" 
"<Control>f")
; (gtk_accel_path 
"<Actions>/GncPluginPageAccountTreeActions/EditEditAccountAction" 
"<Control>e")
; (gtk_accel_path 
"<Actions>/GncPluginPageRegisterActions/ActionsTransferAction" 
"<Control>t")
; (gtk_accel_path 
"<Actions>/GncPluginPageAccountTreeActions/ActionsTransferAction" 
"<Control>t")
; (gtk_accel_path "<Actions>/MainWindowActions/FilePrintAction" 
"<Control>p")
; (gtk_accel_path 
"<Actions>/GncPluginPageAccountTreeActions/EditDeleteAccountAction" 
"Delete")
; (gtk_accel_path "<Actions>/MainWindowActions/EditCutAction" "<Control>x")
; (gtk_accel_path "<Actions>/MainWindowActions/FilePageSetupAction" 
"<Shift><Control>p")
; (gtk_accel_path "<Actions>/MainWindowActions/FileCloseAction" 
"<Control>w")
; (gtk_accel_path "<Actions>/MainWindowActions/HelpContentsAction" "F1")
; (gtk_accel_path "<Actions>/GncPluginPageRegisterActions/EditCutAction" 
"<Control>x")
; (gtk_accel_path "<Actions>/MainWindowActions/EditCopyAction" 
"<Control>c")
; (gtk_accel_path 
"<Actions>/GncPluginPageRegisterActions/EditEditAccountAction" 
"<Control>e")
; (gtk_accel_path 
"<Actions>/gnc-plugin-basic-commands-actions/EditFindTransactionsAction" 
"<Control>f")
; (gtk_accel_path 
"<Actions>/GncPluginPageRegisterActions/FilePrintAction" "<Control>p")
; (gtk_accel_path 
"<Actions>/gnc-plugin-basic-commands-actions/FileSaveAsAction" 
"<Shift><Control>s")
; (gtk_accel_path 
"<Actions>/GncPluginPageRegisterActions/EditPasteAction" "<Control>v")
; (gtk_accel_path "<Actions>/MainWindowActions/ViewRefreshAction" 
"<Control>r")
; (gtk_accel_path "<Actions>/MainWindowActions/EditPasteAction" 
"<Control>v")
; (gtk_accel_path 
"<Actions>/GncPluginPageRegisterActions/EditCopyAction" "<Control>c")
; (gtk_accel_path "<Actions>/MainWindowActions/FileQuitAction" 
"<Control>q")


More information about the gnucash-user mailing list