From b1e9891f195c39b1e288f2da3a0dbff78ac1b73b Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Thu, 17 Sep 2026 14:51:47 +0200 Subject: docs: keep the theme.conf.user symlink in the user's home The install block ran in a root shell, where ~ and $HOME expand to /root, so the symlink pointed at /root/.local/share/udt and the greeter silently fell back to theme.conf and the bundled power icons. Run the block with sudo from the user's shell, and drop the obsolete LoginCard.qml on upgrade. --- README.md | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 24c52c9..b9b76f3 100644 --- a/README.md +++ b/README.md @@ -39,11 +39,17 @@ when a theme has no match, the bundled `theme/icons/*.svg` draw instead. ## Install The theme code is copied by root, then SDDM is pointed at it. Both are one-time -root edits: +root edits. Run them with `sudo` from your own shell, so `$HOME` is your home, +not root's; in a root shell write the full path instead: - install -d /usr/share/sddm/themes/udt - cp -r /theme/. /usr/share/sddm/themes/udt/ - ln -sfn ~/.local/share/udt/sddm-theme.conf /usr/share/sddm/themes/udt/theme.conf.user + sudo install -d /usr/share/sddm/themes/udt + sudo cp -r /theme/. /usr/share/sddm/themes/udt/ + sudo rm -f /usr/share/sddm/themes/udt/components/LoginCard.qml + sudo ln -sfn "$HOME/.local/share/udt/sddm-theme.conf" /usr/share/sddm/themes/udt/theme.conf.user + +The symlink must point at your home. If it points at `/root`, the greeter finds +no live config and silently falls back to the static `theme.conf` palette and +the bundled power icons. Select the theme by setting `Current=udt` under `[Theme]` in `/etc/sddm.conf`. That file has the highest precedence in SDDM's config order -- cgit v1.2.3