1

When running Gedit from Terminal, I encounter an error stating that Settings schema 'org.gnome.gedit.plugins.time' is not installed. Neither purging and installing using apt-get nor removing and installing using the Ubuntu Software Center helped.

How can I bring back my Gedit? Where can I find the time-plugin?

5
  • try this sudo apt-get install gedit-plugins
    – Maythux
    May 15, 2015 at 11:49
  • Didn't help, @NewUSer.
    – MERose
    May 15, 2015 at 11:51
  • The schema is provided by the gedit-common package rather than gedit-plugins I think (at least in 14.04) May 15, 2015 at 12:22
  • sudo apt-get install gedit-common also doesn't work, @steeldriver.
    – MERose
    May 15, 2015 at 12:23
  • 1
    If you've manually deleted the file somehow, you would need to reinstall the package: sudo apt-get install --reinstall gedit-common May 15, 2015 at 12:25

1 Answer 1

7

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
2
  • @MERose the first result is org.gnome.gedit.plugins.time.gschema.xml, which appears to be the schema corresponding to the error message in your question - sorry if that was not obvious May 15, 2015 at 14:08
  • Just improving the answer for future readers ;)
    – MERose
    May 15, 2015 at 15:02

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .