Pomoć za podešavanje svjetla na ekranu LAPTOPA

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • Pomoć za podešavanje svjetla na ekranu LAPTOPA

      Probao sam ovo . sve sam radio u terminalu. možda treba neki drugi program.
      Ili ako netko zna neki drugi način za podešavanje svjetline da ne bude full nakon rastarta .


      First install xdotool

      sudo apt-get install xdotool
      This will allow you to change the brightness easily from the command line with out admin privileges.

      Check whether the brightness is changing with the following command

      xdotool key XF86MonBrightnessDown

      Now we have to find the file where the brightness value is stored, try doing

      cat /sys/class/backlight/acpi_video0/brightness
      If
      you get an integer value then your good to proceed, else you have to
      find the appropriate file in your system. In that case check in
      /sys/class/

      Adjust the brightness and find your desired brightness level using the above command E.g. 9

      In this example I have used 9 as my brightness level change it according to you.


      #!/bin/bash

      myBrightness=9;
      currentBrightness=`cat /sys/class/backlight/acpi_video0/brightness`;
      count=$(( $currentBrightness - $myBrightness )) ;
      while [ $count -gt 0 ]
      do
      xdotool key XF86MonBrightnessDown
      let count=$(($count-1));
      done

      Save this as brightness.sh

      Then make this file to be an executable, by running

      chmod +x brightness.sh


      Save this as brightness.sh OVO NE ZNAM KAKO SNIMITI.
      VU+Uno 4K SE
      HRT