[GNC] Old-New user with an upgrade problem: GTK CSS issue

Frank H. Ellenberger frank.h.ellenberger at gmail.com
Wed Aug 26 15:10:43 EDT 2020


Hi,

Am 26.08.20 um 19:19 schrieb Geert Janssens:
> Hi John,
> 
> That file is not created be default as it's not required for gnucash to run. You can create it 
> yourself in a text editor - it's just a plain text file - or copy the example file in place:
> https://github.com/Gnucash/gnucash/blob/maint/doc/gtk-3.0.css[1] 

That was nat the question. As shown below, there is a corrupt gtk.css on
his system.

Besides the user specific files, there can also be systemwide files like
/etc/gtk3/gtk.css

I am not shure how far that below /usr/share/themes are relevant.

> Regards,
> 
> Geert
> 
> Op woensdag 26 augustus 2020 04:06:00 CEST schreef John Angelico:
>> On Wed, 26 Aug 2020 at 01:31, John Ralls <jralls at ceridwen.us> wrote:
>>> By default gtk.css will be in $HOME/.config/gtk-3.0/
>>
>> Thanks, John (and Frank) but when I look there I find no gtk.css (nor in
>> $HOME/.config/gtk-2.0 either)
>>
>> Should the gnucash install have created one?
>>
>> Searching online I found a gtk bug report about themes: Debian Bug report
>> logs - #762936 but it is now closed as is it's follow on report xfce 11198
>>
>> Regards
>> John Angelico
>>
>>>> On Aug 25, 2020, at 7:29 AM, John Angelico <jatalldad at gmail.com> wrote:
>>>>
>>>> Thanks for the clue, Frank.
>>>>
>>>> I am not sure if I have that set.
>>>>
>>>> However, where is gtk supposed to be in a Debian system? I can see
>>>> etc/gtk-2.0 and etc/gtk-3.0 but
>>>> whereis gtk.css only replies with
>>>> gtk:
>>>> Most puzzling.
>>>>
>>>>
>>>>
>>>> On Tue, 25 Aug 2020 at 18:43, Frank H. Ellenberger <
>>>>
>>>> frank.h.ellenberger at gmail.com> wrote:
>>>>> John,
>>>>>
>>>>> Am 25.08.20 um 04:56 schrieb John Angelico:

See here or the full list in the original posting:

>>>>>> (gnucash:1345): Gtk-WARNING **: 12:51:42.048: Theme parsing error:
>>>>>> gtk.css:5898:20: Junk at end of value for border-width
>>>>>> **
>>>
>>> gnc.gui:ERROR:/build/gnucash-9jHHoN/gnucash-3.4/gnucash/gnome-utils/gnc-main-
> window.c:3676:gnc_main_window_setup_window:
>>>>>> assertion failed: (filename)
>>>>>> Aborted
>>>>>
>>>>> While Gnucash asks GTK to draw the main window, GTK tries to read its
>>>>> gtk.css file and fails.
>>>>>
>>>>> Did you install different versions of GTK or tried you to adjust the
>>>
>>> CSS?
>>>
>>>>> See
>>>
>>> https://wiki.gnucash.org/wiki/Configuration_Locations#In_GTK_CONFIG_HOME
>>>
>>>>> and
>>>
>>> https://wiki.gnucash.org/wiki/Configuration_Locations#GTK_CONFIG_HOME
>>>
>>>>> to find your gtk.css files.
>>>>>
>>>>> HTH
>>>>> Frank
>>>>
>>>> --
>>>> Best regards
>>>> John A
>>>> _______________________________________________
>>>> 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.
> 
> 
> 
> --------
> [1] https://github.com/Gnucash/gnucash/blob/maint/doc/gtk-3.0.css

Regards
Frank


More information about the gnucash-user mailing list