When I launch a GUI application, such as 'mousepad' or 'thunar' from a console, I get a warning:
    $ pkexec thunar

    (thunar:14366): Gtk-WARNING **: 16:25:21.434: Theme parsing error: gtk-contained-dark.css:2871:228: Missing closing bracket for :not()

    $ mousepad

    (mousepad:14624): Gtk-WARNING **: 16:45:35.868: Theme parsing error: gtk-contained-dark.css:2871:228: Missing closing bracket for :not()

    $ thunar

Notice, when I start 'thunar' as a normal user I don't get this warning, but when I launch 'mousepad' as a normal user I do get this warning.

Warning message is descriptive enough, so I've tried to find this 'gtk-contained-dark.css' file and fix it by myself:
    # find / -name "gtk-contained-dark.css"
    find: ‘/var/lib/lxcfs/cgroup’: Input/output error
    /usr/share/themes/Bluebird/gtk-3.0/gtk-contained-dark.css
    #
I don't use "Bluebird" theme, so I've decided to simply uninstall 'bluebird-gtk-theme' package, but it didn't helped. Now, when I try to find 'gtk-contained-dark.css' file, it looks like I don't any files with that name:
    # find / -name "gtk-contained-dark.css"
    find: ‘/var/lib/lxcfs/cgroup’: Input/output error
    #
And there are no other packages exist that could provide a file with this name:
    $ apt-file find gtk-contained-dark.css
    bluebird-gtk-theme: /usr/share/themes/Bluebird/gtk-3.0/gtk-contained-dark.css
    $
Yet, the same warning message still being displayed every time.
I suspect there is some caching mechanism within GTK, that could cause this problem, but I can't find any information about that.
Can someone help me to resolve this mystery?

My system info:
    $ uname -a
    Linux hostname 5.10.0-9-amd64 #1 SMP Debian 5.10.70-1 (2021-09-30) x86_64 GNU/Linux
DE: Xfce 4.16 (xfwm4+lightdm)
Current theme: "Adapta-Nokto" (from 'adapta-gtk-theme' package)

--
With kindest regards, Alexander.

⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀⠀⠀⠀

Reply via email to