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.
This commit is contained in:
Ryan Yin
2026-09-13 23:56:14 +08:00
parent 7131041107
commit e81767c7b4
+4 -1
View File
@@ -32,7 +32,10 @@ in
general = { general = {
lock_cmd = "noctalia-shell ipc call lockScreen lock"; lock_cmd = "noctalia-shell ipc call lockScreen lock";
before_sleep_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 = [ listener = [