Page 1 of 1

gnucahs font size

Posted: Thu Oct 24, 2024 7:19 am
by houndhen
I am using MX 23 KDE. It seems to be just what I need on my desktop. It works well for me and seems to have access to things that I use.

I have a problem with the font size in gnucash. I don't know how to effectively use the gnucash mailing lists. I have been searching and trying to find a way to increase the font size of the gnucash register. I have edited the style sheets and increased the font size but that seems to have no effect. Does anyone else have the same problem?
Is there a config file that can be created or edited?
Can someone direct me to a possible solution?

Thanks for any help

Re: gnucahs font size

Posted: Thu Oct 24, 2024 9:53 am
by Stevo
GnuCash is a GTK app, so you have to choose a theme that those apps will use under KDE in the System Settings for Plasma.

Re: gnucahs font size

Posted: Thu Oct 24, 2024 1:55 pm
by JeffA
Try this:

In GnuCash click on Help>About, then click on the link for GNC_USERCONFIG_DIR (should be .config/gnucash), then make a plain text file and name it gtk-3.0.css, then add one line to the file such as:
* {font: 14px verdana, arial, sans-serif;}
Change the font size (14) and the main font (verdana) to whatever works best for you. (I guess it uses the other fonts if verdana isn't available or something?)

Save the file and restart GnuCash.

I just tried this on XFCE and it works for me, and I assume it would work on KDE?

I got this solution off of the mailing list https://lists.gnucash.org/pipermail/gnu ... hread.html in the thread "changing fonts"

Re: gnucahs font size

Posted: Thu Oct 24, 2024 4:48 pm
by houndhen
Thanks, that helps