Ubuntu – Why did all the custom Gedit themes and language specs disappear after the 11.10 upgrade

11.10geditupgrade

I recently upgraded to 11.10 on my desktop, but afterward all the custom themes I added and the MediaWiki syntax highlighting were gone.

For the themes, I forget where I put the files, but the syntax highlighting was downloaded according to the author's instructions so it is still at ~/.local/share/gtksourceview-2.0/language-specs/

What gives? I tried removing the files/directory and starting over, tried moving the directory to ~/usr/share… instead, tried restarting, tried updating my packages. No luck.

Best Answer

The new location for the language specs is ~/.local/share/gtksourceview-3.0/language-specs/ (note the 3 instead of the 2). If you put your .lang files there, they should work like they did before.

I'm not sure about the gedit themes. Are they actually gtksourceview styles? They have made the same move.

There is also an old folder ~/.gnome2/gedit on my system, and also one in ~/.local/share/gedit. You could try moving files from the first of these folders to the latter and see if that solves your issue.