Skip to content


Brightness issue in Linux mint 14

I recently installed linux mint 14 (Nadia)   in my office laptop (HP Notebook 450 ). after installation when I booted into the os , the screen brightness was set very very low which I was able to adjust using the brightness function key.  Later I had the same problem when Ubuntu 12.10  was installed on the same laptop.  after little  duckduckgoing
I found this stackexchange question.  by following the accepted answer , I fixed the issue.

Solution

  • Current brightness value  was stored in  /sys/class/backlight/acpi_video0/brightness  file.
  • Maximum brightness value was  stored in  /sys/class/backlight/acpi_video0/max_brightness file.
  • I added the following line to /etc/rc.local init script.

    cat /sys/class/backlight/acpi_video0/max_brightness > /sys/class/backlight/acpi_video0/brightness 

in the end my /etc/rc.local init script was

#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will “exit 0” on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.

cat /sys/class/backlight/acpi_video0/max_brightness > /sys/class/backlight/acpi_video0/brightness
exit 0

After rebooting everything was fine..

br,

Hrishi

 
 

 

Posted in Hack, Linux.

Tagged with , , , .