From 32997a2c810331b2323a56f15f31f901e082794a Mon Sep 17 00:00:00 2001 From: Gabe Date: Thu, 22 Oct 2026 01:33:44 +0000 Subject: [PATCH] Update Ricing/Basic Mint Rice/README.md --- Ricing/Basic Mint Rice/README.md | 57 +++++++++++++++++++++++++++++++- 1 file changed, 56 insertions(+), 1 deletion(-) diff --git a/Ricing/Basic Mint Rice/README.md b/Ricing/Basic Mint Rice/README.md index 1c9b4e0..310b4f4 100644 --- a/Ricing/Basic Mint Rice/README.md +++ b/Ricing/Basic Mint Rice/README.md @@ -1 +1,56 @@ -Please run install.sh \ No newline at end of file +# Debian-Linux + +- `Ricing/install-rice.sh` restores 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 call `sudo` themselves. Running as root puts configs in `/root` and 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: + +```sh +cd Debian-Linux +sh "Ricing/install-rice.sh" +``` + +What it does, in order: + +1. Downloads `rice.tar.gz` from `Ricing/Basic Mint Rice/`, checks it, and extracts it into your home directory (themes, icons, fonts, Cinnamon applets and their settings, GTK config, wallpapers). +2. Refreshes the font cache. +3. Loads `cinnamon.dconf`, `nemo.dconf` and `terminal.dconf` (and `hydrapaper.dconf` if present). +4. 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 + +- **`curl` fails with 404 on a raw file:** check the URL with `curl -sI "" | head -n1`. You want `200`. +- **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 `. +- **`dconf load` appears to do nothing:** you're not in a desktop session (SSH or a bare TTY). Run it from a terminal in the desktop. \ No newline at end of file