Ubuntu – How to use gsettings to configure settings with relocatable schemas


I am trying to configure a setting with gsettings in the Terminal, to avoid having to install special non-default applications to configure the settings. However, when doing so, gsettings complains the setting has a relocatable schema and does nothing.

#: gsettings set org.compiz.unityshell dash-blur-experimental 1
Schema 'org.compiz.unityshell' is relocatable (path must be specified)

How can I set the value with the gsettings command?

Best Answer

You need to specify the path to the key where the setting is actually stored. For example example, for this key, you need to use the /org/compiz/profiles/unity/plugins/unityshell/ path when running the command, like so:

#: gsettings set org.compiz.unityshell:/org/compiz/profiles/unity/plugins/unityshell/ dash-blur-experimental 1

Note that the path must end with a / character, when passed in for relocatable schemas.

Related Question