pinebook tech tips

if the display is flickering on shutdown (sometimes it has weird patterns as the power is cut)

add a script in /usr/lib/systemd/system-shutdown/

#!/bin/bash
echo 0 > /sys/class/backlight/edp-backlight/brightness

make it executable
boom now the backlight is disabled right before the kernel halt procedure is called. no flicker

@haskal is this linked to the pinebook distro or a generic Linux thing? I experience similar stuff in NixOS

@rothair it's a (harmless) hardware thing. i think lcds just do that when you cut power to the lcd before the backlight

Follow

@haskal I was more asking whether this fix should be expected to work in any distro, do you know?

Sign in to participate in the conversation
Mastodon for Tech Folks

This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either!