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

Bug #757866 reported by Daniel Hahler on 2011-04-11
42
This bug affects 9 people
Affects Status Importance Assigned to Milestone
glib2.0 (Ubuntu)
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)

Daniel Hahler (blueyed) wrote :
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.

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) on 2011-04-30
Changed in glib2.0 (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
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  Edit
Everyone can see this information.

Other bug subscribers