/********************************************************************* * Author:samson * date:12/11/2014 * Test PL Atform: * 3.13.0-24-generic * GNU bash, 4.3.11 (1)-release * *********************************** ********************************/
GConf is a system used by Thegnome desktop environment for storingconfiguration settings for the desktop and applications . It's similar to the Windows Registry.
GConf is a system that stores the configuration of the GNOME desktop environment to facilitate desktop and application configuration and is run in the background. Can be understood to be a thing similar to the registry under Windows;
And Gsettings is the gconf background reading and setting;
now take an example:
using the Panel-launchers key in the panel, how do you get this value? The first step:
[email protected]:~$ gsettings list-schemas | grep cinnamoncan find cinnamon corresponding scheme for Org.cinnamon
The second step is to find the value of the key in this scenario:
[Email protected]:~$ gsettings list-recursively Org.cinnamon | Grep-w "Panel-launchers"
Org.cinnamon enabled-applets [' Panel1:left:0:[email protected]:0 ', ' panel1:left:1:[email protected]:1 ', ' panel1:left : 2:[email protected]:2 ', ' panel1:left:3:[email protected]:3 ', ' panel1:right:0:[email protected]:4 ', ' panel1:right:1: [Email Protected]:5 ', ' panel1:right:2:[email protected]:6 ', ' panel1:right:3:[email protected]:7 ', ' panel1:right:4:[ Email Protected]:8 ', ' panel1:right:5:[email protected]:9 ', ' panel1:right:6:[email protected]:10 ', ' panel1:right:7:[ Email protected]:11 ', ' panel1:right:8:[email protected]:12 ', ' panel1:right:9:[email protected]:13 ', ' panel1:right:10 : [Email protected]:14 ']
Org.cinnamon panel-launchers [' firefox.desktop ', ' gnome-screenshot.desktop ', ' gnome-terminal.desktop ', ' Thunderbird.desktop ', ' fcitx-configtool.desktop ', ' cinnamon-custom-launcher-3.desktop ']
Org.cinnamon panel-launchers-draggable True
you can see the value of Panel-launchers.
Ref:
http://en.wikipedia.org/wiki/GConfhttp://wiki.mate-desktop.org/docs:gsettings
Introduction to GConf and gsettings, and the specific use cases of gsettings