Location of the “brightness” file on Samsung Series 9 (NP900X3B/C) in Ubuntu/Linux Mint


If you need to change the brightness of the screen on your Samsung Series 9 in Ubuntu/Linux Mint, you can find it here.

In the file: /sys/class/backlight/intel_backlight/brightness

The max value seems to be 4648.

Here’s a really simply script to change the brightness:

#!/bin/bash
if [ -z "$1" ]; then
        :  # noop
elif [ "$1" -le `cat /sys/class/backlight/intel_backlight/max_brightness` ]; then
        echo $B > /sys/class/backlight/intel_backlight/brightness
elif [ "$1" -gt `cat /sys/class/backlight/intel_backlight/max_brightness` ]; then
        cat /sys/class/backlight/intel_backlight/max_brightness > /sys/class/backlight/intel_backlight/brightness
fi
cat /sys/class/backlight/intel_backlight/brightness