Last active
June 7, 2024 05:40
-
-
Save AmirAref/9629994071590f99ee22670ce42de485 to your computer and use it in GitHub Desktop.
create backup, restore and see cinnamon desktop configurations
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# deCOMPILE and old config | |
cd | |
cp /path_to_backup_dconf/user ~/.config/dconf/test | |
printf %s\\n "user-db:test" > db_profile | |
DCONF_PROFILE=~/db_profile dconf dump / > old_settings | |
# remove unused files | |
rm -f ~/db_profile ~/.config/dconf/test | |
# LOAD an schema file strcuture to dconf | |
dconf load / < old_settings | |
# BACKUP and old config | |
dconf dump / > backup_settings | |
# backup specific path | |
dconf dump /org/gnome/desktop/wm/preferences/ | |
# refrences and useful links: | |
# https://github.com/linuxmint/Cinnamon/wiki/Backing-up-and-restoring-your-cinnamon-settings-(dconf) | |
# https://unix.stackexchange.com/questions/199836/how-can-i-view-the-content-of-a-backup-of-the-dconf-database-file | |
# https://forums.linuxmint.com/viewtopic.php?t=387201 | |
# Endeoveros PKGBUILDS and cinnamon configs : | |
# https://github.com/endeavouros-team/endeavouros-xfce4-theming/tree/master | |
# https://github.com/endeavouros-team/PKGBUILDS/tree/master/eos-settings-cinnamon | |
# https://github.com/endeavouros-team/PKGBUILDS/blob/master/eos-settings-cinnamon/99_eos-cinnamon.gschema.override | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment