Skip to content

swayidle not detecting idle...Β #194

@kiss81

Description

@kiss81

My pc: Ryzen 3700x / nvidia gtx1070
I am currently on ubuntu sway remix 25.04. (fully updated)

My config:

timeout 2 'echo 1'
timeout 30 '/usr/share/sway/scripts/kbd-backlight.sh off && swaymsg "output * power off"' resume '/usr/share/sway/scripts/kbd-backlight.sh on && swaymsg "output * power on"'

when I run swayidle -w -C config -d:

2025-09-09 09:37:17 - [Line 750] Register idle timeout at 2000 ms
2025-09-09 09:37:17 - [Line 751] Setup idle
2025-09-09 09:37:17 - [Line 713] Command: echo 1
2025-09-09 09:37:17 - [Line 750] Register idle timeout at 30000 ms
2025-09-09 09:37:17 - [Line 751] Setup idle
2025-09-09 09:37:17 - [Line 713] Command: /usr/share/sway/scripts/kbd-backlight.sh off && swaymsg "output * power off"
2025-09-09 09:37:17 - [Line 756] Setup resume
2025-09-09 09:37:17 - [Line 713] Command: /usr/share/sway/scripts/kbd-backlight.sh on && swaymsg "output * power on"
2025-09-09 09:37:17 - [Line 1083] Loaded config at config
2025-09-09 09:37:17 - [Line 463] Using session: /org/freedesktop/login1/session/_31
2025-09-09 09:37:17 - [Line 621] Enable idle timeouts
2025-09-09 09:37:17 - [Line 596] Register with timeout: 30000
2025-09-09 09:37:17 - [Line 596] Register with timeout: 2000

I can wait forever, but never see something happening... looks like the idle trigger never comes?

edit: I also tried the latest source code and build it, but same issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions