In case you’re trying to again up the Budgie desktop, panel, widgets, and all of that, it requires working with Dconf. To work with Dconf, you’ll want to make sure that it’s put in and dealing in your Linux PC.
SPOILER ALERT: Scroll down and watch the video tutorial on the finish of this text.
Set up Dconf
Word: Dconf is most definitely already in your Linux PC. Nonetheless, it’s necessary you attempt to re-install this software program, simply in case.
Ubuntu
sudo apt set up dconf*
Debian
sudo apt-get set up dconf*
Arch Linux
sudo pacman -S dconf
Fedora
sudo dnf set up dconf
OpenSUSE
sudo zypper set up dconf
Generic Linuxes
Want Dconf in your system however not utilizing one thing on the listing above? Open up a terminal and use your package deal supervisor to seek for “dconf.” Once you’ve discovered it, set up all packages with “dconf” within the identify.
Back Up Budgie Settings
A full backup with Dconf is one of the simplest ways to make sure that your whole system settings (together with Budgie) are secure. To create the backup, launch a terminal window and run the dconf dump command to make a duplicate of your total Dconf setup. DO NOT USE SUDO!
dconf dump / > full-backup
With the setting dump full, run it by way of the cat command to confirm the contents of the file.
cat ~/full-backup | extra
If the contents of the file look good after operating it by way of the cat command, sort clear to clean out the terminal. Then create a folder in your ~/Paperwork listing to retailer the backup file. Shifting the info right here, slightly than conserving it in your house listing is a good suggestion, as it should be sure that you don’t by chance delete it at a later date.
mkdir -p ~/Paperwork/dconf-backups/ mv full-backup ~/Paperwork/dconf-backups/
Budgie-only backup
Going the Budgie-only route when creating a brand new backup is a superb concept in the event you solely care about saving your core settings, and never your entire system. To make a brand new backup, export the info in /com/solus-project/ utilizing the dconf dump command.
dconf dump /com/solus-project/ > budgie-backup
After the export command finishes, view the backup file with the cat command. Wanting on the knowledge file will mean you can assess whether or not the backup was profitable.
cat ~/budgie-backup | extra
If the backup appears to be like okay, create a brand new backup folder in ~/Paperwork and transfer the info there with the mv command.
mkdir -p ~/Paperwork/budgie-backups/ mv budgie-backup ~/Paperwork/budgie-backups/
Themes And Icons
You’ve backed up your Budgie settings by exporting them from Dconf. Making a backup in that means will be sure that your panel, widgets and different customizations are intact. Nevertheless, it is not going to maintain your {custom} icons and themes in place, as Dconf is simply textual content and might’t comprise icon and theme information. Consequently, you’ll must make an entire backup of each your ~/.icons and ~/.themes folders.
To create the backup, open up a terminal and use the tar command to compress these folders.
Word: in the event you set up {custom} themes and icon information system-wide, you’ll must again up the /usr/share/icons/ and /usr/share/themes/ directories, slightly than ~/.icons and ~/.themes.
tar -cvpf custom-icons.tar.gz ~/.icons tar -cvpf custom-themes.tar.gz ~/.themes mv *.tar.gz ~/Paperwork/budgie-backups/
Alternatively, create a system backup.
sudo -s cd /usr/share/ tar -cvpf custom-icons.tar.gz icons tar -cvpf custom-themes.tar.gz themes
mv *.tar.gz /residence/username/Paperwork/budgie-backups/
Take the “budgie-backups” folder and add it to your favourite cloud storage supplier for secure conserving. Alternatively, put it on a house server or an exterior onerous drive.
Restore Backup
Obtain your “budgie-backups” folder from the cloud (or a house server) and place it in ~/Downloads in your Linux PC. Then, open up a terminal window and use the CD command to navigate from residence listing to your ~/Downloads folder.
cd ~/Downloads/budgie-backups
Utilizing the dconf load command, restore your Budgie desktop settings.
Full restore command
dconf load / < full-backup
Gnome-only restore command
dconf load /com/solus-project/ < budgie-backup
After restoring the Budgie desktop backup, it’s time to place our {custom} icons and themes into place on the system.
Restore icons for a single consumer
To restore your {custom} icons and themes for a single consumer, run the next instructions in a terminal window.
tar --extract --file custom-icons.tar.gz -C ~/ --strip-components=2 tar --extract --file custom-themes.tar.gz -C ~/ --strip-components=2
Restore icons for system-wide customers
To restore system-wide icons and themes, do the next operations within the command-line.
sudo tar --extract --file custom-icons.tar.gz -C /usr/share/ --strip-components=1 --overwrite sudo tar --extract --file custom-themes.tar.gz -C /usr/share/ --strip-components=1 --overwrite
With all of the information restored to your Linux PC, Budgie ought to look as if it did earlier than you made the backup. If it doesn’t look proper, log off of the session and log again in.