I don't know what I'm doing wrong. I'm using a custom theme called Twilight for Gedit and I'm trying to change some of the colors of the theme.
I went to: /home/user/.local/share/gedit/twilight.xml
The default color I'm trying to change is:
<color name="steelblue3" value="#4f94cd"/>
to
<color name="moon_grey" value="#f7f7f7">
The code I'm changing:
<style name="bracket-match" background="steelblue3"/>
To this:
<style name="bracket-match" background="moon_grey"/>
But after I do use the line above, nothing happens. It still comes out as steel blue. I exited out completely and came back in and it was still the same color. I also tried "reseting" but repicking the theme in the Preferences > Fonts & Colors but nothing happened again. I also deleted the steel blue line but even than it stayed as is.
What's going on? How do I change a color of the theme?
UPDATE
I restarted the computer and things have changed. I have 2 files now - the regular twilight.xml
and another twilight.xml~
file. I cannot open twilight.xml~
as it gives me the error:
Could not display "/home/user/.local/share/gedit/styles/twilight.xml~".
But I can click on the regular file. My changes are still there but it switched to a different theme and the Twilight theme is unavailable in the preferences. What happened to it?
ls -al
in the directory in which you findtwilight.xml
and give use the first eight characters (the permissions) of the line oftwilight.xml
and the same with the~
version. This looks like a permissions issue.twilight.xml~
is just a temp file. You can safely delete it. There have been several suggestions on what to do about these files.