I still encounter this error with gedit in Ubuntu 26.04 (daily, updated
today):

(gedit:4806): libgedit-gtksourceview-WARNING **: 22:21:12.140: Failed to
load style scheme file '/usr/share/libgedit-
gtksourceview-300/styles/Yaru-dark.xml': Error on line 3 char 1:
attribute 'version' invalid for element 'style-scheme'

(gedit:4806): libgedit-gtksourceview-WARNING **: 22:21:12.140: Failed to
load style scheme file '/usr/share/libgedit-
gtksourceview-300/styles/Yaru.xml': Error on line 3 char 1: attribute
'version' invalid for element 'style-scheme'


According to other styles in /usr/share/libgedit-gtksourceview-300/styles/ the 
syntax needs to be as follows:

<?xml version="1.0" encoding="UTF-8"?>
<style-scheme id="Yaru" _name="Yaru" kind="light">

and

<?xml version="1.0" encoding="UTF-8"?>
<style-scheme id="Yaru-dark" _name="Yaru-dark" kind="dark">


I fixed it temporarily by putting an adjusted version of those files in 
~/.local/share/libgedit-gtksourceview-300/styles/ so I can select the color 
schemes.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gedit in Ubuntu.
https://bugs.launchpad.net/bugs/2084420

Title:
  Gedit Yaru theme unable to load

To manage notifications about this bug go to:
https://bugs.launchpad.net/yaru/+bug/2084420/+subscriptions


-- 
desktop-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to