Open leisti opened 5 years ago
Same issue still present
(light-locker:4880): Gtk-WARNING **: 13:33:38.367: Theme parsing error: gtk.css:4419:85: '/*' in comment block
(light-locker:4880): Gtk-WARNING **: 13:33:38.367: Theme parsing error: gtk.css:4512:64: '/*' in comment block
(nm-applet:4866): Gtk-WARNING **: 13:33:38.388: Theme parsing error: gtk.css:4419:85: '/*' in comment block
(nm-applet:4866): Gtk-WARNING **: 13:33:38.389: Theme parsing error: gtk.css:4512:64: '/*' in comment block
EDIT: For a quick fix, open the following css files with a regex capable text editor such as sublime text, and use the following regex in find/replace to remove all commenting from both gtk css files:
# Regex to match all css comments
/\*.+?\*/
# Files to edit
/home/jeff/.themes/PRO-dark-XFCE-4.14/gtk-3.0/gtk.css
/home/jeff/.themes/PRO-dark-XFCE-4.14/gtk-3.0/gtk-dark.css
@paullinuxthemer wasn't active on Github since May 2021, I am afraid this repo is unmaintained now
I'm using the PRO-dark-XFCE-edition-II-1 theme on Xubuntu. When I open Emacs as a graphical editor from the command line, these warning are printed in the terminal emulator:
I've traced them to lines 4419 and 4512 in file gtk-3.0/gtk.css of the PRO-dark-XFCE-edition-II-1 theme:
It seems that whatever code is parsing the gtk.css file is confused by the last third-last and second-last characters (
/*
) on these lines.While this is certainly not a big deal, it is a bit annoying to have unneeded warnings in the console. This could be fixed either by deleting the lines, or probably by adding a space near their end, thus:
/*/// ... // */
.