[GNC] Can I set an option to stop auto-fill ?

NoobAlice NoobAlice at airmail.cc
Tue Jun 4 11:20:16 EDT 2024


On 2024-06-03 03:44 PM, fromvendor wrote:
> Anyway, what I'd like is if the "prior" transaction has splits, then simply leave the whole thing un-populated.  If it doesn't have splits, go ahead and put in the account.  Leave the cursor in the account field and don't fill in anything else (notes, amount, etc).  That would be ideal for me.  Simply turning off the auto-complete is, I expect, a simpler option and probably already there I just don't know where to turn it off.

I realize this isn't quite what you're asking, but there is a mouse 
right-click option on a transaction to "remove other splits."

When you are typing, using the mouse is not convenient, so you can set 
up a shortcut for it.

Reference: 
https://wiki.gnucash.org/wiki/Keyboard_Shortcuts#Modifying_Keyboard_Shortcuts

I found the full list of shortcut-able actions in my root folder
/usr/share/gnucash/ui/

So in my local file ~/.local/share/gnucash/accelerator-map (on Linux, 
your path will be different if you are on Windows or Apple), I have 
added these 2 lines:

; Remove other splits from transaction
(gtk_accel_path 
"<Actions>/GncPluginPageRegisterActions/RemoveTransactionSplitsAction" 
"<Primary>m")

Now I can hit Ctrl+M to make my other splits disappear.

Note that the example in the wiki is a different splits shortcut, I 
think to turn on multiple split entry.



More information about the gnucash-user mailing list