Merged
Conversation
Contributor
|
Sorry I just merged #211 which renamed kmscon.conf to kmscon.conf.example. |
Implements automatic screen blanking after a configurable period of keyboard and mouse inactivity. The feature can be enabled via the --dpms-timeout option (in seconds), with 0 meaning disabled (default). When the timeout expires, all displays are turned off using DPMS_OFF. Any keyboard or mouse input will turn the displays back on and reset the timer. The implementation includes proper handling of display hotplug events by only applying DPMS state changes to activated displays, preventing errors when displays are disconnected and reconnected. Changes: - Add dpms_timeout configuration option (kmscon_conf.h, kmscon_conf.c) - Add per-seat DPMS timer and state tracking (kmscon_seat.c) - Register keyboard and mouse event handlers to reset timer - Add DPMS timeout management functions with activated display checks - Filter pointer events to only react to user actions (MOVED, BUTTON, WHEEL) - Document new option in example config file - Add man page documentation (kmscon.1.xml.in, kmscon.conf.1.xml.in)
Contributor
Author
|
No worries @kdj0c I just modified to PR accordingly. |
Contributor
|
@kdj0c Any chance of a new tagged release soon so I don't have to build from a commit for this feature? |
Contributor
|
@satmandu Yes, there are a lot of changes since last release, so I will try to tag one this week. |
Contributor
|
@kdj0c Thanks! It would be nice to ping the downstream debian maintainers about the new functionality and why they should put out a new version derived from the new (old) upstream. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implements automatic screen blanking after a configurable period of keyboard and mouse inactivity.
Features
--dpms-timeoutoption (in seconds, 0 = disabled by default)