Khalil Majdalawi's Blog Web development,Technology,Games and more…

27Nov/110

Black Screen on Ubuntu

Today i tried to install Ubuntu 11.10 on HP Pavilion g6 laptop and i faced a strange problem a black screen during installation!!!

so i tried connecting it to another monitor and it did work but after installation and installing latest update and drivers the problem still exist on the main monitor :S

so after some googleing and trying deferent solutions i found out that the problem in screen brightness level,  for laptop monitor the level is  0 or less "total black"  which is weird,  and the fn key is working in wrong way "inversed" WTH!! ,

to adjust the level you need to hit f3 without fn key :S , or find the solution the hard way  by setting it in this file /etc/rc.local by adding the following line before exit 0

echo 5 > /sys/class/backlight/acpi_video0/brightness
exit 0

Where 5 is the brightness level from 0 to 10

source