gsettings uses the 'memory' GSettings backend / settings do not stick?!

Bug #757866 reported by Daniel Hahler
42
This bug affects 9 people
Affects Status Importance Assigned to Milestone
glib2.0 (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

Is it expected that "gsettings" will use the memory backend?
From the extra message I do not think so, and it may be the reason why I cannot change this whitelist or the changes to the Unity starter are not being remembered through re-logins.

% gsettings get com.canonical.Unity.Panel systray-whitelist
GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.
['JavaEmbeddedFrame', 'Mumble', 'Wine', 'Skype', 'hp-systray']

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: libglib2.0-bin 2.28.5-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic i686
NonfreeKernelModules: nvidia
Architecture: i386
Date: Mon Apr 11 20:25:39 2011
ProcEnviron:
 LANGUAGE=de_DE:en
 PATH=(custom, user)
 LANG=de_DE.UTF-8
 SHELL=/bin/zsh
SourcePackage: glib2.0
UpgradeStatus: Upgraded to natty on 2011-04-02 (9 days ago)

Revision history for this message
Daniel Hahler (blueyed) wrote :
Revision history for this message
Thomas Oster (thommy-oster) wrote :

I can confirm this bug. I upgraded my ubuntu from maverick to natty yesterday and my settings in unity won't survive a relogin. I also get this warning when starting several programs from command line.

Revision history for this message
Thomas Oster (thommy-oster) wrote :

SOLVED!!:
Hi I just read some thread in a gentoo forum and it seems as if glib needs dconf to store settings.
So I just manually installed "dconf-tools", "libdconf0" and "libdconf-dbus-1-0" and now it works.

I think this is just a missing dependancy for either glib or unity.

SOLUTION:
sudo apt-get install dconf-tools libdconf0 libdconf-dbus-1-0

log out and in again

Daniel Hahler (blueyed)
Changed in glib2.0 (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Sebastien Bacher (seb128) wrote :

right, it's not a bug, glib provides only a memory backend for testing and hacking, you likely want to install dconf is you need a real backend you can use, glib recommends it and applications depends on it

Changed in glib2.0 (Ubuntu):
status: Triaged → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.