Xfce Forum

Sub domains
 

You are not logged in.

#1 2025-12-30 23:32:25

AABB
Member
Registered: 2025-12-30
Posts: 4
LinuxChrome 139.0

<solved> gtk theme parsing error

I'm running Debian 13.2 XFCE destop

Whenever I run YAD (and only when I run YAD) I get this annoying gtk error

(yad:4560): Gtk-WARNING **: 18:24:34.093: Theme parsing error: gtk.css:5:0: Expected a valid selector

I have no idea how to stop the warning and. would appreciate any effort to resolve this.

My /usr/share/themes/  is loaded with themes including `Default` theme

My ~/.config/gtk-3.0/gtk.css  contains :

scrollbar button {
    min-width: 10px;
    min-height: 15px; }

{
    -GtkScrollbar-has-backward-stepper: true;
    -GtkScrollbar-has-forward-stepper: true; }

scrollbar.vertical button.down {
    -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); }

scrollbar.vertical button.up {
    -gtk-icon-source: -gtk-icontheme("pan-up-symbolic"); }

scrollbar.horizontal button.down {
    -gtk-icon-source: -gtk-icontheme("pan-end-symbolic"); }

scrollbar.horizontal button.up {
    -gtk-icon-source: -gtk-icontheme("pan-start-symbolic"); }

Last edited by AABB (2025-12-31 03:55:17)

Offline

#2 2025-12-31 00:24:29

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 12,421
LinuxFirefox 146.0

Re: <solved> gtk theme parsing error

AABB wrote:

{
    -GtkScrollbar-has-backward-stepper: true;
    -GtkScrollbar-has-forward-stepper: true; }

This block is not valid because there are no identifiers specified. I believe you want:

scrollbar, .scrollbar {
    -GtkScrollbar-has-backward-stepper: true;
    -GtkScrollbar-has-forward-stepper: true; }

Mark solved threads as [SOLVED] to make it easier for others to find solutions.
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2025-12-31 03:53:37

AABB
Member
Registered: 2025-12-30
Posts: 4
LinuxChrome 139.0

Re: <solved> gtk theme parsing error

ahhh... Many thanks...that solved it..  .gtk settings have always been  cryptic for me

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.032 seconds, 7 queries executed - Memory usage: 521.48 KiB (Peak: 522.46 KiB) ]