[GNC] Changing colors and layout on 4.8

AC gnucash at acarver.net
Fri Dec 10 13:35:02 EST 2021


Thanks Geert, that at leas would enable it but how do I bring up the 
inspector to use it?  The link to gnome.org only discusses using the 
inspector in a Linux environment but it doesn't say how to bring it up 
in a Windows environment.

On 2021-12-10 01:30, Geert Janssens wrote:
> Op vrijdag 10 december 2021 06:00:44 CET schreef Adrien Monteleone:
>> The wiki has a 'file locations' map for each major OS. Be certain if you
>> are on Windows that you are following the map for the current version.
>> They changed at least from 2.x to 3.x, and may have been changed again.
>> (I don't use Windows, so can't advise, but it should be obvious in the Wiki)
>>
>> As for non-focused issues, I can at least report that this does not
>> happen to me on MacOS. Something else might be amiss.
>>
>> If I recall, each OS is on a different GTK+ version, so some CSS
>> directives will behave differently. (as well as the default GTK itself)
>> The key to solving this would be to use the GTK Inspector as the Wiki
>> describes, but I don't think that is available on Windows. You'd have to
>> fire up a virtual machine, install GnuCash in it, then inspect the
>> various tabs/windows of the app to find out what is going on. And then,
>> if the problem does not re-appear in Linux, then...
>>
>> Another option "might" be to try WSL, but I don't know if the Inspector
>> will then work on a Windows app, or if you have to install GnuCash via
>> WSL too. (and then you're right back at the same problem with a VM and
>> different GTK versions)
>>
> WSL is a linux VM running under Windows. As such it has the same limitations with regards
> to GnuCash and the Gtk Inspector. That is Gtk Inspector running under WSL can't 'inspect'
> GnuCash running natively on Windows.
> 
> But that's not important as the inspector is part of Gtk3 and available anywhere Gtk3 is used,
> including Windows. The trick is to know how to enable it. The general idea is that if
> environment variable "GTK_DEBUG" is set to "interactive" while gnucash is starting, the
> inspector will be started. How to set environment variables is platform dependent, but the
> mechanism works on all platforms (I have just tested Windows and linux).
> 
> For convenience I have just now added a snippet to our Gtk3 wiki [1] to illustrate how to set
> the variable using the "environment.local" file in path/to/etc/gnucash. Again this path/to/etc/
> gnucash varies per platform, but its contents will be the same everywhere. And it's only one
> way to do it. Any way that sets the environment variable prior to gnucash startup will do the
> trick.
> 
> Regards,
> 
> Geert
> 
> [1] https://wiki.gnucash.org/wiki/GTK3#Using_the_GTK_Inspector[1]
> 
> --------
> [1] https://wiki.gnucash.org/wiki/GTK3#Using_the_GTK_Inspector
> _______________________________________________
> 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