Recent Posts

Fixing brightness problem in Kali Linux (Try it on other Linux distribution)

After installing Kali Linux sometimes users show that they can't control their 
PC's monitor brightness as they want. Its a disgusting problem for new users. But you must not think that you monitor is getting mad and repair it. After installing Linux on the different brands, PC this problem is faced some of the users. It's a problem of kernel of Linux distribution and the problem of your graphics which have not fully perfect for  Linux distribution kernel.So if you try you just fixed it and you will control your screen brightness on your Linux distribution by following some commands and trying to edit your grub file.

So lets start our problem fixing mission,

Step 1. Firstly, we use a command which name is xrandr and if you use this command it shows your display configuration which, have you used this at the present time. Its response back a message just like this LVDS1 or DP (Laptop monitor) connected with (Screen resolution) and fix your brightness problem by using this command,


xrandr --output LVDS1 --brightness 0.7(Brightness value,this not fix you can use as you want)

or use xrandr -q | grep " connected"

Step 2. Sometimes previous command doesn't work for your PC's screen. So you should use alternative way. So fixing your screen brightness you can use backlight command.

open your terminal first and type this command for installing xbacklight,

 sudo apt-get install xbacklight
  xbacklight -set 40(Brightness range value and its range between 0 to 100)
  
  sometimes you need to control your brightness very quickly so then you use this command,
  
  xbacklight -inc 10(-inc means increase.Increasing value 10,means that your default brightness value is 10 by typing this command the value will be 10+10=20)
  
  xbacklight -dec 10(-dec means decrease.Decreasing value 10,means that your default brightness value is 70 by typing this command the value will be 70-10=60)
  
  Or you can use xbacklight -set 100(Just input your value as you want your brightness)
  
  
Step 3.You can fix your screen brightness by initialize echo value by using this command,
  
  echo 10 > /sys/class/backlight/intel_backlight/brightness(Use for intel)
  
echo value range is 0 to 10.
your using brightness file directory is like this /sys/class/backlight/acpi_video0/brightness
  
 so you can use # cat /sys/class/backlight/acpi_video0/max_brightness > /sys/class/backlight/acpi_video0/brightness(max for increase)
  
or you will use, 
echo 0 > /sys/class/backlight/acpi_video0/brightness(value 0 for minimum)
  
or you can use this by copy paste:
sudo -c echo 45/sys/class/backlight/acpi_video0/brightness if back to default  then,
 sudo -c echo 0/sys/class/backlight/acpi_video0/brightness(-clear or -c)
  
Step 4: If last 3 steps doesn't work then follow step 4.Here we use xcalib for fixing brightness problem in Linux distribution.Actually xcalib is an open source project which running on XFree86,0.8 for Linux,0.8.1 for windows or Mac-OS for monitor calibration loader for applying the calibration which stored in color profiles on ICC.Visit these sites to know more Sourceforge  and xcalib Open your root terminal and start to follow this,
  
  Use this for see your PC's ICC profile configuration:
  xcalib -display ICCPROFILE(-display or -d)
  xcalib -screen ICCPROFILE(-screen or -s)
  xcalib -brightness ICCPROFILE(-brightness or -b)
  xcalib -contrast ICCPROFILE(-contrast or -co)
  
cd /root/Desktop
wget http://ftp.de.debian.org/debian/pool/main/x/xcalib/xcalib/xcalib_0.8.dfsgl-2_amd64.deb (wget is a command in Linux which helps for downloading resources from internet)
  
dpkg -i xcalib_0.8.dfsgl-2_amd64(dpkg is debian distribution package management system.Its use for installing and removing debian packages)
  
xcalib -co 60 -a(for setting your brightness)
  
For using default setting in brightness: xcalib -c (-clear or -c)
  
Try these step and i think you will able to solve your problem.
  



Post a Comment

2 Comments

  1. you can just install BLight from FixLinux Company and control it like gnome extension...
    If your Gnome's backlight is not working,download install it and enjoy...
    Video : https://www.youtube.com/watch?v=WItm1Sx24NA
    Program: https://sellfy.com/p/vIN6/#

    ReplyDelete