title: Changes to Gedit through gsettings seem to be ignored
body: <p>I'm trying to use <code>gsettings</code> to change some of my Gedit settings (Ubuntu 20.04), but my changes seem to be ignored by Gedit. For example, when I change the tab width through</p>
  <pre><code>gsettings set org.gnome.gedit.preferences.editor tabs-size 4
  </code></pre>
  <p>my new tab width does show up in</p>
  <pre><code>gsettings list-recursively | grep gedit
  </code></pre>
  <p>but when I open anything in Gedit, it's still using the default tab width of 8.</p>
  <p>In this example case this isn't much of a problem, as I can change the tab width from the Gedit GUI as well, but other settings, such as right margin position, don't seem to be in the Gedit Preferences menu.</p>
  <p>When I tried to <code>sudo</code> the <code>gsettings</code> command I got this error:</p>
  <pre><code>(process:4742): dconf-WARNING **: 08:03:40.804: failed to commit changes to dconf: Error spawning command line “dbus-launch --autolaunch=0d66e8250a634e9d8ee4675ca3d977fa --binary-syntax --close-stderr”: Child process exited with code 1
  </code></pre>
  <p>So what would be the correct way to use gsettings here?</p>