Skip to content

Screen stays dimmed or doesn't turn back on at all after turning off and locking [Regolith Sway 3.4 on Linux Mint 22.3] #20

Description

@70rc

Often after unlocking a previously locked session, my screen stays at 30% brightness. I'm not entirely sure whether this only happens after manual or automatic locking as it doesn't happen consistently.

More rarely, but still noticeably often, the screen stays completely off. I'm reasonably convinced that this is due to sway not receiving or not reacting to the output '*' dpms on message, as I can turn the screen back on by manually sending a swaymsg from another tty:

  1. Switch to different tty (screen turns back on).
  2. Log in and run sleep 10; swaymsg -s "${XDG_RUNTIME_DIR}/sway-ipc.$(id -u)."*".sock" output '*' dpms on.
  3. Switch back to original tty (screen turns back off) and wait for screen to turn on.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions