i3, screen-lock: the session's output to the journal, and the colour locker removed before i3lock is checked

lemurs leaves the session a stdout nobody reads, so a program writing to it dies of EPIPE.
i3lock-color provides i3lock, so with it still installed the host saw i3lock as present,
skipped the install and then removed the only locker; removing it first lets the same
apply install i3lock.
This commit is contained in:
jochen
2026-10-04 15:09:39 +02:00
parent 12ee8f41d9
commit 19a79bef86
4 changed files with 13 additions and 13 deletions
+1 -1
View File
@@ -151,7 +151,7 @@ func TestTheLoginManagersEntryRunsTheSessionsStart(t *testing.T) {
if r["path"] != "/etc/lemurs/wms/i3" || r["mode"] != "0755" {
t.Fatalf("%v", r)
}
if !strings.Contains(r["content"].(string), `exec /bin/sh "$HOME/.xinitrc"`) {
if !strings.Contains(r["content"].(string), `exec systemd-cat -t x-session /bin/sh "$HOME/.xinitrc"`) {
t.Fatal("the entry runs the session's start, never i3 bare")
}
pkgs := map[string]bool{}