Useful bash alias for backlighted ASUS


SUBMITTED BY: Guest

DATE: Nov. 21, 2012, 6:46 p.m.

FORMAT: Bash

SIZE: 463 Bytes

HITS: 1416

  1. These are aliases that I use on my linux installation on a ASUS-laptop with backlight on keyboard:
  2. #ROOTS Aliases
  3. #Set keyboard backlights from 0 (dark) to 3
  4. alias fnb0='echo 0 > /sys/class/leds/asus::kbd_backlight/brightness'
  5. alias fnb1='echo 1 > /sys/class/leds/asus::kbd_backlight/brightness'
  6. alias fnb2='echo 2 > /sys/class/leds/asus::kbd_backlight/brightness'
  7. alias fnb3='echo 3 > /sys/class/leds/asus::kbd_backlight/brightness'

comments powered by Disqus