https://github.com/pixelastic/dconf-export
Export your dconf settings as an editable .sh file.
https://github.com/pixelastic/dconf-export
Last synced: 3 months ago
JSON representation
Export your dconf settings as an editable .sh file.
- Host: GitHub
- URL: https://github.com/pixelastic/dconf-export
- Owner: pixelastic
- Created: 2013-11-08T13:34:52.000Z (over 12 years ago)
- Default Branch: develop
- Last Pushed: 2021-05-23T22:51:44.000Z (about 5 years ago)
- Last Synced: 2025-04-05T18:06:13.814Z (about 1 year ago)
- Language: Ruby
- Size: 6.84 KB
- Stars: 21
- Watchers: 2
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
dconf-export
============
Export your dconf settings in an editable `.sh` file.
Usage
-----
dconf-export org.gnome.desktop.wm.keybindings
Use it to make a backup of your dconf settings or if you'd rather edit them
manually than in a GUI.
Example
-------
Previous example will create and executable file
`org.gnome.desktop.wm.keybindings.sh` with following content :
```Shell
#!/usr/bin/env sh
gsettings set org.gnome.desktop.wm.keybindings close "['F4']"
gsettings set org.gnome.desktop.wm.keybindings maximize "['Up']"
gsettings set org.gnome.desktop.wm.keybindings minimize "['Down']"
# [...]
gsettings set org.gnome.desktop.wm.keybindings show-desktop "['D']"
gsettings set org.gnome.desktop.wm.keybindings switch-applications "['Tab']"
gsettings set org.gnome.desktop.wm.keybindings switch-applications-backward "['Tab']"
# [...]
```
Limitations
-----------
`dconf-export` needs ruby to run. It will also not work on relocatable schemas.
Alternatives
------------
* dconf has its own mechanism to dump the configuration with the command `dconf dump /`.
* A set of simple shell scripts for backing up and restoring parts of the dconf database: https://github.com/ypid/scripts/tree/master/dconf-backup