Decided to uninstall my display manager and use startx instead. But now when I resume from suspend, the brightness keys cease to work until I log out and back in. Backlight does still respond when echoing into /sys/class/backlight/intel_backlight/brightness. But what kind of magic does a display manager do to keep brightness controls working after suspend and resume?

Using xfce on tty1 on an X230 if it matters.

  • HexagonSun@sh.itjust.works
    link
    fedilink
    arrow-up
    2
    ·
    5 days ago

    My 2012 MacBook Pro has exactly the opposite behaviour on a clean install across multiple distros. The brightness keys do nothing until after a suspend, then work fine until the next reboot. Never found a fix.

  • eldavi@lemmy.ml
    link
    fedilink
    arrow-up
    4
    ·
    7 days ago

    i think that most of them either use something like xrandr or brightnessctl.