DankMaterialShell icon indicating copy to clipboard operation
DankMaterialShell copied to clipboard

Idle issue: system suspends or logs out even with all DMS idle settings set to "Never"

Open CairamRibeiro opened this issue 1 month ago • 4 comments

Compositor

  • [ ] niri
  • [x] Hyprland
  • [ ] dwl (MangoWC)
  • [ ] sway
  • [ ] Other (specify)

Distribution

Arch Linux

dms version

v0.5.2

Description

Even with all idle-related options in DankMaterialShell set to Never, my system still ends up suspending or returning to the login screen as if an idle action was triggered.

Important details:

  • In Energy & Security → Idle settings I have:
    • “Lock automatically after” = Never
    • “Turn displays off after” = Never
    • “Suspend system after” = Never
  • systemd-logind is configured to ignore idle actions and sleep/lid keys via a drop-in.
  • hypridle is installed but disabled and not running:
    • The user service is inactive (dead),
    • There are no hypridle processes,
    • It is not referenced anywhere in my Hyprland config.
  • There are no other idle daemons configured to manage suspend/lock as far as I know.

From my point of view as a user, what happens is:

  • After some time, the session either suspends or drops back to the login/greeter as if an idle timeout had fired.
  • This can happen even while Steam is downloading games (so the system is not completely idle).
  • It feels like something in DMS (IdleMonitor / session handling) is still triggering a suspend or session close despite the GUI showing “Never” for all idle actions.

I also applied a workaround by masking the suspend-related systemd targets so that nothing can call systemd suspend, but I would like to understand/fix the root cause.

Expected Behavior

With:

  • DankMaterialShell idle settings (lock automatically, turn displays off, suspend system) all set to Never, and

  • systemd-logind configured like this:

    [Login]
    IdleAction=ignore
    IdleActionSec=0
    HandleSuspendKey=ignore
    HandleLidSwitch=ignore
    HandleLidSwitchExternalPower=ignore
    

CairamRibeiro avatar Nov 16 '25 05:11 CairamRibeiro

I noticed this happens when I turn off my screen; the system goes into sleep mode immediately after shutting down. Is there something I need to change? I'm using an RTX 5080.

CairamRibeiro avatar Nov 16 '25 06:11 CairamRibeiro

Same issue here.

NINNiT avatar Nov 18 '25 18:11 NINNiT

Are you all on hyprland or something different?

bbedward avatar Nov 18 '25 18:11 bbedward

And coudl you share ~/.config/DankMaterialShell/settings.json - you can strip location coordinates from it if you have it for gamma or whatever, for privacy.

bbedward avatar Nov 18 '25 19:11 bbedward