A simple Bash script to export and import your GNOME Shell extensions configuration using dconf
.
I created this after searching for a while for a clean way to back up my GNOME extensions setup. This script makes it easy to save your current config and restore it later, which is especially useful when reinstalling your system or syncing settings across multiple machines.
- Export current GNOME Shell extensions config to a file
- Import it back in one command
- Uses native
dconf
commands (no dependencies)
git clone https://github.com/PomeZzz/GNOME-Extensions-Backup-Script
cd File location
chmod +x gnome-extensions-config.sh
./gnome-extensions-config.sh export
This will create a file called extensions.conf in the same directory.
./gnome-extensions-config.sh import
The configuration is saved in a file called:
extensions.conf
Feel free to rename or move it to a safe backup location.
You can automate this process with a cron job or sync the file to a cloud service for easier backups.
I couldn’t find a simple way to do this online — most solutions were either too complex or didn’t fully work. So I put together this basic but effective script and wanted to share it in case it helps someone else too.