org_kde_kwin_idle

Deprecatedversion 1
User idle time manager

This interface allows to monitor user idle time on a given seat. The interface allows to register timers which trigger after no user activity was registered on the seat for a given interval. It notifies when user activity resumes.

This is useful for applications wanting to perform actions when the user is not interacting with the system, e.g. chat applications setting the user as away, power management features to dim screen, etc..

get_idle_timeout(id: new_id<org_kde_kwin_idle_timeout>, seat: object<wl_seat>, timeout: uint)
Argument
Type
Description
idnew_id<org_kde_kwin_idle_timeout>
seatobject<wl_seat>
timeoutuint
The idle timeout in msec

org_kde_kwin_idle_timeout

Deprecatedversion 1

release()
release the timeout object
simulate_user_activity()
Simulates user activity for this timeout, behaves just like real user activity on the seat
idle()
Triggered when there has not been any user activity in the requested idle time interval
resumed()
Triggered on the first user activity after an idle event

Compositor Support

Mutter
Mutter
46
KWin
KWin
6.2
Sway
Sway
1.9
COSMIC
COSMIC
1.0.0
Hyprland
Hyprland
0.42.0
niri
0.1.8
Weston
Weston
13
Mir
Mir
2.18
GameScope
GameScope
3.15.14
Jay
1.7.0
org_kde_kwin_idle
x
1
x
x
x
x
x
x
x
x

SPDX-FileCopyrightText: 2015 Martin Gräßlin

SPDX-License-Identifier: LGPL-2.1-or-later