[GNC] Location of gtk css file on MacOS

John Ralls jralls at ceridwen.us
Fri Sep 11 22:29:58 EDT 2020


Will,

No, macOS since 10.11 won't let a program from one app bundle look at anything in another one. That's why the old Update Finance Quote applet stopped working.

Regards,
John Ralls

> On Sep 11, 2020, at 2: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
> 
> 
>> On Sep 1, 2020, at 7:33 PM, David H <hellvee at gmail.com> wrote:
>> 
>> Will,
>> 
>> The other file ~/Library/Application Support/Gnucash/config/gtk-3.0.css
>> that you said also existed only exists as an empty folder on my system ???
>> 
>> Cheers David H.
>> 
>> On Wed, 2 Sep 2020 at 11:28, will at theprescotts.com <will at theprescotts.com>
>> wrote:
>> 
>>> David,
>>> 
>>> Thanks for the response. It is curious. But I have tried that numerous
>>> times with no effect.
>>> 
>>> Will
>>> 
>>> On 2020 Sep 1, at 09-01 18:50:05, David H <hellvee at gmail.com> wrote:
>>> 
>>> Hi Will,
>>> 
>>> I'm running 4.1 on the latest Big Sur Public Beta - it's picking up the
>>> first one (/Users/davidh/Library/Application Support/Gnucash/gtk-3.0.css)
>>> which only has the following in it ...
>>> 
>>> * {
>>> font-size: 12px;
>>> }
>>> 
>>> If I change the 12px to 18 px and restart GnuCash I can see the difference
>>> right away.
>>> 
>>> Cheers David H.
>>> 
>>> 
>>> 
>>> On Wed, 2 Sep 2020 at 08:58, will at theprescotts.com <mailto:
>>> will at theprescotts.com> <will at theprescotts.com <mailto:
>>> will at theprescotts.com>> wrote:
>>> I am running Gnucash 4.1.4 on MacOS 10.15.6 and I am looking for the
>>> location of the gtk.css file that is controlling the display. I have seen
>>> discussion of it here and have looked at the wiki but I am still having
>>> trouble.
>>> 
>>> I have files:
>>> ~/Library/Application Support/Gnucash/gtk-3.0.css
>>> ~/Library/Application Support/Gnucash/config/gtk-3.0.css
>>> 
>>> However, it doesn't look like Gnucash is reading or paying attention to
>>> either. If I run Gnucash in the gtk debugger with:
>>> 
>>> GTK_DEBUG=interactive
>>> /Applications/Gnucash/Gnucash-4.1.4/Gnucash.app/Contents/MacOS/Gnucash
>>> 
>>> It does appear to read the first one, but not when I run Gnucash normally
>>> (i.e. by double clicking on the Gnucash.app or from the command line).
>>> 
>>> Any suggestions?
>>> 
>>> Thanks,
>>> Will
>>> _______________________________________________
>>> gnucash-user mailing list
>>> gnucash-user at gnucash.org <mailto:gnucash-user at gnucash.org>
>>> To update your subscription preferences or to unsubscribe:
>>> https://lists.gnucash.org/mailman/listinfo/gnucash-user <
>>> https://lists.gnucash.org/mailman/listinfo/gnucash-user>
>>> If you are using Nabble or Gmane, please see
>>> https://wiki.gnucash.org/wiki/Mailing_Lists <
>>> 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.
>>> 
>>> _______________________________________________
>>> gnucash-user mailing list
>>> gnucash-user at 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.
>>> 
>> _______________________________________________
>> gnucash-user mailing list
>> gnucash-user at 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.
> 
> 
> _______________________________________________
> gnucash-user mailing list
> gnucash-user at 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.



More information about the gnucash-user mailing list