DankMaterialShell icon indicating copy to clipboard operation
DankMaterialShell copied to clipboard

Idle Settings is not considering controller inputs

Open biase-d opened this issue 3 months ago • 3 comments

Compositor

  • [x] niri

Distribution

Arch on CachyOS

dms version

DankLinux Manager vv0.1.12

Description

When playing a game with controller the screen will turn off based on the time set in Idle settings

Expected Behavior

Controller inputs should be considered as system not idle and should not trigger any of the idle settings settings

Steps to Reproduce

  1. Set timer to 1min in idle settings for turning off screen
  2. Play a game with a controller
  3. Viola! Screen turns off after 1 min

biase-d avatar Oct 13 '25 12:10 biase-d

I think this could be similar case to https://github.com/swaywm/swayidle/issues/68 - certain game controllers not creating input events as a keyboard or mouse.

I think it's probably more suited as a discussion in niri? We might be able to add some app rules, though - to inhibit idle when certain apps are focused (like steam) or something.

bbedward avatar Oct 13 '25 19:10 bbedward

Im using hyperland and im having the same issue. not fun having to turn off idle settings in settings every time im gaming. is it atleast possible to add a button to disable idle settings somewhere?

gylli251 avatar Nov 09 '25 10:11 gylli251

Im using hyperland and im having the same issue. not fun having to turn off idle settings in settings every time im gaming. is it atleast possible to add a button to disable idle settings somewhere?

Sure it's possible, but the core issue is a compositor one (not supporting this)

if you can share some info - maybe lsusb it's possible we could add some workarounds for some devices to make an inhibitor, when its active.

bbedward avatar Nov 11 '25 02:11 bbedward