[GNC] keyboard shortcut - how to implement for open/close splits?
jbonnett at internode.on.net
jbonnett at internode.on.net
Tue Sep 12 18:48:09 EDT 2023
Here are some notes I have on how I achieved this on Windows 10
For Windows users, I found that accelerator-map file in
C:\Users\john\.gnucash\accelerator-map
%APPDATA%\GnuCash\accelerator-map
and a backup at
%APPDATA%\GnuCash.bkp\accelerator-map
I tried editing the first one. These are the lines I changed.
(gtk_accel_path
"<Actions>/GncPluginPageRegisterActions/ViewStyleAutoSplitAction"
"<Primary>2")
(gtk_accel_path
"<Actions>/GncPluginPageRegisterActions/ViewStyleBasicAction" "<Primary>1")
(gtk_accel_path
"<Actions>/GncPluginPageRegisterActions/ViewStyleDoubleLineAction"
"<Primary>4")
(gtk_accel_path
"<Actions>/GncPluginPageRegisterActions/ViewStyleJournalAction"
"<Primary>3")
On restarting GNC, nothing had changed so I tried changing the second one.
That did the trick when I restarted GNC. I think you may need to do both to
have the change propagate over reboots. You will note I also added the
double line toggle too.
Best Regards,
John
-----Original Message-----
From: gnucash-user
<gnucash-user-bounces+jbonnett=internode.on.net at gnucash.org> On Behalf Of
gnucash-user-request at gnucash.org
Sent: Wednesday, September 13, 2023 4:02 AM
To: gnucash-user at gnucash.org
Subject: gnucash-user Digest, Vol 246, Issue 22
Send gnucash-user mailing list submissions to
gnucash-user at gnucash.org
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.gnucash.org/mailman/listinfo/gnucash-user
or, via email, send a message with subject or body 'help' to
gnucash-user-request at gnucash.org
You can reach the person managing the list at
gnucash-user-owner at gnucash.org
When replying, please edit your Subject line so it is more specific than
"Re: Contents of gnucash-user digest..."
More information about the gnucash-user
mailing list