Something in the Rocky + KDEPlasma ISO causes colors.css
to have invalid values.
These may be introduced by changing the theme of konsole
, but I’m not sure.
The symptom is the following complaint after running either emacs
or vmware
from a command line:
(emacs:22358): Gtk-WARNING **: 09:10:21.260: Theme parsing error: colors.css:71:44: Invalid number for color value
(emacs:22358): Gtk-WARNING **: 09:10:21.260: Theme parsing error: colors.css:72:44: Invalid number for color value
(emacs:22358): Gtk-WARNING **: 09:10:21.260: Theme parsing error: colors.css:74:53: Invalid number for color value
(emacs:22358): Gtk-WARNING **: 09:10:21.260: Theme parsing error: colors.css:75:53: Invalid number for color value
(emacs:22358): Gtk-WARNING **: 09:10:21.260: Theme parsing error: colors.css:76:56: Invalid number for color value
(emacs:22358): Gtk-WARNING **: 09:10:21.260: Theme parsing error: colors.css:77:65: Invalid number for color value
According to find
, there is just one colors.css
file on the system, with the following full path:
/root/.config/gtk-3.0/colors.css
The last few lines of this file contain the values that seem to break the apps that attempt to use this:
@define-color theme_titlebar_background rgb();
@define-color theme_titlebar_foreground rgb();
@define-color theme_titlebar_background_light #eff0f1;
@define-color theme_titlebar_foreground_backdrop rgb();
@define-color theme_titlebar_background_backdrop rgb();
@define-color theme_titlebar_foreground_insensitive rgb();
@define-color theme_titlebar_foreground_insensitive_backdrop rgb();
The calls to rgb()
are invalid because they lack an argument.
I’ve edited this file so that those lines contain the following:
@define-color theme_titlebar_background rgb(71,80,87);
@define-color theme_titlebar_foreground rgb(252,252,252);
@define-color theme_titlebar_background_light #eff0f1;
@define-color theme_titlebar_foreground_backdrop rgb(189,195,199);
@define-color theme_titlebar_background_backdrop rgb(239,240,241);
@define-color theme_titlebar_foreground_insensitive rgb(189,195,199);
@define-color theme_titlebar_foreground_insensitive_backdrop rgb(189,195,199);
This silences the complaint(s), but doesn’t address the underlying question of how colors.css
was broken in the first place. I suspect it is some KDE
/plasma
issue, but I know little or nothing about those components.
I’m surfacing this in hopes that it is helpful to those who know more all this.