Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ubuntu 24.10 gedit doesn't use Yaru theme #4140

Open
jbicha opened this issue Sep 16, 2024 · 2 comments
Open

Ubuntu 24.10 gedit doesn't use Yaru theme #4140

jbicha opened this issue Sep 16, 2024 · 2 comments

Comments

@jbicha
Copy link
Contributor

jbicha commented Sep 16, 2024

Expected Behavior

gedit displays the Yaru theme

Actual Behavior

$ gedit 

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

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

(gedit): tepl-WARNING **:  Style scheme 'Yaru' cannot be found,
 falling back to 'tango' default style scheme.

Software that presents the issue

  • gedit 46.2-3
  • libgedit-gtksourceview 299.0.4-3build1
  • tepl 6.8.0-2build4
  • OS version: Ubuntu 24.10

Yaru version

  • 24.10.4-0ubuntu1
@Muqtxdir
Copy link
Member

hi @jbicha

it's possible that this was caused by changes from pr #4088

@Subham0134
Copy link

Solution:
open terminal in ubuntu then type this following commands
$ sudo -i(Root terminal opened )

then;

sudo gedit /usr/share/libgedit-gtksourceview-300/styles/Yaru-dark.xml

<opens Yaru-dark.xml file and view or edit this system file, which defines the dark color scheme for syntax highlighting in gedit (specifically for the Yaru-dark theme).>
then after:
""
this line you see
""
just simply write
version=''1.0"
''after kind=dark''

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants