Let's start by identifying exactly what file is causing the issue - something like
$ find /usr/share -iname '*schema*' | grep gedit
/usr/share/glib-2.0/schemas/org.gnome.gedit.plugins.time.gschema.xml
/usr/share/glib-2.0/schemas/org.gnome.gedit.gschema.xml
/usr/share/glib-2.0/schemas/org.gnome.gedit.plugins.pythonconsole.gschema.xml
/usr/share/glib-2.0/schemas/org.gnome.gedit.plugins.externaltools.gschema.xml
/usr/share/glib-2.0/schemas/org.gnome.gedit.plugins.filebrowser.gschema.xml
The first result appears to be the file we are looking for. Now we can check which package provides that file
$ dpkg -S /usr/share/glib-2.0/schemas/org.gnome.gedit.plugins.time.gschema.xml
gedit-common: /usr/share/glib-2.0/schemas/org.gnome.gedit.plugins.time.gschema.xml
So it looks like gedit-common
is the relevant package - assuming that the schema file got manually deleted somehow, you should be able to restore it by re-installing the package, either from your GUI package manager of choice or from the terminal using
sudo apt-get install --reinstall gedit-common
sudo apt-get install gedit-plugins
gedit-common
package rather thangedit-plugins
I think (at least in 14.04)sudo apt-get install gedit-common
also doesn't work, @steeldriver.sudo apt-get install --reinstall gedit-common