aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-09-17 14:51:47 +0200
committerDanilo M. <danix@danix.xyz>2026-09-17 14:51:47 +0200
commitb1e9891f195c39b1e288f2da3a0dbff78ac1b73b (patch)
tree600b872db426aa88a733bff61c553edfea1b8ba4
parent27ef16187a672acb96e8d930e0ab4bf893ad8f6a (diff)
downloadsddm-theme-udt-b1e9891f195c39b1e288f2da3a0dbff78ac1b73b.tar.gz
sddm-theme-udt-b1e9891f195c39b1e288f2da3a0dbff78ac1b73b.zip
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.
-rw-r--r--README.md14
1 files 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 <this repo>/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 <this repo>/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