Skip to content

screen-locker: xautolock: disable X blanking timer#9039

Open
ambroisie wants to merge 1 commit intonix-community:masterfrom
ambroisie:xautolock-screen-blanking
Open

screen-locker: xautolock: disable X blanking timer#9039
ambroisie wants to merge 1 commit intonix-community:masterfrom
ambroisie:xautolock-screen-blanking

Conversation

@ambroisie
Copy link
Copy Markdown
Contributor

Description

I think it makes sense to do this by default.

  • Change is backwards compatible.

  • Code formatted with nix fmt or
    nix-shell -p treefmt nixfmt deadnix keep-sorted nixf-diagnose --run treefmt.

  • Code tested through nix run .#tests -- test-all or
    nix-shell --pure tests -A run.all.

  • Test cases updated/added. See example.

  • Commit messages are formatted like

    {component}: {description}
    
    {long description}
    

    See CONTRIBUTING for more information and recent commit messages for examples.

  • If this PR adds a new module

    • Added myself as module maintainer. See example.
    • Generate a news entry. See News
    • Basic tests added. See Tests
  • If this PR adds an exciting new feature or contains a breaking change.

    • Generate a news entry. See News

@github-actions github-actions bot added the x11 label Apr 4, 2026
@home-manager-ci home-manager-ci bot requested a review from rszamszur April 4, 2026 17:34
@rycee
Copy link
Copy Markdown
Member

rycee commented Apr 5, 2026

It's been a long time since I used xset and xautolock but I have some memory of using xset to trigger the screen saver at like 2 min idle and set the screen locker to lock at 10 min. This change seems to assume that one always would lock immediately?

@ambroisie
Copy link
Copy Markdown
Contributor Author

Yeah, to be honest I find the man pages hard to understand. Hence why I'm opening this more as a discussion rather than a firm change.

As I don't use a screen-saver, only a locker, it could be that this reflects my spartan usage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants