A quick way to restore many of my settings on a new computer.

Language: Python
Source code: GitHub

This repo is designed to be cloned as a bare repo in my home directory to quickly restore lots of my configuration files. I followed this tutorial to set it up.


# Install git
sudo apt install git

# Create an alias
alias dotfiles="/usr/bin/git --git-dir=$HOME/.dotfiles --work-tree=$HOME"

# Clone the repo
git clone --bare git@github.com:Hasnep/dotfiles.git $HOME/.dotfiles

# Check out the repo
dotfiles checkout

# Don't show untracked files
dotfiles config --local status.showUntrackedFiles no


To restore from files to dconf:

dconf load /com/solus-project/ < ~/dconf/budgie.conf
dconf load /org/gnome/settings-daemon/plugins/media-keys/ < ~/dconf/keybindings.conf

To backup from dconf to files:

mkdir -p ~/dconf
dconf dump /com/solus-project/ > ~/dconf/budgie.conf
dconf dump /org/gnome/settings-daemon/plugins/media-keys/ > ~/dconf/keybindings.conf