Ubuntu – How to start dconf and gconf in a non-Gnome environment

dconfgconfgnomeopenboxqt

I am running Openbox without any DE. And I also use some Qt apps such as VLC, Virtualbox and Skype. However, they require some gconf / dconf settings to be set.

For instance to set the correct icon theme:

$ gconftool-2 --set --type string /desktop/gnome/interface/icon_theme Faenza

When running Gnome, these settings are loaded and used by the Qt apps. However, when running native Openbox, these settings are ignored and I presume that this is due to some gconf / dconf services not being loaded when running Openbox without Gnome.

Therefore my question, how can I run gconf / dconf without Gnome to have my Qt apps having access to the relevant gconf / dconf settings?

Best Answer

I am not entirely sure if this is all but I have compared my Gnome environment with Openbox and found the following additional processes to be started by Gnome:

gsettings-data-convert &
/usr/lib/Gconf/gconfd-2 &
/usr/lib/dconf/dconf-service &

In addition it might help to export the following variables:

export DE=gnome
export DESKTOP_SESSION=gnome