What is Gconf?
GConf is a system for storing application preferences. These preferences are stored in XML files under the user's home directory, ~/.gconf
. Each preference is represented as a key-value pair.
GConf is meant to be a way for developers to easily store user preferences and system administrators to set default values for particular preferences. In most cases, there is no need for a user to edit Gconf keys directly.
The vast majority of keys correspond to entries in the various applications' preference menus. Though on occasion, developers will use Gconf keys as a way to enable undocumented features. These are "hidden" from users for a number of reasons. Sometimes the feature is still a work in progress. Other times it is a feature that the developer wants to do away with but still leave accessible to users that don't want to give it up. Frequently, the features are targeted at "power users," and the developer simply doesn't want to clutter up the normal preference dialog.
In some ways it is similar to Windows' Registry. One major difference is that, unlike the Windows' Registry, Gconf does not store system settings. It only stores application preferences. While editing Gconf keys may potentially cause minor issues with specific programs, it should never lead to system wide issues such as rendering your system unbootable. In fact, deleting the entire ~/.gconf
directory will simply revert all programs using Gconf back to their defaults.
Managing Gconf from the command-line.
The program gconftool-2
allows the user to interact with Gconf from the command-line. It is often simpler to enter a one line command in the terminal than digging around in Gconf's GUI tool. For instance, if you would like to show the icon for you trash on the desktop simply run:
gconftool-2 --set /apps/nautilus/desktop/trash_icon_visible --type=bool true
This also illustrates what I meant by key-value pair above. In this case, the key is /apps/nautilus/desktop/trash_icon_visible
which has a value of true
.
You can perform a variety of operations with gconftool-2
. If you'd simply like to see a key's value, use --get
:
gconftool-2 --get /apps/nautilus/desktop/trash_icon_visible
If you'd simply like to reset a value to its default, use --unset
:
gconftool-2 --unset /apps/nautilus/desktop/trash_icon_visible
gconftool-2
can be particularly useful for system administrators. For instance, /etc/gconf/gconf.xml.mandatory
can be used to set mandatory preferences for all users. Further information on more advanced uses can be found with man gconftool-2
as well as in the GNOME Desktop System Administration Guide
How do I use the Gconf editor?
What was your question again? Oh, that's right: How do I use the Gconf editor?
gconf-editor
is the graphical interface to manage Gconf settings. By default, it is not displayed in the menus. The easiest way to start it is by pressing Alt+F2 to bring up the "Run Dialog." Next, enter gconf-editor
.
gconf-editor
allows you to browse through the key-value pairs in a tree. Let's look at the example from above. Browse to apps > nautilus > desktop
and you will see the trash_icon_visible
key.
Having nautilus managing the desktop is default in Ubuntu 11.10. But if you want to disable this feature, you can install gnome-tweak-tool
through Ubuntu Software Center or just paste in a terminal:
sudo apt-get install gnome-tweak-tool
After it installs find it in your dash.
The option is in Desktop and then turn Have file manager handle desktop off.
Best Answer
Yes, in Gnome 3, Gconf is being replaced by DConf, which is accessed through GSettings. You can use dconf-editor from the dconf-tools package to explore. It's very similar to gconf-editor.
The entries your looking for are located at org -> gnome -> desktop -> background
Uncheck draw-background AND show-desktop-icons
No more openbox menu and wallpaper problems :)