[GNC] Changing default font size in Gnucash 3.2

Geert Janssens geert.gnucash at kobaltwit.be
Mon Jul 2 12:03:23 EDT 2018


Op maandag 2 juli 2018 16:28:39 CEST schreef John Ralls:
> > On Jul 2, 2018, at 2:46 AM, Geert Janssens <geert.gnucash at kobaltwit.be>
> > wrote:> 
> > Op zondag 1 juli 2018 21:03:50 CEST schreef Daniel Dickinson:
> >> I just upgraded to Gnucash 3.2 (on Mac OS X 10.13.4) and am having
> >> trouble
> >> setting a default font size.  The current font is too small and makes it
> >> very difficult for me to read the register.
> >> 
> >> 
> >> Following the instructions at https://wiki.gnucash.org/wiki/GTK3, I
> >> created
> >> the file ~/Library/Application
> >> Support/Gnucash/config/gtk-3.0/settings.ini
> > 
> >> (this file didn't exist previously), with the following contents:
> > I wrote these instructions, but I'll admit the location of this file on
> > Macos was an educated guess which I can't verify as I don't have an Macos
> > system available to experiment with.
> > There is potentially a second location that could be queried rather that
> > the one above.
> > Can you try to make the changes here instead:
> > ~/.config/gtk-3.0/settings.ini
> > 
> > I would be interested to learn if that does work.
> > 
> > Otherwise the suggestion by GT-I9070 H is the third option. It is likely
> > to
> > work because we have more direct control over GNC_CONFIG_HOME.
> 
> ~/Application Support/Gnucash/config/gtk-3.0 is the correct path on MacOS.
> XDG_CONFIG_HOME is set in
> Gnucash.app/Contents/Resources/etc/gnucash/environment and needs to be
> changed there to override it.
> 
> I’ve found that settings.ini doesn’t work to set the font, you need a
> gtk.css in the same directory with contents like * {
>     font-family: Arial;
> }
> 
> and whatever other CSS font directives you want.

I'm curious what gtk3 does differently on MacOS that it doesn't pick up 
settings.ini in its config file, or ignores the font configuration. Or is 
there another font override in the way on that platform ?

Geert




More information about the gnucash-user mailing list