Skip to main content

Convert gnome settings between binary conf files and json

Project description

Dconf Json

Convert linux gnome config to json and back
To get the gnome .conf file use:

dconf dump / > FILENAME.conf

Example usage to convert conf and store as json file and take json and store as conf file

import dconfjson

dconfjson.json_writer("FILENAME.conf", dest="FILENAME.json")
dconfjson.dconf_writer("FILENAME.json", dest="FILENAME_2.conf")

To load new dconf parameters into gnome use (bash):

dconf load / < FILENAME_2.conf

To get the gnome config out as a python dict use:

import dconfjson

config_dict = dconfjson.dconf_json("FILENAME.conf")

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

dconfjson-0.2.0-py3-none-any.whl (4.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page