Skip to content


Shell Script for Linux NVIDIA Kernel Module Laptop Brightness Workaround

Thanks to this post, I wrote a shell script to automate the workaround process for changing the laptop brightness:

#!/bin/bash
chvt 1
echo -n 100 > /proc/acpi/video/NVID/LCD/brightness
chvt 7

Copy and paste this into something like brightness.sh, then make it executable by entering chmod a+x brightness.sh into a terminal then run the script as root by entering sudo sh brightness.sh.

Posted in Techy. Tagged with , , , , , , .

2 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

  1. Jaya said

    Thanks for this script, works for me, that made my day!

  2. Great site, I will be back. Well done

Some HTML is OK

(required)

(required, but never shared)

or, reply to this post via trackback.