Linux Commands Examples

A great documentation place for Linux commands

gsettings-data-convert

GConf to GSettings data migration


see also : gsettings-schema-convert

Synopsis

gsettings-data-convert [option...]


add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!

examples

0
source
            
done
gsettings-data-convert &
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
start-pulseaudio-x11 &
0
source
            
printf "\t\t\t\tDisable installing the gsettings-data-convert file.\n"
printf "\t--disable-desktop-update\n"
printf "\t\t\t\tDisable desktop database update.\n"
0
source
            
printf "\t\t\t\tDisable installing the gsettings-data-convert file.\n"
printf "\t--disable-desktop-update\n"
printf "\t\t\t\tDisable desktop database update.\n"
0
source
            
Disable installing the gsettings-data-convert file.
--disable-desktop-update
Disable desktop database update.

description

gsettings-data-convert reads values out of the users GConf database and stores them in GSettings.

The information about the mapping from GConf keys to GSettings keys is taken from files in /usr/share/GConf/gsettings. Each file in that directory is read as a key file, with sections for each GSettings schema that is being converted. The entries in each section map GSettings keys to paths in the GConf database. Currently, gsettings-data-convert supports all basic GConf types as well as lists of strings and lists of integers.

A simple example might look like this:

[org.gnome.fonts]
antialiasing = /desktop/gnome/font_rendering/antialiasing
dpi = /desktop/gnome/font_rendering/dpi
hinting = /desktop/gnome/font_rendering/hinting
rgba_order = /desktop/gnome/font_rendering/rgba_order

If the GSettings schema does not have a fixed path, you must specify the path in the group name, separated by a colon character:

[org.gnome.fonts:/desktop/gnome/font-rendering/]

gsettings-data-convert keeps a list of the key files it has already converted, so it is safe to run it repeatedly to handle newly appeared key files. The expected use of this utility is to make each application install a key file for the GConf keys that it wants to be migrated, and run gsettings-data-convert every time a user logs in.

Options
-h
, --help

Print help and exit

--dry-run

Do not make any changes, just report what would be done

--verbose

Show verbose messages


see also

gsettings-schema-convert is a related command that helps with the conversion of schemas from GConf to GSettings.

How can this site be more helpful to YOU ?


give  feedback