Hi as the titles says really, I'm getting a really bright flash of the screen pre-suspend, when returning from sleep. Then it will load the lock screen at the brightness level I've set.
Any way to stop this flash returning from sleep?
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
#!/bin/bash case "$1" in hibernate|suspend) cat /sys/class/backlight/*/actual_brightness > /tmp/saved_brightness ;; thaw|resume) cat /tmp/saved_brightness > /sys/class/backlight/*/brightness ;; esac
sudo chmod +x /etc/pm/sleep.d/10_brightness_recall