OPINIONATED OMARCHY
TROUBLESHOOTING CORPUS
790
RECORDS
790
AUDITED
0
UNCHECKED
2388
SOURCES
LIVE
power-suspend medium very-common DISPUTE

Stop the Omarchy 4 screensaver and lock firing over a playing browser video

omarchyhyprlandwaylandlaptopdesktop
CORRECTED An auditor found the fix wrong or incomplete and rewrote it. · checked against Omarchy omarchy 4.0.4-1 on 2026-10-05
AUDIT NOTE

Mechanism, log lines and reproductions match issue #6475 (open, reproduced on 4.0.4-1 by three commenters, including a non-video Electron case). Installed and quattro Service.qml both keep IdleMonitor { respectInhibitors: true } with no D-Bus owner. PR #6572 and #13359 are both still open and unmerged (gh pr view, 2026-10-05). omarchybot's review on #6572 recommends #13359 for the stated /org/freedesktop/ScreenSaver reason, so the cause stands. Hyprland v0.56.2 IdleInhibitor.cpp confirms a fullscreen idle_inhibit rule feeds both the compositor inhibit and inhibitingIdle (isWindowInhibiting with onlyHl=false), so the workaround and verify hold. Omarchy journals the idle service as omarchy-shell with idle-cycle-start lines, confirmed in journalctl --user. SUPER + CTRL + I is bound in utilities.lua via o.bind_toggle("idle"). One defect: the menu path. omarchy-menu.jsonc puts Stay Awake at trigger.toggle.idle-lock, which is Trigger > Toggle > Stay Awake, not 'under Toggle'. The fix also now names the shipped firefox-based-browser tag (browser.lua, unchanged on quattro), which covers Zen, Firefox and LibreWolf in one rule. Not exercised: no rule applied, no reload.

The cause above was rewritten on 2026-10-04 to match this note; the fix was corrected by the audit itself.

Symptom

Since upgrading to Omarchy 4 the screensaver starts on top of a YouTube or Twitch video I am watching in Zen, Flatpak Firefox or an Electron app, and a few minutes later the session locks. It never happened on Omarchy 3. journalctl --user shows lines like:


xdg-desktop-portal-gtk: Backend call failed: Cannot invoke method; proxy is for the well-known name org.freedesktop.ScreenSaver without an owner

and xdg-desktop-portal logs Inhibiting other than idle not supported.

Cause

Omarchy 3 used hypridle, which owned the D-Bus name org.freedesktop.ScreenSaver and honoured Inhibit() calls. Omarchy 4 replaced it with an idle service inside omarchy-shell (shell/plugins/services/idle/Service.qml), which uses a Quickshell IdleMonitor { respectInhibitors: true }. That honours only the Wayland zwp_idle_inhibit_manager_v1 protocol. Applications that ask for an inhibit over D-Bus or through the portal (xdg-desktop-portal-hyprland does not implement Inhibit, so the request falls through to xdg-desktop-portal-gtk, which proxies to org.freedesktop.ScreenSaver) reach a name that nothing owns, and the inhibit is silently dropped. Reproduced by several users on 4.0.0 through 4.0.4-1. Two upstream fixes are open and unmerged as of 2026-10-04: PR #6572, and PR #13359, which the upstream review bot recommends because #6572 exports only /ScreenSaver while Chromium and Chrome call /org/freedesktop/ScreenSaver.

Fix

**Confirm it is this bug** while a video is playing:


busctl --user call org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus NameHasOwner s org.freedesktop.ScreenSaver
# b false   -> nothing owns the name, D-Bus inhibits are being dropped
hyprctl clients -j | jq -r '.[] | "\(.class) inhibitingIdle=\(.inhibitingIdle)"'

**Workaround 1, manual (Omarchy 4):** turn on Stay Awake while watching, and turn it off afterwards. It is also on Super+Ctrl+I, and in the Super+Space menu under Trigger > Toggle > Stay Awake.


omarchy toggle idle stay-awake
# when done
omarchy toggle idle allow-idle

If idle never comes back after turning Stay Awake off, see the record omarchy-idle-never-rearms-after-stay-awake.

**Workaround 2, automatic for fullscreen video:** give the browser a compositor-side idle inhibitor while it is fullscreen. Hyprland's own idle_inhibit rule is a compositor-side inhibitor, which the Omarchy idle service does honour. Find the window class first:


hyprctl clients -j | jq -r '.[].class' | sort -u

Then add a rule to ~/.config/hypr/hyprland.lua, below the require("default.hypr.omarchy") line. Omarchy already tags Firefox, Zen and LibreWolf windows with firefox-based-browser in /usr/share/omarchy/default/hypr/apps/browser.lua, so one rule covers all three:


o.window({ tag = "firefox-based-browser" }, { idle_inhibit = "fullscreen" })

For any other app, match the class you found instead (zen here is an example):


o.window({ class = "^zen$" }, { idle_inhibit = "fullscreen" })

hyprctl reload

Omarchy already ships this rule shape for Moonlight, RetroArch, GeForce NOW and Steam in /usr/share/omarchy/default/hypr/apps/. It does not help with windowed playback.

**Plain Arch with hypridle:** not affected. hypridle registers org.freedesktop.ScreenSaver itself, so check that hypridle.service is running.

Verify

Play a video fullscreen and leave the input devices alone past idle.screensaver (150 seconds by default). hyprctl clients -j should show the browser with inhibitingIdle: true, and journalctl --user -b | grep idle-cycle-start should log nothing new during playback.

Sources

screensaver-fires-during-browser-video-dbus-inhibit-dropped