[GNC] keyboard shortcut - how to implement for open/close splits?

George Riner georgeriner at mycogeo.com
Tue Sep 12 14:17:16 EDT 2023


Summarizing the wiki.gnucash.org page:

it lists the following keyboard shortcuts:

Ctrl+Alt+PgUp Ctrl+Alt+PgDown = switch between tabs in the main window
Tab = select placeholder account in the account page
Shift-RightArrow = expand tree view of place holder account in the 
account page
Shift-LeftArrow = collapse tree view of place holder account in the 
account page
Numpad_+ (or Shift-Numpad_+, not clear) = expand one level of 
placeholder account in the account page
Numpad_- (or Shift-Numpad_-, not clear) = collapse one level of 
placeholder account in the account page
[a brief explanation of the GnuCash calculator keys when entering amounts]
[a brief explanation of 'quick-fill' when when entering a description]
[a brief explanation of selecting an account when entering a transaction]
[a description of using the GnuCash menu to view all subaccount transaction]
Numpad_+ = increment date or check number fields (when in the field)
Numpad_- = decrement date or check number fields (when in the field)
Ctrl-Down = raise the accounts menu (dropdown list?) when selecting 
transfer account
Shift-PgDown = jump to the empty transaction at the bottom of the register
[a few keyboard shortcuts in the Reconcile window]

and that' s about it!

and then a brief discussion of GTK bindings showing examples for Cut, 
Copy & Paste, a functionality that is already implemented in GnuCash as 
installed.

I don't know how I'm to use this information to know how to implement a 
keyboard shortcut to <Menu><Actions><Split Transaction>

I'll keep looking around.

:George

On 9/12/2023 10:42 AM, Michael Hendry 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:
>
> Keyboard Shortcuts <https://wiki.gnucash.org/wiki/Keyboard_Shortcuts>
> wiki.gnucash.org <https://wiki.gnucash.org/wiki/Keyboard_Shortcuts>
> 	favicon.ico <https://wiki.gnucash.org/wiki/Keyboard_Shortcuts>
>
> <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
>


More information about the gnucash-user mailing list