I change the xml file in the /usr/share/gtksourceview-3.0/styles/
but it didn't work, and when I want to add my own scheme through the Preference –> Font&Color and it replied that
"The selected color scheme cannot be installed".
what's wrong with it?
And I noticed that I have already change the gedit color scheme to "oblivion" and font site to 14, but when I start gedit from terminal using sudo gedit
, the open window falls back to the default setting.
How can I fix this?
Best Answer
On my machine it seems gedit keeps its newly added themes at:
though I believe on some installations it is at:
The original themes are (on my machine) at:
So the information below isn't particularly relevant, though I'll let it stay because it might help in some way.
From the documentation at: https://wiki.gnome.org/Projects/GtkSourceView/StyleSchemes