Skip to content

Instantly share code, notes, and snippets.

@skynetbinary
Created May 16, 2015 10:42
Show Gist options
  • Save skynetbinary/ce736db615d3ecd6a843 to your computer and use it in GitHub Desktop.
Save skynetbinary/ce736db615d3ecd6a843 to your computer and use it in GitHub Desktop.
Set default display brightness in Ubuntu

Setting Up Default Brightness in Ubuntu

Your default brightness is stored in

/sys/class/backlight/acpi_video0/brightness

but unfortunately, you have to set permissions to access it

$ chmod o+w /sys/class/backlight/acpi_video0/brightness

and now you can change the brightness level

$ echo 75 > /sys/class/backlight/acpi_video0/brightness

NOTE: I use 75% as my default brightness. But you can change the numbers. Cheers!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment