Skip to main content

System idle time using DBus

Project description

dbus-idle

pypi python version Project status license

Detect user idle time or inactivity on Linux and Windows.

Requirements

  • Python 3.7 or later

Installation

Install using pip install dbus-idle

Usage

You can use this module from the command line

python -m dbus-idle

or access the current idle time from within your python program

from dbus_idle import IdleMonitor

monitor = IdleMonitor.get_monitor()
monitor.get_dbus_idle()

Contribution

This is based on the work by Alexander Frenzel

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

dbus_idle-2023.3.0-py3-none-any.whl (4.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page