2.4 KiB
2.4 KiB
Debian-Linux
Ricing/install-rice.shrestores the desktop customization (themes, icons, fonts, applets, panel layout, terminal and file manager settings).
Layout
Debian-Linux/
└── Ricing/
├── install-rice.sh
├── backup-rice.sh
└── Basic Mint Rice/
├── rice.tar.gz
├── cinnamon.dconf
├── nemo.dconf
└── terminal.dconf
Requirements
- A Debian-family distro with
apt(developed on Linux Mint, Ubuntu 22.04 base). - Run as your normal user, not root and not
sudo sh .... The scripts callsudothemselves. Running as root puts configs in/rootand adds the wrong user to groups, so the scripts refuse to start. - A working internet connection.
- For the rice: a terminal inside the desktop session (not SSH), because settings are written through the session's D-Bus.
Restore the desktop rice
Run from a terminal inside the desktop session:
cd Debian-Linux
sh "Ricing/install-rice.sh"
What it does, in order:
- Downloads
rice.tar.gzfromRicing/Basic Mint Rice/, checks it, and extracts it into your home directory (themes, icons, fonts, Cinnamon applets and their settings, GTK config, wallpapers). - Refreshes the font cache.
- Loads
cinnamon.dconf,nemo.dconfandterminal.dconf(andhydrapaper.dconfif present). - Prints the active GTK, icon, cursor and shell themes as a check.
Then press Ctrl+Alt+Esc to restart Cinnamon, or log out and back in.
Notes:
- Any username works. Home directory paths in the settings files are rewritten to the current
$HOME. - Re-running overwrites files from the archive and the dconf paths above. Don't run it on a machine with customizations you haven't exported.
- Hydrapaper: open it and click Apply once, which regenerates the merged wallpaper in
~/.cache. - Panels are tied to monitors. On different monitor hardware, right-click the panel and move it.
Troubleshooting
curlfails with 404 on a raw file: check the URL withcurl -sI "<url>" | head -n1. You want200.- Rice loaded but the theme looks default: the archive didn't contain that theme. Check
tar tzf "Ricing/Basic Mint Rice/rice.tar.gz" | grep -i <theme name>. dconf loadappears to do nothing: you're not in a desktop session (SSH or a bare TTY). Run it from a terminal in the desktop.