I will concur with all the other responders to this, that it's very common to want to customize the font and many other things about the program to make it more appealing or readable, etc. The thing about CSS files, if I understand things correctly, is that they are kind of a "read thru once" type of file. You specify the broad aspects of the appearances at the beginning of the file and then narrow down the scope of your changes as you progress down through the rest of the file.

I'm using GnuCash on a Mac so the location of settings files and the like is different from a Windows based operating system. But, the syntax used to make the settings is the same, as far as the CSS file goes. The Wiki is a good place to get an idea of the different places for the different configuration files, as has been suggested by others.

I do use Windows at work, and one of my pet peeves about their philosophy is making things "simple" for users with respect to file types and the like. In this area, simple seems to equal ignorant. They default to hiding "known" file types, as if that is some great favor to you, so you don't have to worry your little self about such things. Argh. This makes it incredibly difficult to help someone when they're looking at a directory of files and it shows three "setup" files, because Windows is saving you the bother of knowing there is a setup.bat, setup.exe, and setup.ini file. Unless you turn off that particular option, you don't know which file is which.

So, in case you are being cursed with the "it says it's gtk-3.0.css but I think it's saving as gtk-3.0.css.txt", attached is a gtk-3.0.css file that only contains the font settings listed in the messages below. You can try to copy this file in the location(s) specified by the Wiki, or any other suggestions you find in other messages about this topic, from the past. You close GnuCash, copy it to the directory you think will work, then start GnuCash, see if it did anything, etc. This is the method of testing settings if you're changing them by editing the .css file.

Once you get this initial setting working, you can maybe take a look at any of the other customizations people have done. You can really do some nice stuff with the GTK settings.

On 2022-01-16 13:44, David JamesTK wrote:
Thanks Glen, yup, removed TXT as this also appeared when first editing 
settings.ini file.

It is still a text file tho', as opposed to a configuration file (settings.ini)

That link is useful, i'll try a few examples and go from there rather not take 
up anymore of folks time.

Appreciate the help.

David

________________________________
From: Glenn Fowler<gfowl...@outlook.com>
Sent: 16 January 2022 18:20
To: David JamesTK<davidjame...@hotmail.co.uk>
Cc: D.<sunfis...@yahoo.com>; D. via gnucash-user<gnucash-user@gnucash.org>
Subject: Re: [GNC] access to Gnucash Nabble

Hi David,

Even though it's a txt file make sure you save it as gtk-3.0.css not 
gtk-3.0.css.txt

Use this syntax instead of the one you posted:

* {
    font: 24px arial;
}

Here is an example css with other things that you might want to change:

https://github.com/Gnucash/gnucash/blob/maint/doc/gtk-3.0.css



On Sun, Jan 16, 2022 at 11:23 AM David JamesTK 
<davidjame...@hotmail.co.uk<mailto:davidjame...@hotmail.co.uk>> wrote:
Followed to the letter but no change.

Desktop which is a new build and new GNUCash install does have this path above, 
results should match your own.

Created a text file gtk-3.0.css in C:\Users\david\AppData\Roaming\GnuCash\

The text file only contains the below

* {
    font-size: 24px;
    font-family: "Arial", sans-serif;
}

Has no one else asked to change the font before ?

Cheers all
________________________________
From: D. <sunfis...@yahoo.com<mailto:sunfis...@yahoo.com>>
Sent: 16 January 2022 13:29
To: David JamesTK 
<davidjame...@hotmail.co.uk<mailto:davidjame...@hotmail.co.uk>>
Cc: David H <hell...@gmail.com<mailto:hell...@gmail.com>>; D. via gnucash-user 
<gnucash-user@gnucash.org<mailto:gnucash-user@gnucash.org>>
Subject: Re: [GNC] access to Gnucash Nabble

David,

Until you create gtk-3.0.css, it's not going to exist.

Use Notepad, copy and paste what I sent (maybe use "24px" as a test), and Save 
it as:

C:\Users\david\AppData\Roaming\GnuCash\gtk-3.0.css

Then start gnucash and see if things are changed.
________________________________
From: David JamesTK
Sent: Sun Jan 16 00:16:05 EST 2022
To: "D."
Cc: David H , "gnucash-user@gnucash.org<mailto:gnucash-user@gnucash.org>"
Subject: Re: [GNC] access to Gnucash Nabble

Thanks D, searched C: drive but no gtk-3.0.css file found.

With Windows 10 changing the overall size of everything is easy, can be done in 
small increments too only problem is all items are made larger - Chrome is 
already bordering on too big at the moment.

Nabble

Yes, sorry the title is a bit misleading as originally asking where the Nabble 
mailing list forum (not a forum) thingy had moved to, thought support may have 
stopped.

David H, can I respond to you also, the wiki page is my reference point too, if 
you can highlight what needs to be typed i.e correct syntax as per D response 
that would be great.

Cheers
________________________________
From: D. <sunfis...@yahoo.com<mailto:sunfis...@yahoo.com>>
Sent: 16 January 2022 02:55
To: David JamesTK 
<davidjame...@hotmail.co.uk<mailto:davidjame...@hotmail.co.uk>>
Cc: David H <hell...@gmail.com<mailto:hell...@gmail.com>>; 
gnucash-user@gnucash.org<mailto:gnucash-user@gnucash.org>  
<gnucash-user@gnucash.org<mailto:gnucash-user@gnucash.org>>
Subject: Re: [GNC] access to Gnucash Nabble

So,

My gtk-3.0.css is in

C:\Users\{USERNAME}\AppData\Roaming\GnuCash

And the designator that changes fonts looks like this:

* {
    font-size: 16px;
    font-family: "Arial", sans-serif;
}

You'd be better off following that, rather than copying from another app.

David T.
________________________________
From: David JamesTK
Sent: Sat Jan 15 20:12:23 EST 2022
To: David H
Cc: GnuCash users group
Subject: Re: [GNC] access to Gnucash Nabble


Copied the config file containing this

[Settings]
gtk-font-name=Arial 18
gtk-xft-antialias=1
gtk-xft-hinting=1
gtk-xft-hintstyle=hintfull
gtk-xft-rgba=rgb

Into empty file location C:\Users\david\AppData\Local\gtk-3.

No change, this happened with Thunderbird too, option there was edit css file 
something mentioned on wiki also.

Cheers



________________________________

From: David H <hell...@gmail.com<mailto:hell...@gmail.com>>
Sent: 16 January 2022 00:50
To: David JamesTK 
<davidjame...@hotmail.co.uk<mailto:davidjame...@hotmail.co.uk>>
Cc: Glenn Fowler <gfowl...@outlook.com<mailto:gfowl...@outlook.com>>; GnuCash users group 
<gnucash-user@gnucash.org<mailto:gnucash-user@gnucash.org>>
Subject: Re: [GNC] access to Gnucash Nabble


It’s my understanding the file is optional so won’t appear in all locations? 
Have you tried copying your file into the app data location which is currently 
empty by the look of things?

Cheers David H.

On Sun, 16 Jan 2022 at 10:35 am, David JamesTK 
<davidjame...@hotmail.co.uk<mailto:davidjame...@hotmail.co.uk><mailto:davidjame...@hotmail.co.uk<mailto:davidjame...@hotmail.co.uk>>>
 wrote:
Cheers David, tried the local folder first but appears empty (hide system files 
option off)

C:\Users\david\AppData\Local\gtk-3.0  (empty)

Searching C drive for gtk-3.0 returns four entries below with my comments in 
blue;

C:\Program Files (x86)\gnucash\etc\gtk-3.0  (currently in this folder)

C:\Users\david\AppData\Local\gtk-3.0  (empty)

C:\Program Files (x86)\gnucash\share\themes\Default\gtk-3.0 (contains css file 
gtk-keys)

C:\Program Files (x86)\gnucash\share\themes\Emacs\gtk-3.0  (contains css file 
gtk-keys)



________________________________

From: David H 
<hell...@gmail.com<mailto:hell...@gmail.com><mailto:hell...@gmail.com<mailto:hell...@gmail.com>>>
Sent: 16 January 2022 00:09
To: David JamesTK 
<davidjame...@hotmail.co.uk<mailto:davidjame...@hotmail.co.uk><mailto:davidjame...@hotmail.co.uk<mailto:davidjame...@hotmail.co.uk>>>
Cc: Glenn Fowler 
<gfowl...@outlook.com<mailto:gfowl...@outlook.com><mailto:gfowl...@outlook.com<mailto:gfowl...@outlook.com>>>;
 GnuCash users group 
<gnucash-user@gnucash.org<mailto:gnucash-user@gnucash.org><mailto:gnucash-user@gnucash.org<mailto:gnucash-user@gnucash.org>>>
Subject: Re: [GNC] access to Gnucash Nabble

Probably not, depends what you set GNC_DATA_HOME to I guess  - check that wiki 
again -https://wiki.gnucash.org/wiki/Configuration_Locations#GTK_CONFIG_HOME

Cheers David H.
GTK_DATA_HOME

Versions: 3.x and more recent only

GnuCash uses GTK for its graphical user interface; thus, locations that are used by 
GTK are also relevant. Note the base directories on Windows and macOS for this differ 
from the base directories for 
GNC_DATA_HOME<https://wiki.gnucash.org/wiki/Configuration_Locations#GNC_DATA_HOME>.

Linux
USER_DATA_HOME<https://wiki.gnucash.org/wiki/Configuration_Locations#USER_DATA_HOME>/gtk-3.0
Windows
%LOCALAPPDATA%<https://wiki.gnucash.org/wiki/Configuration_Locations#Environment_variables_LOCALAPPDATA_and_APPDATA>\gtk-3.0
macOS
HOME<https://wiki.gnucash.org/wiki/Configuration_Locations#HOME>/.local/share/gtk-3.0


On Sun, 16 Jan 2022 at 09:56, David JamesTK 
<davidjame...@hotmail.co.uk<mailto:davidjame...@hotmail.co.uk><mailto:davidjame...@hotmail.co.uk<mailto:davidjame...@hotmail.co.uk>>>
 wrote:
Thanks Glen.

Currently in this folder C:\Program Files (x86)\gnucash\etc\gtk-3.0  on Windows 
10 Pro
editing this file settings.ini

Before

[Settings]
gtk-xft-antialias=1
gtk-xft-hinting=1
gtk-xft-hintstyle=hintfull
gtk-xft-rgba=rgb

After

[Settings]
gtk-font-name=Arial 18
gtk-xft-antialias=1
gtk-xft-hinting=1
gtk-xft-hintstyle=hintfull
gtk-xft-rgba=rgb

Is this the right folder location and entry (18 font not needed, just making it 
super obvious for any changes)

Thanks, David




________________________________

From: Glenn Fowler 
<gfowl...@outlook.com<mailto:gfowl...@outlook.com><mailto:gfowl...@outlook.com<mailto:gfowl...@outlook.com>>>
Sent: 15 January 2022 23:47
To: David JamesTK 
<davidjame...@hotmail.co.uk<mailto:davidjame...@hotmail.co.uk><mailto:davidjame...@hotmail.co.uk<mailto:davidjame...@hotmail.co.uk>>>
Cc: GnuCash users group 
<gnucash-user@gnucash.org<mailto:gnucash-user@gnucash.org><mailto:gnucash-user@gnucash.org<mailto:gnucash-user@gnucash.org>>>
Subject: Re: [GNC] access to Gnucash Nabble

Hi,

You can use any text editor


On Sat, Jan 15, 2022, 6:20 PM David JamesTK 
<davidjame...@hotmail.co.uk<mailto:davidjame...@hotmail.co.uk><mailto:davidjame...@hotmail.co.uk<mailto:davidjame...@hotmail.co.uk>><mailto:davidjame...@hotmail.co.uk<mailto:davidjame...@hotmail.co.uk><mailto:davidjame...@hotmail.co.uk<mailto:davidjame...@hotmail.co.uk>>>>
 wrote:
Hello all,

No idea if this will reach anyone but wanted to ask a question please.

Just switched back to using Windows (long story) but noticed the font is 
smaller than on Mint using the same screen.

Followed most of the GTK 3.0 instructions on Wiki including editing 
settings.ini file as per their help file, unfortunately no change at all.

Do I need to run GTK inspector to edit or can this be done in notepad (as I 
have done?)

Thanks,

David




________________________________

gnucash-user mailing list
gnucash-user@gnucash.org<mailto:gnucash-user@gnucash.org><mailto:gnucash-user@gnucash.org<mailto:gnucash-user@gnucash.org>><mailto:gnucash-user@gnucash.org<mailto:gnucash-user@gnucash.org><mailto:gnucash-user@gnucash.org<mailto:gnucash-user@gnucash.org>>>
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please 
seehttps://wiki.gnucash.org/wiki/Mailing_Lists  for more information.
-----
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@gnucash.org<mailto:gnucash-user@gnucash.org><mailto:gnucash-user@gnucash.org<mailto:gnucash-user@gnucash.org>>
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please 
seehttps://wiki.gnucash.org/wiki/Mailing_Lists  for more information.
-----
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@gnucash.org<mailto:gnucash-user@gnucash.org>
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please 
seehttps://wiki.gnucash.org/wiki/Mailing_Lists  for more information.
-----
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@gnucash.org<mailto:gnucash-user@gnucash.org>
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please 
seehttps://wiki.gnucash.org/wiki/Mailing_Lists  for more information.
-----
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@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please 
seehttps://wiki.gnucash.org/wiki/Mailing_Lists  for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.
*
{
  font-family:      "Arial", sans-serif ;
  font-size:        24px ;
}
_______________________________________________
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.

Reply via email to