Metadata-Version: 2.1
Name: dconfjson
Version: 0.1.0
Summary: Convert gnome settings between binary conf files and json
Home-page: https://github.com/saberd/dconfjson
Author: saberd
Author-email: mail@saberd.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Topic :: Desktop Environment :: Gnome
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: License :: OSI Approved :: MIT License
Classifier: Topic :: Utilities
Requires-Python: >=3.*
Description-Content-Type: text/markdown

# Dconf Json

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

```bash
dconf dump / > FILENAME.conf
```

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

```python
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):

```bash
dconf load / < FILENAME_2.conf
```

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

```python
import dconfjson

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


