Update Ricing/Basic Mint Rice/README.md
This commit is contained in:
1 parent
793242e965
commit
32997a2c81
1 file changed
+56
-1
@@ -1 +1,56 @@
|
||||
Please run install.sh
|
||||
# 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 "<url>" | 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 <theme name>`.
|
||||
- **`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.
|
||||
Reference in new issue
Block a user