[GNC] Possible to Set and Save an Individual Register's Default Style?

David Carlson david.carlson.417 at gmail.com
Tue Dec 16 23:17:57 EST 2025


I forgot to mention 'Sort Order' and 'Filter By' as other settings that may
or may not be persistent.

On Tue, Dec 16, 2025 at 10:10 PM David H <hellvee at gmail.com> wrote:

> Hi Tom,
>
> Glad it was helpful.  Be aware this works as expected on 2 of my 3 Win 11
> desktops but on the 3rd the accelerator keys create new desktops and
> attempt to start my audio recorder - obviously something different in that
> Win 11 setup or some other apps have grabbed the shortcut keys already on
> that one - I'll pin it down over time when I can be bothered :-)
>
> Cheers David H.
>
> On Wed, 17 Dec 2025 at 12:58, Tom Route36 <tom.route36 at gmail.com> wrote:
>
> > David H,
> >
> > I just want to say a big Thank You for this info.  I went and edited that
> > accelerator-map file just now; and it changed things and works exactly as
> > you described.  I still feel that the Register View Style should be saved
> > along with the Column Width settings; so I'll probably still be putting
> in
> > an RFE for that.  But having these shortcut keys available rather than
> > having to mouse-click for the View settings each time sure makes life
> > easier.  (Hey, I'm still new to GnuCash and learning my way around.)
> >
> > Thanks again.  And feel free to keep these tips coming,
> > Tom
> >
> >
> > On 12/16/2025 2:17 PM, David H wrote:
> >
> > Oops my bad, the lines to be changed will normally look as follows before
> > they are changed - i.e. empty double quotes just before the right closing
> > bracket ...
> >
> > ; (gtk_accel_path
> > "<Actions>/GncPluginPageRegisterActions/ViewStyleDoubleLineAction" "")
> > ; (gtk_accel_path
> > "<Actions>/GncPluginPageRegisterActions/ViewStyleRadioAction/0" "")
> > ; (gtk_accel_path
> > "<Actions>/GncPluginPageRegisterActions/ViewStyleRadioAction/1" "")
> > ; (gtk_accel_path
> > "<Actions>/GncPluginPageRegisterActions/ViewStyleRadioAction/2" "")
> >
> > Cheers David H.
> >
> >
> > On Wed, 17 Dec 2025 at 07:09, David H <hellvee at gmail.com> <
> hellvee at gmail.com> wrote:
> >
> >
> > What I haven't seen mentioned in all of this are the Accelerator shortcut
> > keys that for keyboard users can be set to easily change the View in the
> > current register and may alleviate the pain somewhat :-)  Personally if I
> > customise a register I tend to just leave it open permanently anyway so
> > none of this is an issue for me.
> >
> >  i.e. Basic view = ctrl + alt + b on Windows or option / command b on
> macOS
> >        AutoSplit ledger = ctrl + alt + s  on Windows or option / command
> s
> > on macOS
> >        Transaction Journal view = ctrl + alt + x  on Windows or option /
> > command x on macOS
> >        Double line view = ctrl + alt + l  on Windows or option / command
> l
> > on macOS
> >
> > If you go to Gnucash >> Help >> About on Windows  (Gnucash >> About
> > Gnucash on macOS) you will be presented with an "About GnuCash"
> > popup window.  Clicking on the GNC_USERCONFIG_DIR link will take you to
> the
> > GnuCash user config folder which contains an "accelerator-map" file.
> >
> > While GnuCash is closed, edit this file using a text editor and remove
> the
> > semi-colon (;) from the beginning of these lines to UnComment them and
> > change them as follows.  I suggest you copy this file before changing it
> so
> > you have a backup to go back to if the need arises.
> >
> > change these lines from this
> >
> > ; (gtk_accel_path
> > "<Actions>/GncPluginPageRegisterActions/ViewStyleDoubleLineAction"
> > "<Primary><Alt>l")
> > ; (gtk_accel_path
> > "<Actions>/GncPluginPageRegisterActions/ViewStyleRadioAction/0"
> > "<Primary><Alt>b")
> > ; (gtk_accel_path
> > "<Actions>/GncPluginPageRegisterActions/ViewStyleRadioAction/1"
> > "<Primary><Alt>s")
> > ;  (gtk_accel_path
> > "<Actions>/GncPluginPageRegisterActions/ViewStyleRadioAction/2"
> > "<Primary><Alt>x")
> >
> > to for example this :
> >
> > (gtk_accel_path
> > "<Actions>/GncPluginPageRegisterActions/ViewStyleDoubleLineAction"
> > "<Primary><Alt>l")
> > (gtk_accel_path
> > "<Actions>/GncPluginPageRegisterActions/ViewStyleRadioAction/0"
> > "<Primary><Alt>b")
> > (gtk_accel_path
> > "<Actions>/GncPluginPageRegisterActions/ViewStyleRadioAction/1"
> > "<Primary><Alt>s")
> > (gtk_accel_path
> > "<Actions>/GncPluginPageRegisterActions/ViewStyleRadioAction/2"
> > "<Primary><Alt>x")
> >
> > On Windows <Primary> is the ctrl key and <Alt> is self explanatory and on
> > macOS these are equivalent to option + cmd + l, b, s or x on my systems
> at
> > least :-)
> >
> > Once you have these set and save the file and re-open GnuCash you should
> > see the Shortcut keys to the right of the view style radio buttons as per
> > the screenshot below.
> >
> > Cheers David H.
> >
> > [image: image.png]
> >
> > On Wed, 17 Dec 2025 at 04:09, David Carlson <david.carlson.417 at gmail.com>
> <david.carlson.417 at gmail.com>
> > wrote:
> >
> >
> > If you are going to propose a button to save account register display
> > style, I would suggest also [optionally] saving the sort order and column
> > settings.
> >
> > On Tue, Dec 16, 2025 at 10:34 AM R Losey <rlosey at gmail.com> <
> rlosey at gmail.com> wrote:
> >
> >
> > Absolutely; it's just a temporary work around until (hopefully), the
> > feature is implemented.
> >
> > I typically keep about 8 tabs open all the time (my most frequently used
> > accounts).
> >
> > On Tue, Dec 16, 2025 at 2:10 AM Adrien Monteleone <
> > adrien.monteleone at lusfiber.net> <adrien.monteleone at lusfiber.net> wrote:
> >
> >
> > I would see the problem is that if you *ever* close that register, the
> > next time you open it, the default will take over.
> >
> > Regards,
> > Adrien
> >
> > On 12/15/25 11:58 PM, R Losey wrote:
> >
> > So... given that the Register Style persists if you have the
> >
> > register
> >
> > open,
> >
> > is that something that you cannot do?
> >
> > _______________________________________________
> > gnucash-user mailing listgnucash-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.
> >
> >
> > --
> > _________________________________
> > Richard Loseyrlosey at gmail.com
> > Micah 6:8
> > _______________________________________________
> > gnucash-user mailing listgnucash-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.
> >
> >
> > --
> > David Carlson
> > _______________________________________________
> > gnucash-user mailing listgnucash-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.
> >
> >
> >
> > _______________________________________________
> > gnucash-user mailing listgnucash-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.
> >
> >
> >
> _______________________________________________
> 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.
>


-- 
David Carlson


More information about the gnucash-user mailing list