diff options
| author | Danilo M. <danix@danix.xyz> | 2026-09-17 14:52:16 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-09-17 14:52:16 +0200 |
| commit | e89b6eb1eda0f412935e3e0cf6c53c84f00a483d (patch) | |
| tree | 114f0c732bab7a0e610e9a40ece68116fd5f21b4 /README.md | |
| parent | b1e9891f195c39b1e288f2da3a0dbff78ac1b73b (diff) | |
| download | sddm-theme-udt-e89b6eb1eda0f412935e3e0cf6c53c84f00a483d.tar.gz sddm-theme-udt-e89b6eb1eda0f412935e3e0cf6c53c84f00a483d.zip | |
docs: give the root-shell install block, no sudo
This system is administered from a root shell, not sudo. In that shell
$HOME is root's, so the theme.conf.user symlink uses the login user's
literal home path instead, with a note on why.
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -39,17 +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. 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: +root edits; run them in a root shell: - 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 + install -d /usr/share/sddm/themes/udt + cp -r <this repo>/theme/. /usr/share/sddm/themes/udt/ + rm -f /usr/share/sddm/themes/udt/components/LoginCard.qml + ln -sfn /home/you/.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. +Replace `/home/you` with the login user's home. In a root shell `$HOME` is +root's, so the symlink must be the literal path; 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 |
