Skip to content

Instantly share code, notes, and snippets.

@itsakt
Last active September 25, 2016 12:02
Show Gist options
  • Save itsakt/5c05da03d8565329877ceb3b4f102e8a to your computer and use it in GitHub Desktop.
Save itsakt/5c05da03d8565329877ceb3b4f102e8a to your computer and use it in GitHub Desktop.
# /etc/init/fixbrightness.conf
# replace BRIGHTNESS_VALUE and X eg. 0 & 0
description "Sets brightness after graphics device is loaded"
start on graphics-device-added
task
exec /bin/echo BRIGHTNESS_VALUE > /sys/class/backlight/acpi_videoX/brightness
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment