[GNC] Location of gtk css file on MacOS
Adrien Monteleone
adrien.monteleone at lusfiber.net
Fri Sep 11 18:17:20 EDT 2020
If you think you *really* need to keep an older version, I'd install
that to your own ~/Applications directory, then delete the rest save for
the most recent 4.1. Otherwise, just grab another copy of that version's
dmg and save it somewhere just in case. It is trivial to re-install if
needed. That way, you eliminate all chance of overrides.
The rest shouldn't technically interfere because they shouldn't be
looking in each other's application bundles, but are you certain you are
always opening 4.1? How do you tell them apart?
Do you have anything regarding GnuCash or GTK in ~/.config? If so, I'd
move that out of there for later triaging, or if you know you don't need
it, delete.
Regards,
Adrien
On 9/11/20 4:50 PM, will at theprescotts.com wrote:
> John,
>
> I'm just getting back to investigating this. I have tried making changes to both of those two files and I don't see any change when I open Gnucash. I have done a search for gtk-3.0.css. Most of the ones it finds are in the Gnucash applications themselves. I have a bunch of old Gnucash apps on my machine. Could they be causing problems.
>
> /Users/[user]/Library/Application Support/Gnucash/gtk-3.0.css
> /Users/[user]/Library/Application Support/Gnucash/config/gtk-3.0/gtk-3.0.css
> /Applications/Gnucash//Gnucash-3.10/Gnucash.app/Contents/Resources/share/doc/gnucash/gtk-3.0.css
> /Applications/Gnucash//Gnucash-3.4/Gnucash.app/Contents/Resources/share/doc/gnucash/gtk-3.0.css
> /Applications/Gnucash//Gnucash-3.0-1/Gnucash.app/Contents/Resources/share/doc/gnucash/gtk-3.0.css
> /Applications/Gnucash//Gnucash-4.1.4/Gnucash.app/Contents/Resources/share/doc/gnucash/gtk-3.0.css
> /Applications/Gnucash//Gnucash-4.0/Gnucash.app/Contents/Resources/share/doc/gnucash/gtk-3.0.css
> /Applications/Gnucash//Gnucash-4.1/Gnucash.app/Contents/Resources/share/doc/gnucash/gtk-3.0.css
>
> Will
>
>
> On 2020 Sep 1, at 09-01 22:10:44, John Ralls <jralls at ceridwen.us> wrote:
>
> As long as you haven't messed with anything the two documented locations are:
> ~/Library/Application Support/Gnucash/gtk-3.0.css
> ~/Library/Application Support/Gnucash/config/gtk-3.0/gtk.css
>
> The second is because GnuCash.app/Contents/Resources/etc/gnucash/environment sets XDG_CONFIG_HOME to $HOME/Library/Application Support/Gnucash/config.
>
> Documentation aside, older versions of Gtk would look in other places for backwards compatibility, like ~/.config/gtk-3.0 and ~/.gtk-3.0, and ~/.themes/Adwaita. You might to a global search for files named gtk.css to make sure that there isn't a leftover somewhere overriding the one you want to use.
>
> Regards,
> John Ralls
More information about the gnucash-user
mailing list