From e81767c7b4eda228e4042eb98a63bf57ad5073ff Mon Sep 17 00:00:00 2001 From: Ryan Yin Date: Sun, 13 Sep 2026 23:56:14 +0800 Subject: [PATCH] fix(hypridle): stop claiming org.freedesktop.ScreenSaver niri already owns the org.freedesktop.ScreenSaver interface and feeds its inhibitors into the compositor idle notifier, so hypridle's own registration always fails with 'Another service is already providing...'. Set ignore_dbus_inhibit = true so hypridle no longer tries to claim it; D-Bus inhibits are still handled by niri. --- home/linux/gui/base/hypridle/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/home/linux/gui/base/hypridle/default.nix b/home/linux/gui/base/hypridle/default.nix index 25e018ff..4526dce4 100644 --- a/home/linux/gui/base/hypridle/default.nix +++ b/home/linux/gui/base/hypridle/default.nix @@ -32,7 +32,10 @@ in general = { lock_cmd = "noctalia-shell ipc call lockScreen lock"; before_sleep_cmd = "noctalia-shell ipc call lockScreen lock"; - ignore_dbus_inhibit = false; + # niri already owns org.freedesktop.ScreenSaver and feeds its + # inhibitors into the compositor idle notifier, so hypridle must not + # try to claim the interface (it would log "already providing..."). + ignore_dbus_inhibit = true; }; listener = [