title: Ubuntu meld: No GSettings schemas are installed on the system
body: <p>This is a vanilla Ubuntu <strong>16.04</strong> LTS, based on <a href="http://xubuntu.org/news/introducing-xubuntu-core/" rel="noreferrer">Xubuntu core</a> to be exactly. So I need to install packages myself. All went well except <code>meld</code>, on starting which, I'll get:</p>
  
  <pre><code>(meld:4188): GLib-GIO-ERROR **: No GSettings schemas are installed on the system
  
  [2]+  Trace/breakpoint trap  
  </code></pre>
  
  <p>I've found three existing answers, none of them is working for my case.</p>
  
  <ul>
  <li><a href="https://askubuntu.com/questions/266788/gnome-terminal-issue">https://askubuntu.com/questions/266788/gnome-terminal-issue</a></li>
  </ul>
  
  <p>Following the suggestions, I've done reinstalling <code>gsettings-desktop-schemas</code>:</p>
  
  <pre><code>sudo apt-get install --reinstall gsettings-desktop-schemas
  </code></pre>
  
  <ul>
  <li><a href="https://stackoverflow.com/questions/28953925/glib-gio-error-no-gsettings-schemas-are-installed-on-the-system">GLib-GIO-ERROR**: No GSettings schemas are installed on the system</a><br>
  Following the suggestions, 
  
  <ul>
  <li>I've done <code>glib-compile-schemas /usr/share/glib-2.0/schemas/</code> and </li>
  <li>I've made sure the correct gschema.xml is there </li>
  <li>and I've also tried to sets up the <code>$XDG_DATA_DIR</code> environment for meld. </li>
  </ul></li>
  </ul>
  
  <p>However, none of them is working. </p>
  
  <pre><code>  $ ls -l /usr/share/glib-2.0/schemas/org.gtk.Settings.FileChooser.gschema.xml   
    -rw-r--r-- 1 root root 5354 2016-03-24 16:46 /usr/share/glib-2.0/schemas/org.gtk.Settings.FileChooser.gschema.xml
  
  $ XDG_DATA_DIR=/usr/share/glib-2.0/schemas/ meld ...
  (meld:4326): GLib-GIO-ERROR **: No GSettings schemas are installed on the system
  
  [2]+  Trace/breakpoint trap
  </code></pre>
  
  <ul>
  <li><a href="https://stackoverflow.com/questions/35784566/meld-glib-gio-error-no-gsettings-schemas-are-installed-on-the-system">meld - GLib-GIO-ERROR**: No GSettings schemas are installed on the system</a></li>
  </ul>
  
  <p>I've consult this one as well, however, that's Redhat 6.3 server environment, and the OP was installing each component to its own prefix; thus he ran into errors like this. In other words, his case doesn't apply to my vanilla Ubuntu. </p>
  
  <p>I've run out of options. 
  Please help. </p>
  
  <p>Thanks</p>
  
  <pre><code>$ gsettings list-recursively
  No schemas installed
  
  $ lsb_release -a 
  No LSB modules are available.
  Distributor ID: Ubuntu
  Description:    Ubuntu 16.04 LTS
  Release:        16.04
  Codename:       xenial
  
  $ uname -rm
  4.4.0-21-generic x86_64
  
  $ apt-cache policy meld gsettings-desktop-schemas
  meld:
    Installed: 3.14.2-1
    Candidate: 3.14.2-1
    Version table:
   *** 3.14.2-1 500
          500 http://archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
          100 /var/lib/dpkg/status
  gsettings-desktop-schemas:
    Installed: 3.18.1-1ubuntu1
    Candidate: 3.18.1-1ubuntu1
    Version table:
   *** 3.18.1-1ubuntu1 500
          500 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages
          100 /var/lib/dpkg/status
  </code></pre>