Proof Portal

Project overview

Omarchy

ProbeLabs65 findings · 95 requirements

A proof layer — requirements, tests and verified fixes — for two of Omarchy's subsystems: the application menu (launcher scripts, QML model, JSONC config, search and selection) and the lock screen (lock scripts, QML, PAM authentication). Scope is deliberately limited to those components of omacom/omarchy; the rest of the distribution is not covered.

Inbox
ReportR-4488GitHub issuePublicReceived

Elephant auto-detects systemd-run launch prefix, causing Electron apps to fail from launcher

Reported by DavidHoenisch · filed Jul 10, 2026Closed upstream on 2026-07-18 by dhh. GitHub close reason: completed. No closing PR or commit is recorded — "completed" alone is not evidence of a fix.

Received and recorded verbatim. Nothing has been checked yet.

At a glance

1 · What is claimed?
Only the report text below — no validator has restated it as checkable claims yet.
2 · What does it affect?
Not yet mapped to any requirement or component.
3 · Is it reproducible?
No validation has been run yet.
4 · What remains unclear?
  • Not validated yet: no claims, no reproducer.
5 · What happens next?
Our staff decide whether the report is valid. Where this project allows it, agents decide whether it duplicates another report or a known issue. No decision has been recorded yet.

Original report

Elephant auto-detects systemd-run launch prefix, causing Electron apps to fail from launcherrevision 1 · captured 2026-10-04 11:56 UTC via poll

System details

  • Omarchy repo checkout: basecamp/omarchy at 8e031516
  • Hyprland: 0.55.2-2
  • Elephant: 2.21.0-1
  • Walker: 2.16.2-1
  • uwsm: 0.26.4-1
  • Signal Desktop: 8.12.0-1
  • Chromium: 148.0.7778.215-1

What's wrong?

Apps launched directly from a terminal worked normally, for example:

chromium
signal-desktop

But launching the same apps through the configured app launcher did nothing or appeared to lock up. Signal repeatedly segfaulted when started through the launcher, and Chromium/Signal left stale SingletonLock files behind after failed launches.

The launcher path was the important difference. Elephant auto-detected this launch prefix:

systemd-run --user --scope

Relevant journal evidence before the workaround:

INFO config "runprefix autodetect"="systemd-run --user --scope"
INFO desktopapplications activated=signal.desktop
Started [systemd-run] /usr/bin/signal-desktop --.
Process 6339 (signal-desktop) of user 1000 dumped core.
Process 6876 (signal-desktop) of user 1000 dumped core.
Process 10797 (signal-desktop) of user 1000 dumped core.
Process 11235 (signal-desktop) of user 1000 dumped core.
Process 14486 (signal-desktop) of user 1000 dumped core.

This also caused stale singleton locks such as:

~/.config/Signal/SingletonLock -> phalanx-6876
~/.config/chromium/SingletonLock -> phalanx-7757

Those PIDs were dead and the referenced socket directories under /tmp no longer existed.

Workaround

Pinning Elephant to use uwsm-app -- fixed the launcher path:

# ~/.config/elephant/elephant.toml
auto_detect_launch_prefix = false
launch_prefix = "uwsm-app --"

I also enabled window integration to avoid spawning extra instances for already-open apps:

# ~/.config/elephant/desktopapplications.toml
window_integration = true

After restarting elephant.service, the launcher path changed to UWSM and Signal no longer hit the same failure path:

INFO desktopapplications activated=signal.desktop
uwsm_app-daemon received: app -- signal-desktop --
uwsm_app-daemon sent: exec systemd-run --user --scope --slice=app-graphical.slice ... -- signal-desktop --
Started app-signal-21162.scope.

Expected behavior

On Omarchy, Elephant should prefer uwsm-app -- for desktop application launches when UWSM is available, or Omarchy should ship a default Elephant config that pins:

auto_detect_launch_prefix = false
launch_prefix = "uwsm-app --"

Actual behavior

Elephant auto-detected raw systemd-run --user --scope, which created a subtly different launch environment than the working terminal/UWSM path and caused Electron/Chromium-family apps launched from the app launcher to fail or crash.

View raw text
### System details

- Omarchy repo checkout: `basecamp/omarchy` at `8e031516`
- Hyprland: `0.55.2-2`
- Elephant: `2.21.0-1`
- Walker: `2.16.2-1`
- uwsm: `0.26.4-1`
- Signal Desktop: `8.12.0-1`
- Chromium: `148.0.7778.215-1`

### What's wrong?

Apps launched directly from a terminal worked normally, for example:

```sh
chromium
signal-desktop
```

But launching the same apps through the configured app launcher did nothing or appeared to lock up. Signal repeatedly segfaulted when started through the launcher, and Chromium/Signal left stale `SingletonLock` files behind after failed launches.

The launcher path was the important difference. Elephant auto-detected this launch prefix:

```text
systemd-run --user --scope
```

Relevant journal evidence before the workaround:

```text
INFO config "runprefix autodetect"="systemd-run --user --scope"
INFO desktopapplications activated=signal.desktop
Started [systemd-run] /usr/bin/signal-desktop --.
Process 6339 (signal-desktop) of user 1000 dumped core.
Process 6876 (signal-desktop) of user 1000 dumped core.
Process 10797 (signal-desktop) of user 1000 dumped core.
Process 11235 (signal-desktop) of user 1000 dumped core.
Process 14486 (signal-desktop) of user 1000 dumped core.
```

This also caused stale singleton locks such as:

```text
~/.config/Signal/SingletonLock -> phalanx-6876
~/.config/chromium/SingletonLock -> phalanx-7757
```

Those PIDs were dead and the referenced socket directories under `/tmp` no longer existed.

### Workaround

Pinning Elephant to use `uwsm-app --` fixed the launcher path:

```toml
# ~/.config/elephant/elephant.toml
auto_detect_launch_prefix = false
launch_prefix = "uwsm-app --"
```

I also enabled window integration to avoid spawning extra instances for already-open apps:

```toml
# ~/.config/elephant/desktopapplications.toml
window_integration = true
```

After restarting `elephant.service`, the launcher path changed to UWSM and Signal no longer hit the same failure path:

```text
INFO desktopapplications activated=signal.desktop
uwsm_app-daemon received: app -- signal-desktop --
uwsm_app-daemon sent: exec systemd-run --user --scope --slice=app-graphical.slice ... -- signal-desktop --
Started app-signal-21162.scope.
```

### Expected behavior

On Omarchy, Elephant should prefer `uwsm-app --` for desktop application launches when UWSM is available, or Omarchy should ship a default Elephant config that pins:

```toml
auto_detect_launch_prefix = false
launch_prefix = "uwsm-app --"
```

### Actual behavior

Elephant auto-detected raw `systemd-run --user --scope`, which created a subtly different launch environment than the working terminal/UWSM path and caused Electron/Chromium-family apps launched from the app launcher to fail or crash.

Validation

Not checked yet. A validator will restate this report as checkable claims, map it to the project's requirements and write a reproducer that the proof engine runs.

Linked

Not linked to any known issue, other report or change yet.

Decision

Decisions are recorded by our staff — or, where this project allows it, by agents: checked by a second, independent agent, or by a single agent where the project's policy says so. Any decision reached so far is shown below.

No decision has been recorded yet.