[GNC] GTK Inspector blowing up on Mint 20 (was Re: help increasing size of font in GnuCash?)
Adrien Monteleone
adrien.monteleone at lusfiber.net
Tue Aug 18 01:14:32 EDT 2020
That didn't get very far. Not sure if this is a GnuCash bug, or an
Inspector bug:
```
mint at mint:~$ GTK_DEBUG=interactive /usr/bin/gnucash
Found Finance::Quote version 1.49.
**
Gdk:ERROR:../../../../gdk/gdkwindow.c:6530:gdk_window_set_cursor_internal:
assertion failed: (!cursor || gdk_window_get_display (window) ==
gdk_cursor_get_display (cursor))
Bail out!
Gdk:ERROR:../../../../gdk/gdkwindow.c:6530:gdk_window_set_cursor_internal:
assertion failed: (!cursor || gdk_window_get_display (window) ==
gdk_cursor_get_display (cursor))
Aborted (core dumped)
```
GnuCash started as did the inspector, but as soon as GnuCash finished
loading, the Inspector blew up and spit out the above.
I suspect an Inspector error but it could be from being fed something
unexpected by GnuCash.
For full disclosure, I'm running this in a live environment, Mint is not
installed.
Regards,
Adrien
On 8/17/20 11:58 PM, Adrien Monteleone wrote:
> I can confirm this.
>
> I fired up Mint 20 Cinnamon in Vbox and installed GnuCash 3.8 from the
> Mint repos.
>
> Generally, GnuCash should use the default GTK theme, which on Mint 20 is
> Mint-Y-Dark.
>
> *note, the proper file name is `settings.ini` *not* `setup.ini`
>
> Per the wiki I created:
>
> ~/.config/gtk-3.0/settings.ini
>
> to contain:
>
> [Settings]
> gtk-theme-name=Mint-Y-Dark
>
> ref: https://wiki.gnucash.org/wiki/GTK3#Themes
> ref: https://wiki.gnucash.org/wiki/Configuration_Locations#GTK_CONFIG_HOME
>
> Remembering that some 'Dark' themes aren't completely dark, with some
> panels still light, I tried:
>
> gtk-theme-name=Mint-Y-Darker
>
> to no effect.
>
> I also tried with setting this key instead:
>
> gtk-application-prefer-dark-theme=true
>
> ref:
> https://developer.gnome.org/gtk3/stable/GtkSettings.html#GtkSettings--gtk-application-prefer-dark-theme
>
> ref: https://wiki.gnucash.org/wiki/GTK3#Themes
>
> also to no effect.
>
> *note, the above referenced Wiki page on themes advises to set the theme
> using Gnome Tweak. But Mint has its own Theme preference app. Presumably
> GnuCash should use the default system theme. It also discusses
> installing a custom theme, but that is not needed in this case at is a
> system theme.
>
> I suppose I should fire up the GTKInspector to see what theme is being
> picked up. I shall report back what I find.
>
>
> Regards,
> Adrien
>
> On 8/17/20 8:53 PM, Jimmy R via gnucash-user wrote:
>> If the setup.ini works on a mac should it work on Mint/ Ubuntu if yes
>> Then I have had no luck with the setup.ini doing anything for setting the
>> dark theme = true on Mint 20.04
More information about the gnucash-user
mailing list