[GNC] Short cut keys?

David Cousens davidcousens at bigpond.com
Thu Jan 7 18:29:28 EST 2021


Peter, Larry
Peter Please use the Reply All or Reply Group so messages are routed through the
mailing list to ensure all users can see and respond.

AutoHotKey is a Windows application. AFAIK it doesn't have a Linux version.It
would appear the hover and type a key sequence setting of hot keys has been
deprecated in GTK3 which GnuCash now uses.  See 
https://mail.gnome.org/archives/gtk-list/2015-July/msg00026.html( and the linked
follow up message.)
 AFAIK the current information for Gnome and GTK2 is given here 
https://developer.gnome.org/hig/stable/keyboard-input.html.en This gives you the
system reserved shortcuts
There is another wiki link re customising GnuCash in GTK3 
https://code.gnucash.org/wiki/GTK3, The info under the Menu Keyboard Shortcuts
heading (ignore the link to Keyboard SHortcuts though as it just gives info re
the deprecated ability) and I tried follow the instructions for editing the
accelerator-map file given there.
I have tried setting a hot key for a File->Import->Import OFX as "<Alt><Shift>i"
 in /.gnucash/accelerator-map as described and it failed to work. 

I suspect the copy of the accelerator-map may only in the GnuCash user
preferences for reference and it may be necessary to rebuild GnuCash with an
altered source code accelerator-map in the source code to get this to function.
Not terribly well documented in GTK3 but I found a reference in a LibreOffice
GTK3 post which indicates this may be the case (
https://bugs.documentfoundation.org/show_bug.cgi?id=97260 see Comment 14 by
Simon Long (although that post refers specifically to shortcuts in dialogs). 
More developer input may be required.

David Cousens


On Wed, 2021-01-06 at 19:29 -0500, Peter wrote:
>     
>       I wish I understood what that page is
>         talking about.  Too complex
>       
> 
>       
>       Tried this- 
> 
>         gsettings set org.gnome.desktop.interface can-change-accels true
> ...and of course it didn't work.
> Oh well
>       
>       
> 
>       
>       
> 
>       
>       
> 
>         
>         From: David
>           Cousens [mailto:davidcousens at bigpond.com]
>         Subject: [GNC]
>           Short cut keys?
>         Date:
>           Wednesday, January 6, 2021, 7:16 PM
>         To:
>           gnucash-user at gnucash.org
>         
> 
>       
>     
>     
> >       https://wiki.gnucash.org/wiki/Keyboard_Shortcuts
> > 
> > 
> > 
> > -----David Cousens--Sent from: 
> > http://gnucash.1415818.n4.nabble.com/GnuCash-User-f1415819.html
> > _______________________________________________gnucash-user mailing 
> > listgnucash-user at gnucash.org
> > To update your subscription preferences or to unsubscribe:
> > https://lists.gnucash.org/mailman/listinfo/gnucash-user
> > If you are using Nabble or Gmane, please see 
> > https://wiki.gnucash.org/wiki/Mailing_Lists for more information.-----Please 
> > remember to CC this list on all your replies.You can do this by using Reply-
> > To-List or Reply-All.
> >     
> 
>   
> 
-- 
Dr David R Cousens
B.Sc, M.Prof. Acc., Ph.D., G.C.Ed


More information about the gnucash-user mailing list