Skip to content

[FEATURE] Allow ignoring idle inhibitors from media players for automatic lock screen #3728

Description

@the-simen

Submission checklist

  • I have searched existing issues and confirmed this has not been requested before.
  • I have checked existing pull requests for similar changes.

Feature type

New functionality

Feature summary

Currently applications like Spotify can prevent idle detection through
zwp_idle_inhibit_manager_v1.

Currently, applications can prevent idle detection through zwp_idle_inhibit_manager_v1. This behavior is useful for cases like fullscreen video playback, but it can be undesirable for applications that only play audio (for example Spotify), because the lock screen will never activate while music is playing.

Possible solution:

  • add an option to ignore media-related idle inhibitors;
  • distinguish fullscreen video from audio playback;
  • provide a setting for lock screen behavior.

Motivation / use case

For security, users may want the lock screen to activate after inactivity
even when music is playing.

Proposed solution

Add a configurable list of applications that should be ignored when handling idle inhibitors for automatic lock screen.

Alternatives considered

No response

References / related projects

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions