[GNC] keyboard shortcut - how to implement for open/close splits?
George Riner
georgeriner at mycogeo.com
Tue Sep 12 14:32:23 EDT 2023
Looking at C:\Users\George\AppData\Roaming\GnuCash\accelerator-map
I see a line that looks like this:
; (gtk_accel_path
"<Actions>/GncPluginPageRegisterActions/SplitTransactionAction" "")
with nothing apparent to me about what keyboard key combination that
maps to.
and looking around at the other lines in that file with semantic parts like:
0e94fd0277ba11e8825d43e27232c9d4Action
FileSaveAction" "<Primary>s"
EmployeeNewEmployeeOpenAction
Register2TestSubAccountAction
etc, etc. I can't make heads or tails of what to add to this file.
Plus, it appears to me that every line in this file begins with a
semi-colon, effectively commenting-out the entire file so that it has no
effect whatsoever.
I'll keep looking....
:George
On 9/12/2023 10:48 AM, david whiting wrote:
> And you could add
>
> (gtk_accel_path
> "<Actions>/GncPluginPageRegisterActions/ViewStyleDoubleLineAction"
> "<Primary>4")
>
> To toggle viewing the transaction notes.
>
> David
>
> David
>
> On Tue, 12 Sept 2023 at 18:43, Michael Hendry <hendry.michael at gmail.com> wrote:
>>
>> On 12 Sep 2023, at 18:17, George Riner <georgeriner at mycogeo.com> wrote:
>>
>>> I really wish there was a keyboard shortcut to open/close the Splits on the transaction I'm in.
>>>
>>> Is there some edit I can make to a file somewhere in gnucash that would make this effect?
>>>
>>> :George
>>>
>>> GnuCash Version: 4.13
>>> Build ID: 4.13+(2022-12-17)
>>> Windows 10 22H2 (build 19045.3324)
>> Hi, George.
>>
>> Have a look here:
>>
>> https://wiki.gnucash.org/wiki/Keyboard_Shortcuts
>>
>> I use a Mac, so the file I’ve edited is
>> ~/Library/Application Settings/Gnucash/acclerator-map;
>>
>> and the necessary lines are:
>>
>> (gtk_accel_path "<Actions>/GncPluginPageRegisterActions/ViewStyleRadioAction/0" "<Primary>1")
>> (gtk_accel_path "<Actions>/GncPluginPageRegisterActions/ViewStyleRadioAction/1" "<Primary>2")
>> (gtk_accel_path "<Actions>/GncPluginPageRegisterActions/ViewStyleRadioAction/2" "<Primary>3")
>>
>> which opens the Basic Ledger view with Cmd-1, AutoSplit Ledger with Cmd-2 and Transaction Journal with Cmd-3.
>>
>> I think this should be enough to get you started.
>>
>> Regards,
>>
>> Michael
>> _______________________________________________
>> gnucash-user mailing list
>> gnucash-user at gnucash.org
>> To update your subscription preferences or to unsubscribe:
>> https://lists.gnucash.org/mailman/listinfo/gnucash-user
>> -----
>> Please remember to CC this list on all your replies.
>> You can do this by using Reply-To-List or Reply-All.
>
>
More information about the gnucash-user
mailing list