My dconf/gsettings installation is broken. How can I fix it without Ubuntu reinstall?











up vote
16
down vote

favorite
9












I run Ubuntu 12.04.1 LTS x64 in VirtualBox. After one very unfortunate misclick (reset saved state instead of load saved state) I got a very annoying problem.



Almost all applications (unity, synaptic, gedit, etc.) print on start:



Using the 'memory' GSettings backend.  Your settings will not be saved or shared with other applications.


And all GUI settings reset after reboot.



Another symptom:



$ GSETTINGS_BACKEND=dconf dconf-editor
(dconf-editor:2353): GLib-GIO-WARNING **: Can't find module 'dconf' specified in GSETTINGS_BACKEND
GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications


But /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so is present.





What I tried (and it didn't help):




  • sudo apt-get install -f --reinstall dconf-tools libdconf0 libdconf-dbus-1-0 dconf-service

  • Build dconf-0.5 from sources and make install it

  • Create empty user profile and start programs there


I have to keep current Ubuntu installation so a complete reinstall is not an option for me.



How can I fix it?










share|improve this question




















  • 1




    I encountered the same GLib-GIO-Message when trying to use gsettings to set the Launcher position. I searched thru the forum's posts and tried the suggestions here including resetting dynamic linker configuration using ldconfig. However, all could not fix the problem. Then Dmitry's post got me thinking to use ldd to check 'gsettings' shared object dependencies, which caused me to find out the executable I was using came from that in Anaconda's installation. By using the version in /usr/bin resolved the issue.
    – panna
    Aug 7 '17 at 4:56















up vote
16
down vote

favorite
9












I run Ubuntu 12.04.1 LTS x64 in VirtualBox. After one very unfortunate misclick (reset saved state instead of load saved state) I got a very annoying problem.



Almost all applications (unity, synaptic, gedit, etc.) print on start:



Using the 'memory' GSettings backend.  Your settings will not be saved or shared with other applications.


And all GUI settings reset after reboot.



Another symptom:



$ GSETTINGS_BACKEND=dconf dconf-editor
(dconf-editor:2353): GLib-GIO-WARNING **: Can't find module 'dconf' specified in GSETTINGS_BACKEND
GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications


But /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so is present.





What I tried (and it didn't help):




  • sudo apt-get install -f --reinstall dconf-tools libdconf0 libdconf-dbus-1-0 dconf-service

  • Build dconf-0.5 from sources and make install it

  • Create empty user profile and start programs there


I have to keep current Ubuntu installation so a complete reinstall is not an option for me.



How can I fix it?










share|improve this question




















  • 1




    I encountered the same GLib-GIO-Message when trying to use gsettings to set the Launcher position. I searched thru the forum's posts and tried the suggestions here including resetting dynamic linker configuration using ldconfig. However, all could not fix the problem. Then Dmitry's post got me thinking to use ldd to check 'gsettings' shared object dependencies, which caused me to find out the executable I was using came from that in Anaconda's installation. By using the version in /usr/bin resolved the issue.
    – panna
    Aug 7 '17 at 4:56













up vote
16
down vote

favorite
9









up vote
16
down vote

favorite
9






9





I run Ubuntu 12.04.1 LTS x64 in VirtualBox. After one very unfortunate misclick (reset saved state instead of load saved state) I got a very annoying problem.



Almost all applications (unity, synaptic, gedit, etc.) print on start:



Using the 'memory' GSettings backend.  Your settings will not be saved or shared with other applications.


And all GUI settings reset after reboot.



Another symptom:



$ GSETTINGS_BACKEND=dconf dconf-editor
(dconf-editor:2353): GLib-GIO-WARNING **: Can't find module 'dconf' specified in GSETTINGS_BACKEND
GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications


But /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so is present.





What I tried (and it didn't help):




  • sudo apt-get install -f --reinstall dconf-tools libdconf0 libdconf-dbus-1-0 dconf-service

  • Build dconf-0.5 from sources and make install it

  • Create empty user profile and start programs there


I have to keep current Ubuntu installation so a complete reinstall is not an option for me.



How can I fix it?










share|improve this question















I run Ubuntu 12.04.1 LTS x64 in VirtualBox. After one very unfortunate misclick (reset saved state instead of load saved state) I got a very annoying problem.



Almost all applications (unity, synaptic, gedit, etc.) print on start:



Using the 'memory' GSettings backend.  Your settings will not be saved or shared with other applications.


And all GUI settings reset after reboot.



Another symptom:



$ GSETTINGS_BACKEND=dconf dconf-editor
(dconf-editor:2353): GLib-GIO-WARNING **: Can't find module 'dconf' specified in GSETTINGS_BACKEND
GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications


But /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so is present.





What I tried (and it didn't help):




  • sudo apt-get install -f --reinstall dconf-tools libdconf0 libdconf-dbus-1-0 dconf-service

  • Build dconf-0.5 from sources and make install it

  • Create empty user profile and start programs there


I have to keep current Ubuntu installation so a complete reinstall is not an option for me.



How can I fix it?







dconf gsettings






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jun 7 '16 at 9:03









muru

134k19282482




134k19282482










asked Dec 9 '14 at 14:42









Dmitry

1,42131112




1,42131112








  • 1




    I encountered the same GLib-GIO-Message when trying to use gsettings to set the Launcher position. I searched thru the forum's posts and tried the suggestions here including resetting dynamic linker configuration using ldconfig. However, all could not fix the problem. Then Dmitry's post got me thinking to use ldd to check 'gsettings' shared object dependencies, which caused me to find out the executable I was using came from that in Anaconda's installation. By using the version in /usr/bin resolved the issue.
    – panna
    Aug 7 '17 at 4:56














  • 1




    I encountered the same GLib-GIO-Message when trying to use gsettings to set the Launcher position. I searched thru the forum's posts and tried the suggestions here including resetting dynamic linker configuration using ldconfig. However, all could not fix the problem. Then Dmitry's post got me thinking to use ldd to check 'gsettings' shared object dependencies, which caused me to find out the executable I was using came from that in Anaconda's installation. By using the version in /usr/bin resolved the issue.
    – panna
    Aug 7 '17 at 4:56








1




1




I encountered the same GLib-GIO-Message when trying to use gsettings to set the Launcher position. I searched thru the forum's posts and tried the suggestions here including resetting dynamic linker configuration using ldconfig. However, all could not fix the problem. Then Dmitry's post got me thinking to use ldd to check 'gsettings' shared object dependencies, which caused me to find out the executable I was using came from that in Anaconda's installation. By using the version in /usr/bin resolved the issue.
– panna
Aug 7 '17 at 4:56




I encountered the same GLib-GIO-Message when trying to use gsettings to set the Launcher position. I searched thru the forum's posts and tried the suggestions here including resetting dynamic linker configuration using ldconfig. However, all could not fix the problem. Then Dmitry's post got me thinking to use ldd to check 'gsettings' shared object dependencies, which caused me to find out the executable I was using came from that in Anaconda's installation. By using the version in /usr/bin resolved the issue.
– panna
Aug 7 '17 at 4:56










6 Answers
6






active

oldest

votes

















up vote
11
down vote



accepted










I've found the solution. It appears that I got several custom-built libraries in /usr/local/lib that "shadowed" system libraries from /usr/lib/x86_64-linux-gnu/.



I discovered it by checking dynamic libraries loaded by libdconfsettings.so:



ldd /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so

...
< several dynamic libraries from /usr/local/lib >
...


It happened because of the order of search paths for dynamic libraries (defined in /etc/ld.so.conf.d/). The order was the following:




  1. /lib/i386-linux-gnu

  2. /usr/lib/i386-linux-gnu

  3. /lib/i686-linux-gnu

  4. /usr/lib/i686-linux-gnu

  5. /usr/local/lib

  6. /lib/x86_64-linux-gnu

  7. /usr/lib/x86_64-linux-gnu


So if for example you put your own libc.so into /usr/local/lib it will be loaded instead of default libc.so from /lib/x86_64-linux-gnu.



The fix:



sudo mv /etc/ld.so.conf.d/libc.conf /etc/ld.so.conf.d/xuserlocal.conf
sudo ldconfig
sudo reboot





share|improve this answer

















  • 2




    Thanks, I also had this problem, because I tried to develop a patch for glib and executed sudo make install. sudo make uninstall solved the problem by removing those libraries at /usr/local/lib/
    – mxmlnkn
    Apr 26 '16 at 11:11






  • 1




    +1. Really solved a similar problem came up after installation of Glib2.
    – 111
    Oct 5 '16 at 22:55






  • 2




    Linux Mint kept going back to default settings and not respecting any changes I made and double checked in dconf-editor. Turned out that I had built glib from source and sudo make install which I had no idea would not let me change my background or clock, or other cinnamon settings. Was driving me nuts. Back link: forums.linuxmint.com/viewtopic.php?t=244360&start=20
    – RyanNerd
    Jun 8 '17 at 2:06










  • i get this error! mv: cannot stat '/etc/ld.so.conf.d/libc.conf': No such file or directory and i do not have any libraries in my /usr/loca/lib except the python environments i have on Anaconda. but the whole problem started when i installed a new package. and it does not happen when i run my code on jupyter-notebook instead of IDE!
    – Amir
    Jul 20 '17 at 21:53












  • @Amir Does ldd output is the same as in issue description? Probably you have another issue.
    – Dmitry
    Jul 21 '17 at 11:38


















up vote
10
down vote













This can also happen if you have PATH conflicts with a Python enviroment manager like Anaconda.



Make sure to run which gsettings before getting too deep. If that doesn't print /usr/bin/gsettings and instead something like /home/{username}/anaconda3/bin/gsettings you probably have something .profile like:



export PATH=$HOME/anaconda3/bin:$PATH



Change it to:
export PATH=$PATH:$HOME/anaconda3/bin



Appending instead of preprending to the PATH variable will solve your issue, but be aware that anything in your system bin, or other PATH locations, will supersede your anaconda3/bin.






share|improve this answer



















  • 1




    The first part (running which) is excellent advice. The second part, not so much. You generally want your environment to run using its own setup. A better, or at least alternative, solution might be to explicitly run /usr/bin/gsettings instead of messing with PATH.
    – Mad Physicist
    May 14 at 18:20










  • Yup, totally agree with you! I think overall, you should generally be aware of how the PATH is source/applied.
    – Austin Cawley-Edwards
    Jul 9 at 15:31










  • It solved my problem in Ubuntu 18.04 very nice answer +1
    – Opt
    Sep 26 at 3:56










  • Since this is getting some traction, I think another good way might be to keep anaconda out of your path if you are having conflicts and run commands with python -m [command] [...args] instead.
    – Austin Cawley-Edwards
    Oct 2 at 14:19


















up vote
5
down vote













First check if this command returns true:



gsettings writable com.canonical.Unity.Launcher favorites


If not, install the backend with:



sudo apt-get install dconf-gsettings-backend 


If this doesn't help either, reset your profile with:



rm -rf ~/.gnome ~/.gnome2 ~/.gconf ~/.gconfd ~/.metacity .config/dconf/*


Afterwards reboot.






share|improve this answer

















  • 1




    the first command returns 'true' (along with "using 'memory' backend"). Regarding removing user configuration: I already tried to create an empty profile and the problem persists even with empty user account.
    – Dmitry
    Dec 9 '14 at 15:07










  • Do you have the dconf-gsettings-backend installed?
    – Frantique
    Dec 9 '14 at 15:12










  • Yes, dconf-gsettings-backend is installed (and reinstalled several times).
    – Dmitry
    Dec 9 '14 at 15:18










  • You mentioned a misclick. Where happened that?
    – Frantique
    Dec 9 '14 at 15:26






  • 1




    Thanks for your answer. I found the solution (posted as an answer)
    – Dmitry
    Dec 9 '14 at 15:35


















up vote
2
down vote













Just wanted to add my personal experience on this with ubuntu 16.10. Mine stopped working after using GNOME desktop environment for a while, and then switching to Unity to show a friend how nasty it looked (IMO :D), and back to GNOME. I then started getting the "...using memory backend...".



Doing



rm -rf ~/.gnome ~/.gnome2 ~/.gconf ~/.gconfd ~/.metacity .config/dconf/*
sudo ldconfig
sudo reboot


Fixed it for me.






share|improve this answer

















  • 1




    Note that this wipes all of the configuration for your desktop.
    – moorepants
    Jul 20 '17 at 16:18


















up vote
1
down vote













I experienced same thing in Debian Jessie.
But questioner's solution (he had failed with it) was proper for my case:



 sudo apt-get install -f --reinstall  dconf-tools libdconf0 libdconf-dbus-1-0 dconf-service


This problem had been killing me, but you saved my life, Thanks :D






share|improve this answer






























    up vote
    0
    down vote













    Make sure you have the module that does the saving (libdconfsettings.so in /usr/lib/x86_64-linux-gnu/gio/modules/ or /usr/lib/gio/modules/ or wherever you store your GIO modules). On Ubuntu that file is provided by the dconf-gsettings-backend package; reinstalling that one should suffice (sudo aptitude reinstall dconf-gsettings-backend).






    share|improve this answer





















      Your Answer








      StackExchange.ready(function() {
      var channelOptions = {
      tags: "".split(" "),
      id: "89"
      };
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function() {
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled) {
      StackExchange.using("snippets", function() {
      createEditor();
      });
      }
      else {
      createEditor();
      }
      });

      function createEditor() {
      StackExchange.prepareEditor({
      heartbeatType: 'answer',
      convertImagesToLinks: true,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: 10,
      bindNavPrevention: true,
      postfix: "",
      imageUploader: {
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      },
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      });


      }
      });














       

      draft saved


      draft discarded


















      StackExchange.ready(
      function () {
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f558446%2fmy-dconf-gsettings-installation-is-broken-how-can-i-fix-it-without-ubuntu-reins%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      6 Answers
      6






      active

      oldest

      votes








      6 Answers
      6






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes








      up vote
      11
      down vote



      accepted










      I've found the solution. It appears that I got several custom-built libraries in /usr/local/lib that "shadowed" system libraries from /usr/lib/x86_64-linux-gnu/.



      I discovered it by checking dynamic libraries loaded by libdconfsettings.so:



      ldd /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so

      ...
      < several dynamic libraries from /usr/local/lib >
      ...


      It happened because of the order of search paths for dynamic libraries (defined in /etc/ld.so.conf.d/). The order was the following:




      1. /lib/i386-linux-gnu

      2. /usr/lib/i386-linux-gnu

      3. /lib/i686-linux-gnu

      4. /usr/lib/i686-linux-gnu

      5. /usr/local/lib

      6. /lib/x86_64-linux-gnu

      7. /usr/lib/x86_64-linux-gnu


      So if for example you put your own libc.so into /usr/local/lib it will be loaded instead of default libc.so from /lib/x86_64-linux-gnu.



      The fix:



      sudo mv /etc/ld.so.conf.d/libc.conf /etc/ld.so.conf.d/xuserlocal.conf
      sudo ldconfig
      sudo reboot





      share|improve this answer

















      • 2




        Thanks, I also had this problem, because I tried to develop a patch for glib and executed sudo make install. sudo make uninstall solved the problem by removing those libraries at /usr/local/lib/
        – mxmlnkn
        Apr 26 '16 at 11:11






      • 1




        +1. Really solved a similar problem came up after installation of Glib2.
        – 111
        Oct 5 '16 at 22:55






      • 2




        Linux Mint kept going back to default settings and not respecting any changes I made and double checked in dconf-editor. Turned out that I had built glib from source and sudo make install which I had no idea would not let me change my background or clock, or other cinnamon settings. Was driving me nuts. Back link: forums.linuxmint.com/viewtopic.php?t=244360&start=20
        – RyanNerd
        Jun 8 '17 at 2:06










      • i get this error! mv: cannot stat '/etc/ld.so.conf.d/libc.conf': No such file or directory and i do not have any libraries in my /usr/loca/lib except the python environments i have on Anaconda. but the whole problem started when i installed a new package. and it does not happen when i run my code on jupyter-notebook instead of IDE!
        – Amir
        Jul 20 '17 at 21:53












      • @Amir Does ldd output is the same as in issue description? Probably you have another issue.
        – Dmitry
        Jul 21 '17 at 11:38















      up vote
      11
      down vote



      accepted










      I've found the solution. It appears that I got several custom-built libraries in /usr/local/lib that "shadowed" system libraries from /usr/lib/x86_64-linux-gnu/.



      I discovered it by checking dynamic libraries loaded by libdconfsettings.so:



      ldd /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so

      ...
      < several dynamic libraries from /usr/local/lib >
      ...


      It happened because of the order of search paths for dynamic libraries (defined in /etc/ld.so.conf.d/). The order was the following:




      1. /lib/i386-linux-gnu

      2. /usr/lib/i386-linux-gnu

      3. /lib/i686-linux-gnu

      4. /usr/lib/i686-linux-gnu

      5. /usr/local/lib

      6. /lib/x86_64-linux-gnu

      7. /usr/lib/x86_64-linux-gnu


      So if for example you put your own libc.so into /usr/local/lib it will be loaded instead of default libc.so from /lib/x86_64-linux-gnu.



      The fix:



      sudo mv /etc/ld.so.conf.d/libc.conf /etc/ld.so.conf.d/xuserlocal.conf
      sudo ldconfig
      sudo reboot





      share|improve this answer

















      • 2




        Thanks, I also had this problem, because I tried to develop a patch for glib and executed sudo make install. sudo make uninstall solved the problem by removing those libraries at /usr/local/lib/
        – mxmlnkn
        Apr 26 '16 at 11:11






      • 1




        +1. Really solved a similar problem came up after installation of Glib2.
        – 111
        Oct 5 '16 at 22:55






      • 2




        Linux Mint kept going back to default settings and not respecting any changes I made and double checked in dconf-editor. Turned out that I had built glib from source and sudo make install which I had no idea would not let me change my background or clock, or other cinnamon settings. Was driving me nuts. Back link: forums.linuxmint.com/viewtopic.php?t=244360&start=20
        – RyanNerd
        Jun 8 '17 at 2:06










      • i get this error! mv: cannot stat '/etc/ld.so.conf.d/libc.conf': No such file or directory and i do not have any libraries in my /usr/loca/lib except the python environments i have on Anaconda. but the whole problem started when i installed a new package. and it does not happen when i run my code on jupyter-notebook instead of IDE!
        – Amir
        Jul 20 '17 at 21:53












      • @Amir Does ldd output is the same as in issue description? Probably you have another issue.
        – Dmitry
        Jul 21 '17 at 11:38













      up vote
      11
      down vote



      accepted







      up vote
      11
      down vote



      accepted






      I've found the solution. It appears that I got several custom-built libraries in /usr/local/lib that "shadowed" system libraries from /usr/lib/x86_64-linux-gnu/.



      I discovered it by checking dynamic libraries loaded by libdconfsettings.so:



      ldd /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so

      ...
      < several dynamic libraries from /usr/local/lib >
      ...


      It happened because of the order of search paths for dynamic libraries (defined in /etc/ld.so.conf.d/). The order was the following:




      1. /lib/i386-linux-gnu

      2. /usr/lib/i386-linux-gnu

      3. /lib/i686-linux-gnu

      4. /usr/lib/i686-linux-gnu

      5. /usr/local/lib

      6. /lib/x86_64-linux-gnu

      7. /usr/lib/x86_64-linux-gnu


      So if for example you put your own libc.so into /usr/local/lib it will be loaded instead of default libc.so from /lib/x86_64-linux-gnu.



      The fix:



      sudo mv /etc/ld.so.conf.d/libc.conf /etc/ld.so.conf.d/xuserlocal.conf
      sudo ldconfig
      sudo reboot





      share|improve this answer












      I've found the solution. It appears that I got several custom-built libraries in /usr/local/lib that "shadowed" system libraries from /usr/lib/x86_64-linux-gnu/.



      I discovered it by checking dynamic libraries loaded by libdconfsettings.so:



      ldd /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so

      ...
      < several dynamic libraries from /usr/local/lib >
      ...


      It happened because of the order of search paths for dynamic libraries (defined in /etc/ld.so.conf.d/). The order was the following:




      1. /lib/i386-linux-gnu

      2. /usr/lib/i386-linux-gnu

      3. /lib/i686-linux-gnu

      4. /usr/lib/i686-linux-gnu

      5. /usr/local/lib

      6. /lib/x86_64-linux-gnu

      7. /usr/lib/x86_64-linux-gnu


      So if for example you put your own libc.so into /usr/local/lib it will be loaded instead of default libc.so from /lib/x86_64-linux-gnu.



      The fix:



      sudo mv /etc/ld.so.conf.d/libc.conf /etc/ld.so.conf.d/xuserlocal.conf
      sudo ldconfig
      sudo reboot






      share|improve this answer












      share|improve this answer



      share|improve this answer










      answered Dec 9 '14 at 15:33









      Dmitry

      1,42131112




      1,42131112








      • 2




        Thanks, I also had this problem, because I tried to develop a patch for glib and executed sudo make install. sudo make uninstall solved the problem by removing those libraries at /usr/local/lib/
        – mxmlnkn
        Apr 26 '16 at 11:11






      • 1




        +1. Really solved a similar problem came up after installation of Glib2.
        – 111
        Oct 5 '16 at 22:55






      • 2




        Linux Mint kept going back to default settings and not respecting any changes I made and double checked in dconf-editor. Turned out that I had built glib from source and sudo make install which I had no idea would not let me change my background or clock, or other cinnamon settings. Was driving me nuts. Back link: forums.linuxmint.com/viewtopic.php?t=244360&start=20
        – RyanNerd
        Jun 8 '17 at 2:06










      • i get this error! mv: cannot stat '/etc/ld.so.conf.d/libc.conf': No such file or directory and i do not have any libraries in my /usr/loca/lib except the python environments i have on Anaconda. but the whole problem started when i installed a new package. and it does not happen when i run my code on jupyter-notebook instead of IDE!
        – Amir
        Jul 20 '17 at 21:53












      • @Amir Does ldd output is the same as in issue description? Probably you have another issue.
        – Dmitry
        Jul 21 '17 at 11:38














      • 2




        Thanks, I also had this problem, because I tried to develop a patch for glib and executed sudo make install. sudo make uninstall solved the problem by removing those libraries at /usr/local/lib/
        – mxmlnkn
        Apr 26 '16 at 11:11






      • 1




        +1. Really solved a similar problem came up after installation of Glib2.
        – 111
        Oct 5 '16 at 22:55






      • 2




        Linux Mint kept going back to default settings and not respecting any changes I made and double checked in dconf-editor. Turned out that I had built glib from source and sudo make install which I had no idea would not let me change my background or clock, or other cinnamon settings. Was driving me nuts. Back link: forums.linuxmint.com/viewtopic.php?t=244360&start=20
        – RyanNerd
        Jun 8 '17 at 2:06










      • i get this error! mv: cannot stat '/etc/ld.so.conf.d/libc.conf': No such file or directory and i do not have any libraries in my /usr/loca/lib except the python environments i have on Anaconda. but the whole problem started when i installed a new package. and it does not happen when i run my code on jupyter-notebook instead of IDE!
        – Amir
        Jul 20 '17 at 21:53












      • @Amir Does ldd output is the same as in issue description? Probably you have another issue.
        – Dmitry
        Jul 21 '17 at 11:38








      2




      2




      Thanks, I also had this problem, because I tried to develop a patch for glib and executed sudo make install. sudo make uninstall solved the problem by removing those libraries at /usr/local/lib/
      – mxmlnkn
      Apr 26 '16 at 11:11




      Thanks, I also had this problem, because I tried to develop a patch for glib and executed sudo make install. sudo make uninstall solved the problem by removing those libraries at /usr/local/lib/
      – mxmlnkn
      Apr 26 '16 at 11:11




      1




      1




      +1. Really solved a similar problem came up after installation of Glib2.
      – 111
      Oct 5 '16 at 22:55




      +1. Really solved a similar problem came up after installation of Glib2.
      – 111
      Oct 5 '16 at 22:55




      2




      2




      Linux Mint kept going back to default settings and not respecting any changes I made and double checked in dconf-editor. Turned out that I had built glib from source and sudo make install which I had no idea would not let me change my background or clock, or other cinnamon settings. Was driving me nuts. Back link: forums.linuxmint.com/viewtopic.php?t=244360&start=20
      – RyanNerd
      Jun 8 '17 at 2:06




      Linux Mint kept going back to default settings and not respecting any changes I made and double checked in dconf-editor. Turned out that I had built glib from source and sudo make install which I had no idea would not let me change my background or clock, or other cinnamon settings. Was driving me nuts. Back link: forums.linuxmint.com/viewtopic.php?t=244360&start=20
      – RyanNerd
      Jun 8 '17 at 2:06












      i get this error! mv: cannot stat '/etc/ld.so.conf.d/libc.conf': No such file or directory and i do not have any libraries in my /usr/loca/lib except the python environments i have on Anaconda. but the whole problem started when i installed a new package. and it does not happen when i run my code on jupyter-notebook instead of IDE!
      – Amir
      Jul 20 '17 at 21:53






      i get this error! mv: cannot stat '/etc/ld.so.conf.d/libc.conf': No such file or directory and i do not have any libraries in my /usr/loca/lib except the python environments i have on Anaconda. but the whole problem started when i installed a new package. and it does not happen when i run my code on jupyter-notebook instead of IDE!
      – Amir
      Jul 20 '17 at 21:53














      @Amir Does ldd output is the same as in issue description? Probably you have another issue.
      – Dmitry
      Jul 21 '17 at 11:38




      @Amir Does ldd output is the same as in issue description? Probably you have another issue.
      – Dmitry
      Jul 21 '17 at 11:38












      up vote
      10
      down vote













      This can also happen if you have PATH conflicts with a Python enviroment manager like Anaconda.



      Make sure to run which gsettings before getting too deep. If that doesn't print /usr/bin/gsettings and instead something like /home/{username}/anaconda3/bin/gsettings you probably have something .profile like:



      export PATH=$HOME/anaconda3/bin:$PATH



      Change it to:
      export PATH=$PATH:$HOME/anaconda3/bin



      Appending instead of preprending to the PATH variable will solve your issue, but be aware that anything in your system bin, or other PATH locations, will supersede your anaconda3/bin.






      share|improve this answer



















      • 1




        The first part (running which) is excellent advice. The second part, not so much. You generally want your environment to run using its own setup. A better, or at least alternative, solution might be to explicitly run /usr/bin/gsettings instead of messing with PATH.
        – Mad Physicist
        May 14 at 18:20










      • Yup, totally agree with you! I think overall, you should generally be aware of how the PATH is source/applied.
        – Austin Cawley-Edwards
        Jul 9 at 15:31










      • It solved my problem in Ubuntu 18.04 very nice answer +1
        – Opt
        Sep 26 at 3:56










      • Since this is getting some traction, I think another good way might be to keep anaconda out of your path if you are having conflicts and run commands with python -m [command] [...args] instead.
        – Austin Cawley-Edwards
        Oct 2 at 14:19















      up vote
      10
      down vote













      This can also happen if you have PATH conflicts with a Python enviroment manager like Anaconda.



      Make sure to run which gsettings before getting too deep. If that doesn't print /usr/bin/gsettings and instead something like /home/{username}/anaconda3/bin/gsettings you probably have something .profile like:



      export PATH=$HOME/anaconda3/bin:$PATH



      Change it to:
      export PATH=$PATH:$HOME/anaconda3/bin



      Appending instead of preprending to the PATH variable will solve your issue, but be aware that anything in your system bin, or other PATH locations, will supersede your anaconda3/bin.






      share|improve this answer



















      • 1




        The first part (running which) is excellent advice. The second part, not so much. You generally want your environment to run using its own setup. A better, or at least alternative, solution might be to explicitly run /usr/bin/gsettings instead of messing with PATH.
        – Mad Physicist
        May 14 at 18:20










      • Yup, totally agree with you! I think overall, you should generally be aware of how the PATH is source/applied.
        – Austin Cawley-Edwards
        Jul 9 at 15:31










      • It solved my problem in Ubuntu 18.04 very nice answer +1
        – Opt
        Sep 26 at 3:56










      • Since this is getting some traction, I think another good way might be to keep anaconda out of your path if you are having conflicts and run commands with python -m [command] [...args] instead.
        – Austin Cawley-Edwards
        Oct 2 at 14:19













      up vote
      10
      down vote










      up vote
      10
      down vote









      This can also happen if you have PATH conflicts with a Python enviroment manager like Anaconda.



      Make sure to run which gsettings before getting too deep. If that doesn't print /usr/bin/gsettings and instead something like /home/{username}/anaconda3/bin/gsettings you probably have something .profile like:



      export PATH=$HOME/anaconda3/bin:$PATH



      Change it to:
      export PATH=$PATH:$HOME/anaconda3/bin



      Appending instead of preprending to the PATH variable will solve your issue, but be aware that anything in your system bin, or other PATH locations, will supersede your anaconda3/bin.






      share|improve this answer














      This can also happen if you have PATH conflicts with a Python enviroment manager like Anaconda.



      Make sure to run which gsettings before getting too deep. If that doesn't print /usr/bin/gsettings and instead something like /home/{username}/anaconda3/bin/gsettings you probably have something .profile like:



      export PATH=$HOME/anaconda3/bin:$PATH



      Change it to:
      export PATH=$PATH:$HOME/anaconda3/bin



      Appending instead of preprending to the PATH variable will solve your issue, but be aware that anything in your system bin, or other PATH locations, will supersede your anaconda3/bin.







      share|improve this answer














      share|improve this answer



      share|improve this answer








      edited Oct 2 at 14:23

























      answered Feb 19 at 22:56









      Austin Cawley-Edwards

      10115




      10115








      • 1




        The first part (running which) is excellent advice. The second part, not so much. You generally want your environment to run using its own setup. A better, or at least alternative, solution might be to explicitly run /usr/bin/gsettings instead of messing with PATH.
        – Mad Physicist
        May 14 at 18:20










      • Yup, totally agree with you! I think overall, you should generally be aware of how the PATH is source/applied.
        – Austin Cawley-Edwards
        Jul 9 at 15:31










      • It solved my problem in Ubuntu 18.04 very nice answer +1
        – Opt
        Sep 26 at 3:56










      • Since this is getting some traction, I think another good way might be to keep anaconda out of your path if you are having conflicts and run commands with python -m [command] [...args] instead.
        – Austin Cawley-Edwards
        Oct 2 at 14:19














      • 1




        The first part (running which) is excellent advice. The second part, not so much. You generally want your environment to run using its own setup. A better, or at least alternative, solution might be to explicitly run /usr/bin/gsettings instead of messing with PATH.
        – Mad Physicist
        May 14 at 18:20










      • Yup, totally agree with you! I think overall, you should generally be aware of how the PATH is source/applied.
        – Austin Cawley-Edwards
        Jul 9 at 15:31










      • It solved my problem in Ubuntu 18.04 very nice answer +1
        – Opt
        Sep 26 at 3:56










      • Since this is getting some traction, I think another good way might be to keep anaconda out of your path if you are having conflicts and run commands with python -m [command] [...args] instead.
        – Austin Cawley-Edwards
        Oct 2 at 14:19








      1




      1




      The first part (running which) is excellent advice. The second part, not so much. You generally want your environment to run using its own setup. A better, or at least alternative, solution might be to explicitly run /usr/bin/gsettings instead of messing with PATH.
      – Mad Physicist
      May 14 at 18:20




      The first part (running which) is excellent advice. The second part, not so much. You generally want your environment to run using its own setup. A better, or at least alternative, solution might be to explicitly run /usr/bin/gsettings instead of messing with PATH.
      – Mad Physicist
      May 14 at 18:20












      Yup, totally agree with you! I think overall, you should generally be aware of how the PATH is source/applied.
      – Austin Cawley-Edwards
      Jul 9 at 15:31




      Yup, totally agree with you! I think overall, you should generally be aware of how the PATH is source/applied.
      – Austin Cawley-Edwards
      Jul 9 at 15:31












      It solved my problem in Ubuntu 18.04 very nice answer +1
      – Opt
      Sep 26 at 3:56




      It solved my problem in Ubuntu 18.04 very nice answer +1
      – Opt
      Sep 26 at 3:56












      Since this is getting some traction, I think another good way might be to keep anaconda out of your path if you are having conflicts and run commands with python -m [command] [...args] instead.
      – Austin Cawley-Edwards
      Oct 2 at 14:19




      Since this is getting some traction, I think another good way might be to keep anaconda out of your path if you are having conflicts and run commands with python -m [command] [...args] instead.
      – Austin Cawley-Edwards
      Oct 2 at 14:19










      up vote
      5
      down vote













      First check if this command returns true:



      gsettings writable com.canonical.Unity.Launcher favorites


      If not, install the backend with:



      sudo apt-get install dconf-gsettings-backend 


      If this doesn't help either, reset your profile with:



      rm -rf ~/.gnome ~/.gnome2 ~/.gconf ~/.gconfd ~/.metacity .config/dconf/*


      Afterwards reboot.






      share|improve this answer

















      • 1




        the first command returns 'true' (along with "using 'memory' backend"). Regarding removing user configuration: I already tried to create an empty profile and the problem persists even with empty user account.
        – Dmitry
        Dec 9 '14 at 15:07










      • Do you have the dconf-gsettings-backend installed?
        – Frantique
        Dec 9 '14 at 15:12










      • Yes, dconf-gsettings-backend is installed (and reinstalled several times).
        – Dmitry
        Dec 9 '14 at 15:18










      • You mentioned a misclick. Where happened that?
        – Frantique
        Dec 9 '14 at 15:26






      • 1




        Thanks for your answer. I found the solution (posted as an answer)
        – Dmitry
        Dec 9 '14 at 15:35















      up vote
      5
      down vote













      First check if this command returns true:



      gsettings writable com.canonical.Unity.Launcher favorites


      If not, install the backend with:



      sudo apt-get install dconf-gsettings-backend 


      If this doesn't help either, reset your profile with:



      rm -rf ~/.gnome ~/.gnome2 ~/.gconf ~/.gconfd ~/.metacity .config/dconf/*


      Afterwards reboot.






      share|improve this answer

















      • 1




        the first command returns 'true' (along with "using 'memory' backend"). Regarding removing user configuration: I already tried to create an empty profile and the problem persists even with empty user account.
        – Dmitry
        Dec 9 '14 at 15:07










      • Do you have the dconf-gsettings-backend installed?
        – Frantique
        Dec 9 '14 at 15:12










      • Yes, dconf-gsettings-backend is installed (and reinstalled several times).
        – Dmitry
        Dec 9 '14 at 15:18










      • You mentioned a misclick. Where happened that?
        – Frantique
        Dec 9 '14 at 15:26






      • 1




        Thanks for your answer. I found the solution (posted as an answer)
        – Dmitry
        Dec 9 '14 at 15:35













      up vote
      5
      down vote










      up vote
      5
      down vote









      First check if this command returns true:



      gsettings writable com.canonical.Unity.Launcher favorites


      If not, install the backend with:



      sudo apt-get install dconf-gsettings-backend 


      If this doesn't help either, reset your profile with:



      rm -rf ~/.gnome ~/.gnome2 ~/.gconf ~/.gconfd ~/.metacity .config/dconf/*


      Afterwards reboot.






      share|improve this answer












      First check if this command returns true:



      gsettings writable com.canonical.Unity.Launcher favorites


      If not, install the backend with:



      sudo apt-get install dconf-gsettings-backend 


      If this doesn't help either, reset your profile with:



      rm -rf ~/.gnome ~/.gnome2 ~/.gconf ~/.gconfd ~/.metacity .config/dconf/*


      Afterwards reboot.







      share|improve this answer












      share|improve this answer



      share|improve this answer










      answered Dec 9 '14 at 14:53









      Frantique

      6,9672447




      6,9672447








      • 1




        the first command returns 'true' (along with "using 'memory' backend"). Regarding removing user configuration: I already tried to create an empty profile and the problem persists even with empty user account.
        – Dmitry
        Dec 9 '14 at 15:07










      • Do you have the dconf-gsettings-backend installed?
        – Frantique
        Dec 9 '14 at 15:12










      • Yes, dconf-gsettings-backend is installed (and reinstalled several times).
        – Dmitry
        Dec 9 '14 at 15:18










      • You mentioned a misclick. Where happened that?
        – Frantique
        Dec 9 '14 at 15:26






      • 1




        Thanks for your answer. I found the solution (posted as an answer)
        – Dmitry
        Dec 9 '14 at 15:35














      • 1




        the first command returns 'true' (along with "using 'memory' backend"). Regarding removing user configuration: I already tried to create an empty profile and the problem persists even with empty user account.
        – Dmitry
        Dec 9 '14 at 15:07










      • Do you have the dconf-gsettings-backend installed?
        – Frantique
        Dec 9 '14 at 15:12










      • Yes, dconf-gsettings-backend is installed (and reinstalled several times).
        – Dmitry
        Dec 9 '14 at 15:18










      • You mentioned a misclick. Where happened that?
        – Frantique
        Dec 9 '14 at 15:26






      • 1




        Thanks for your answer. I found the solution (posted as an answer)
        – Dmitry
        Dec 9 '14 at 15:35








      1




      1




      the first command returns 'true' (along with "using 'memory' backend"). Regarding removing user configuration: I already tried to create an empty profile and the problem persists even with empty user account.
      – Dmitry
      Dec 9 '14 at 15:07




      the first command returns 'true' (along with "using 'memory' backend"). Regarding removing user configuration: I already tried to create an empty profile and the problem persists even with empty user account.
      – Dmitry
      Dec 9 '14 at 15:07












      Do you have the dconf-gsettings-backend installed?
      – Frantique
      Dec 9 '14 at 15:12




      Do you have the dconf-gsettings-backend installed?
      – Frantique
      Dec 9 '14 at 15:12












      Yes, dconf-gsettings-backend is installed (and reinstalled several times).
      – Dmitry
      Dec 9 '14 at 15:18




      Yes, dconf-gsettings-backend is installed (and reinstalled several times).
      – Dmitry
      Dec 9 '14 at 15:18












      You mentioned a misclick. Where happened that?
      – Frantique
      Dec 9 '14 at 15:26




      You mentioned a misclick. Where happened that?
      – Frantique
      Dec 9 '14 at 15:26




      1




      1




      Thanks for your answer. I found the solution (posted as an answer)
      – Dmitry
      Dec 9 '14 at 15:35




      Thanks for your answer. I found the solution (posted as an answer)
      – Dmitry
      Dec 9 '14 at 15:35










      up vote
      2
      down vote













      Just wanted to add my personal experience on this with ubuntu 16.10. Mine stopped working after using GNOME desktop environment for a while, and then switching to Unity to show a friend how nasty it looked (IMO :D), and back to GNOME. I then started getting the "...using memory backend...".



      Doing



      rm -rf ~/.gnome ~/.gnome2 ~/.gconf ~/.gconfd ~/.metacity .config/dconf/*
      sudo ldconfig
      sudo reboot


      Fixed it for me.






      share|improve this answer

















      • 1




        Note that this wipes all of the configuration for your desktop.
        – moorepants
        Jul 20 '17 at 16:18















      up vote
      2
      down vote













      Just wanted to add my personal experience on this with ubuntu 16.10. Mine stopped working after using GNOME desktop environment for a while, and then switching to Unity to show a friend how nasty it looked (IMO :D), and back to GNOME. I then started getting the "...using memory backend...".



      Doing



      rm -rf ~/.gnome ~/.gnome2 ~/.gconf ~/.gconfd ~/.metacity .config/dconf/*
      sudo ldconfig
      sudo reboot


      Fixed it for me.






      share|improve this answer

















      • 1




        Note that this wipes all of the configuration for your desktop.
        – moorepants
        Jul 20 '17 at 16:18













      up vote
      2
      down vote










      up vote
      2
      down vote









      Just wanted to add my personal experience on this with ubuntu 16.10. Mine stopped working after using GNOME desktop environment for a while, and then switching to Unity to show a friend how nasty it looked (IMO :D), and back to GNOME. I then started getting the "...using memory backend...".



      Doing



      rm -rf ~/.gnome ~/.gnome2 ~/.gconf ~/.gconfd ~/.metacity .config/dconf/*
      sudo ldconfig
      sudo reboot


      Fixed it for me.






      share|improve this answer












      Just wanted to add my personal experience on this with ubuntu 16.10. Mine stopped working after using GNOME desktop environment for a while, and then switching to Unity to show a friend how nasty it looked (IMO :D), and back to GNOME. I then started getting the "...using memory backend...".



      Doing



      rm -rf ~/.gnome ~/.gnome2 ~/.gconf ~/.gconfd ~/.metacity .config/dconf/*
      sudo ldconfig
      sudo reboot


      Fixed it for me.







      share|improve this answer












      share|improve this answer



      share|improve this answer










      answered Dec 16 '16 at 18:06









      Gavin Ridley

      263




      263








      • 1




        Note that this wipes all of the configuration for your desktop.
        – moorepants
        Jul 20 '17 at 16:18














      • 1




        Note that this wipes all of the configuration for your desktop.
        – moorepants
        Jul 20 '17 at 16:18








      1




      1




      Note that this wipes all of the configuration for your desktop.
      – moorepants
      Jul 20 '17 at 16:18




      Note that this wipes all of the configuration for your desktop.
      – moorepants
      Jul 20 '17 at 16:18










      up vote
      1
      down vote













      I experienced same thing in Debian Jessie.
      But questioner's solution (he had failed with it) was proper for my case:



       sudo apt-get install -f --reinstall  dconf-tools libdconf0 libdconf-dbus-1-0 dconf-service


      This problem had been killing me, but you saved my life, Thanks :D






      share|improve this answer



























        up vote
        1
        down vote













        I experienced same thing in Debian Jessie.
        But questioner's solution (he had failed with it) was proper for my case:



         sudo apt-get install -f --reinstall  dconf-tools libdconf0 libdconf-dbus-1-0 dconf-service


        This problem had been killing me, but you saved my life, Thanks :D






        share|improve this answer

























          up vote
          1
          down vote










          up vote
          1
          down vote









          I experienced same thing in Debian Jessie.
          But questioner's solution (he had failed with it) was proper for my case:



           sudo apt-get install -f --reinstall  dconf-tools libdconf0 libdconf-dbus-1-0 dconf-service


          This problem had been killing me, but you saved my life, Thanks :D






          share|improve this answer














          I experienced same thing in Debian Jessie.
          But questioner's solution (he had failed with it) was proper for my case:



           sudo apt-get install -f --reinstall  dconf-tools libdconf0 libdconf-dbus-1-0 dconf-service


          This problem had been killing me, but you saved my life, Thanks :D







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Jun 28 '17 at 6:44









          Zanna

          48.9k13123234




          48.9k13123234










          answered May 17 '15 at 13:51









          user410988

          191




          191






















              up vote
              0
              down vote













              Make sure you have the module that does the saving (libdconfsettings.so in /usr/lib/x86_64-linux-gnu/gio/modules/ or /usr/lib/gio/modules/ or wherever you store your GIO modules). On Ubuntu that file is provided by the dconf-gsettings-backend package; reinstalling that one should suffice (sudo aptitude reinstall dconf-gsettings-backend).






              share|improve this answer

























                up vote
                0
                down vote













                Make sure you have the module that does the saving (libdconfsettings.so in /usr/lib/x86_64-linux-gnu/gio/modules/ or /usr/lib/gio/modules/ or wherever you store your GIO modules). On Ubuntu that file is provided by the dconf-gsettings-backend package; reinstalling that one should suffice (sudo aptitude reinstall dconf-gsettings-backend).






                share|improve this answer























                  up vote
                  0
                  down vote










                  up vote
                  0
                  down vote









                  Make sure you have the module that does the saving (libdconfsettings.so in /usr/lib/x86_64-linux-gnu/gio/modules/ or /usr/lib/gio/modules/ or wherever you store your GIO modules). On Ubuntu that file is provided by the dconf-gsettings-backend package; reinstalling that one should suffice (sudo aptitude reinstall dconf-gsettings-backend).






                  share|improve this answer












                  Make sure you have the module that does the saving (libdconfsettings.so in /usr/lib/x86_64-linux-gnu/gio/modules/ or /usr/lib/gio/modules/ or wherever you store your GIO modules). On Ubuntu that file is provided by the dconf-gsettings-backend package; reinstalling that one should suffice (sudo aptitude reinstall dconf-gsettings-backend).







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Nov 14 at 12:59









                  RJVB

                  174110




                  174110






























                       

                      draft saved


                      draft discarded



















































                       


                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function () {
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f558446%2fmy-dconf-gsettings-installation-is-broken-how-can-i-fix-it-without-ubuntu-reins%23new-answer', 'question_page');
                      }
                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      mysqli_query(): Empty query in /home/lucindabrummitt/public_html/blog/wp-includes/wp-db.php on line 1924

                      How to change which sound is reproduced for terminal bell?

                      Can I use Tabulator js library in my java Spring + Thymeleaf project?