Public bug reported:

Gedit will produce the following error on startup:
(gedit:256008): libgedit-gtksourceview-WARNING **: 14:43:48.787: could not load 
style scheme file '/usr/share/libgedit-gtksourceview-300/styles/Yaru.xml': 
missing 'version' attribute

(gedit:256008): libgedit-gtksourceview-WARNING **: 14:43:48.787: could
not load style scheme file '/usr/share/libgedit-
gtksourceview-300/styles/Yaru-dark.xml': missing 'version' attribute

at the top of the files, a version number needs to be added like in the example 
below:
from
<style-scheme id="Yaru-dark" _name="Yaru-dark" kind="dark">
to
<style-scheme id="Yaru-dark" _name="Yaru-dark" kind="dark" version="1.0">

once this is done, restart gedit and you will be able to enjoy the
theme.

Interestingly, these files aren't part of libgedit-
gtksourceview-300-common so they must be added by a different package.
Edit: is is part of yaru-theme-gtk

ProblemType: Bug
DistroRelease: Ubuntu 24.10
Package: gedit 46.2-3
ProcVersionSignature: Ubuntu 6.11.0-8.8-generic 6.11.0
Uname: Linux 6.11.0-8-generic x86_64
ApportVersion: 2.30.0-0ubuntu4
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Mon Oct 14 14:50:25 2024
InstallationDate: Installed on 2022-04-06 (922 days ago)
InstallationMedia: Ubuntu 21.10 "Impish Indri" - Release amd64 (20211012)
SourcePackage: gedit
UpgradeStatus: Upgraded to oracular on 2024-10-11 (3 days ago)

** Affects: gedit (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug oracular

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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/ubuntu/+source/gedit/+bug/2084420/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to