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.conf_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
Close
Hashes for dconfjson-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 91ed967874b4dc6caa5d5c88d96b1d52eef6caae1952bbf766312b5f9f8c77ad |
|
MD5 | e4e89ba5b5133c7a27525da46ff4a136 |
|
BLAKE2b-256 | decc1d172bc8cae08e45398da7b2315b95738bcac80cb1d84b884f8d79bf7e17 |