[GNC] Changing default font size in Gnucash 3.2
John Ralls
jralls at ceridwen.us
Mon Jul 2 10:28:39 EDT 2018
> 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.
Regards,
John Ralls
More information about the gnucash-user
mailing list