Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Set xbacklight to ACPI brightness (ROG GL702VM but probably GL502VM as well)
#!/bin/bash
while true
do
inotifywait -e modify /sys/class/backlight/acpi_video0/brightness
echo brightness set to: $(cat /sys/class/backlight/acpi_video0/brightness)
xbacklight -set $(cat /sys/class/backlight/acpi_video0/brightness)
done
@furui

This comment has been minimized.

Copy link
Owner Author

commented Dec 22, 2017

  1. Install inotify-tools and xbacklight
  2. Copy this file somewhere in your user directory and chmod +x it
  3. In Linux Mint, load up Startup Applications and create a new entry.
  4. Edit the Command to look like: nohup /path/to/backlight-daemon.sh &
  5. Log out and log back in
  6. Try ACPI backlight buttons
@maty974

This comment has been minimized.

Copy link

commented Mar 11, 2018

@furui Thanks for this workaround ! I still cannot get backlight working on my Asus G703VM...
but your tips is working fine ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.