How to increase brightness in smaller steps?












18















Is there a way to adjust lighting step ? I have Lenovo L520, and Fn + Light Up or Down adjusts by 20%, how can I adjust the step to 10% ? it will help me fine tune lighting at my dark room.










share|improve this question

























  • @ఆగస్ట్ It's not a dupe of that one but these two are exact dupes, yet this one here is the oldest. The other two should be closed instead.

    – Tom Brossman
    Oct 8 '12 at 18:22






  • 1





    yup! you are right amigo . i will do the remaining job then :D

    – rɑːdʒɑ
    Oct 8 '12 at 18:25













  • Given that most firmwares/OSs default to increments of 10%, your issue sounds like you just needed to apply the well-documented method of adding acpi_backlight=vendor to your GRUB configuration.

    – underscore_d
    Oct 18 '15 at 23:19






  • 3





    Possible duplicate of How can I change the percent of screen brightness that changes every time I press the shortcut?

    – WinEunuuchs2Unix
    Oct 2 '18 at 3:28
















18















Is there a way to adjust lighting step ? I have Lenovo L520, and Fn + Light Up or Down adjusts by 20%, how can I adjust the step to 10% ? it will help me fine tune lighting at my dark room.










share|improve this question

























  • @ఆగస్ట్ It's not a dupe of that one but these two are exact dupes, yet this one here is the oldest. The other two should be closed instead.

    – Tom Brossman
    Oct 8 '12 at 18:22






  • 1





    yup! you are right amigo . i will do the remaining job then :D

    – rɑːdʒɑ
    Oct 8 '12 at 18:25













  • Given that most firmwares/OSs default to increments of 10%, your issue sounds like you just needed to apply the well-documented method of adding acpi_backlight=vendor to your GRUB configuration.

    – underscore_d
    Oct 18 '15 at 23:19






  • 3





    Possible duplicate of How can I change the percent of screen brightness that changes every time I press the shortcut?

    – WinEunuuchs2Unix
    Oct 2 '18 at 3:28














18












18








18


7






Is there a way to adjust lighting step ? I have Lenovo L520, and Fn + Light Up or Down adjusts by 20%, how can I adjust the step to 10% ? it will help me fine tune lighting at my dark room.










share|improve this question
















Is there a way to adjust lighting step ? I have Lenovo L520, and Fn + Light Up or Down adjusts by 20%, how can I adjust the step to 10% ? it will help me fine tune lighting at my dark room.







brightness backlight






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Feb 11 '12 at 10:18









Lekensteyn

122k48267358




122k48267358










asked Feb 11 '12 at 7:05









Samir SabriSamir Sabri

4212518




4212518













  • @ఆగస్ట్ It's not a dupe of that one but these two are exact dupes, yet this one here is the oldest. The other two should be closed instead.

    – Tom Brossman
    Oct 8 '12 at 18:22






  • 1





    yup! you are right amigo . i will do the remaining job then :D

    – rɑːdʒɑ
    Oct 8 '12 at 18:25













  • Given that most firmwares/OSs default to increments of 10%, your issue sounds like you just needed to apply the well-documented method of adding acpi_backlight=vendor to your GRUB configuration.

    – underscore_d
    Oct 18 '15 at 23:19






  • 3





    Possible duplicate of How can I change the percent of screen brightness that changes every time I press the shortcut?

    – WinEunuuchs2Unix
    Oct 2 '18 at 3:28



















  • @ఆగస్ట్ It's not a dupe of that one but these two are exact dupes, yet this one here is the oldest. The other two should be closed instead.

    – Tom Brossman
    Oct 8 '12 at 18:22






  • 1





    yup! you are right amigo . i will do the remaining job then :D

    – rɑːdʒɑ
    Oct 8 '12 at 18:25













  • Given that most firmwares/OSs default to increments of 10%, your issue sounds like you just needed to apply the well-documented method of adding acpi_backlight=vendor to your GRUB configuration.

    – underscore_d
    Oct 18 '15 at 23:19






  • 3





    Possible duplicate of How can I change the percent of screen brightness that changes every time I press the shortcut?

    – WinEunuuchs2Unix
    Oct 2 '18 at 3:28

















@ఆగస్ట్ It's not a dupe of that one but these two are exact dupes, yet this one here is the oldest. The other two should be closed instead.

– Tom Brossman
Oct 8 '12 at 18:22





@ఆగస్ట్ It's not a dupe of that one but these two are exact dupes, yet this one here is the oldest. The other two should be closed instead.

– Tom Brossman
Oct 8 '12 at 18:22




1




1





yup! you are right amigo . i will do the remaining job then :D

– rɑːdʒɑ
Oct 8 '12 at 18:25







yup! you are right amigo . i will do the remaining job then :D

– rɑːdʒɑ
Oct 8 '12 at 18:25















Given that most firmwares/OSs default to increments of 10%, your issue sounds like you just needed to apply the well-documented method of adding acpi_backlight=vendor to your GRUB configuration.

– underscore_d
Oct 18 '15 at 23:19





Given that most firmwares/OSs default to increments of 10%, your issue sounds like you just needed to apply the well-documented method of adding acpi_backlight=vendor to your GRUB configuration.

– underscore_d
Oct 18 '15 at 23:19




3




3





Possible duplicate of How can I change the percent of screen brightness that changes every time I press the shortcut?

– WinEunuuchs2Unix
Oct 2 '18 at 3:28





Possible duplicate of How can I change the percent of screen brightness that changes every time I press the shortcut?

– WinEunuuchs2Unix
Oct 2 '18 at 3:28










15 Answers
15






active

oldest

votes


















13














Install xbacklight by opening a terminal with Ctrl+Alt+T shortcut and type this:



sudo apt-get install xbacklight


then after installation, type these commands in terminal:



xbacklight = 10
xbacklight = 20
xbacklight = 5


this may help.






share|improve this answer


























  • This method worked perfect for me! Other way is: xbacklight -dec 1, or xbacklight -inc 1 (to increase or decrease 1%)

    – lepe
    Dec 13 '12 at 13:06











  • On a Asus n55s xbacklight accepts any value (even with decimal places), but actual values (as visible by try and see, and as returned by xbacklight without argument) are rounded down to the nearest 10%.

    – Stéphane Gourichon
    Jun 3 '14 at 20:09













  • It should be noted the man page recommends -set instead of =. More importantly, anyone mapping keys to this should really add -time 0 -steps 1 - because otherwise, xbacklight applies backlight fading by default, which seems to really wind up your (at least my) CPU when 'scrolling' brightness by holding down the assigned hotkey. I'm talking all cores rising from 45 to 60 degrees, over just a few seconds - best avoided. To be fair, I'm using 1% increments - where fading is even more pointless than normal - but still, don't tax your CPU if you don't have to.

    – underscore_d
    Oct 18 '15 at 23:06













  • xbacklight doesn't work on asus x8ain

    – Xetra
    Apr 25 '18 at 6:36



















5














There is a file in Ubuntu which stores numerical integer value of brightness.
you will find 3 files in the directory /sys/class/backlight/<VGA>directory
replace directory with intel_backlight for intel cards.



You will find the max brightness value in max_brightness file and according to that value set the brightness in brightness file.






share|improve this answer



















  • 1





    This was shows if your hardware is capable for fine granularity or not.

    – V-Mark
    Jan 14 '16 at 9:15



















3














You can install xcalib and then type the command:



xcalib -co 50 -a


Use xcalib -h for help regarding it's options.






share|improve this answer
























  • works on my macbook retina 15. Thanks! :-p

    – Pol Hallen
    Nov 2 '16 at 11:24






  • 2





    This works by sending darker images to your graphics card instead of adjusting the backlight. While it may seem to produce the desired effect, this is wasting energy and reduces the number of available colors.

    – Sunday
    Aug 17 '17 at 13:28











  • @Sunday But we use it to protect our eyes, not the battery

    – Xetra
    Apr 25 '18 at 6:33











  • I would not say that accidently reducing your color depth and thus introducing banding artifacts is very good for your eyes either...

    – Sunday
    Apr 27 '18 at 18:44



















3














As Colin Ian King said, the levels of brightness are hardware related.



Some laptop screens have 8 levels of brightness and new ones have 16 levels.



On Windows OSes you can change the levels with 1% steps, but they will be rounded to the nearest hardware level. It depends on the screen type.






share|improve this answer

































    2














    My solution was to install 'xbacklight'



    Then I created keyboard shortcuts such as





    • ctrlshift+ with command xbacklight +5


    • ctrlshift- with command xbacklight -5


    So when you use those shortcuts they call the related command
    however I could not replace the system inbuilt brightness buttons to use these commands
    You can use almost any keyboard shortcut button combination you like with xbacklight.






    share|improve this answer

































      1














      The brightness levels are generally under ACPI control with the levels defined in firmware. For example the ACPI control method _BCL "Query List of Brightness Control Levels Supported" informs the kernel how many brightness levels are supported. You can't realistically change this.






      share|improve this answer































        1














        In my case (Lenovo T500) the problem is, that the brightness regulating key-press is applied twice - once by using the Xwindows, but also independently in the lower level, by kernel's graphic driver itself. So the brightness steps are twice as big as usual.



        The working solution is to deny the low-level functionality, by adding this line to /etc/rc.local (just before the line with 'exit 0'):



        echo -n 0 > /sys/module/video/parameters/brightness_switch_enabled


        This way it will perfectly work in logged-in X session, unfortunately it will remove the key-press brightness regulation functionality in all other cases (console terminal, X login screen etc).






        share|improve this answer































          1














          For me xbacklight did not work (EDIT: probably because I did not reboot my machine), therefore I created my own script which uses the built-in gsd-backlight-helper.



          This script uses smaller steps, especially when the screen is quite dark already.



          Step 0: check if it works (optional)



          To see if it works you could try:



          pkexec /usr/lib/gnome-settings-daemon/gsd-backlight-helper --get-brightness


          This should output a number.



          Step 1: save script



          Save the following script in an .sh file, for instance in /home/me/scripts/brightness.sh.



          #!/bin/bash

          max=$(pkexec /usr/lib/gnome-settings-daemon/gsd-backlight-helper --get-max-brightness)
          cur=$(pkexec /usr/lib/gnome-settings-daemon/gsd-backlight-helper --get-brightness)
          if [ $(($max/$cur)) -ge 25 ]
          then
          step=$((max/300+1))
          else if [ $(($max/$cur)) -ge 5 ]
          then
          step=$((max/50+1))
          else
          step=$((max/20+1))
          fi
          fi
          case "$1"
          in
          +) new=$((cur+step));;
          -) new=$((cur-step));;
          esac
          pkexec /usr/lib/gnome-settings-daemon/gsd-backlight-helper --set-brightness $new


          Step 2: assign shortcuts



          Open Keyboard Shortcuts from the Settings menu and assign shortcuts:



          name:     Darker
          command: sh /home/me/scripts/brightness.sh -
          shortcut: Super + F5

          name: Brighter
          command: sh /home/me/scripts/brightness.sh +
          shortcut: Super + F6





          share|improve this answer


























          • what you mean ? xbacklight did not work ? when xbacklight is installed fresh, then you should reboot your machine. True, here was not said that, to reboot the machine.

            – dschinn1001
            Oct 2 '18 at 1:15











          • Thanks. Indeed, I think I did not reboot my machine... Yet my script has the advantage that it uses smaller steps on darker screens and larger steps if the screen is quite bright already.

            – Dirk
            Oct 3 '18 at 5:01





















          1














          On Ubuntu 16.04, with Intel onchip graphics (i5) under LXQt, it is sufficient to assign xbacklight commands to the brightness function keys XF86MonBrightness(Down|Up) using the global key shortcut settings. These seem to override the defaults even if /sys/module/video/parameters/brightness_switch_enabled is set to Y, while the original functionality on virtual terminals is retained.
          LXQt global key shortcut configuration with xbacklight commands



          An alternative to the original xbacklight would be acpilight, but unfortunately this isn't available as Ubuntu package. As it doesn't depend on an X display running, you can also associate it with ACPI button events and use it from the console. Additionally it can store the current brightness on shutdown and restore it on boot.






          share|improve this answer


























          • The same holds true for XFCE with Xubuntu LTS 18.04. Thanks!

            – Serge Stroobandt
            Oct 1 '18 at 23:37



















          0














          Brightness cannot controlled with large precision. I'm afraid that you're stuck with those brightness levels. To be sure, try controlling the brightness using these terminal commands.






          share|improve this answer





















          • 1





            If I go to System Settings, I find an icon labeled 'Screen' If I click on that icon I get a scroll bar that can set the brightness in small percents, How can I get this screen icon to the top bar ( besides clock, or battery indicator ) ?

            – Samir Sabri
            Feb 11 '12 at 9:13






          • 1





            What about launchpad.net/indicator-brightness? I haven't tried it since I don't use Unity/GNOME.

            – Lekensteyn
            Feb 11 '12 at 10:17











          • Oh, sorry, thanks but, how to install it ?

            – Samir Sabri
            Feb 11 '12 at 19:25











          • Have a look at askubuntu.com/a/58022/6969

            – Lekensteyn
            Feb 11 '12 at 21:08






          • 1





            It definetely can be controlled in smallest steps in many cases. Please have a look at askubuntu.com/a/205509/43165.

            – vines
            Oct 25 '12 at 0:30



















          0














          You could try setting it manually. First you have to get the PCI-ID of the VGA device:



          lspci


          Then try this (in my case the PCI-Device is 00:02.0)



          sudo setpci -s 00:02.0 f4.b=FF


          The 2 letters at the end of the Line set the new brightness ranging from 00-FF (0-255)






          share|improve this answer































            0














            If you are using Nvidia Graphic card..you can easily use my new method of brightness changing,and edit values in Code.. theres two files and two options within each one.



            find these two lines:



            if ( $value > 0.0) { $value = $value - 0.30 };  
            if ( $value2 > 1.1) { $value2 = $value2 - 0.08 };


            change values of ($value > 0.0) & ( $value2 > 1.1)
            and see whats happens!



            meanwhile if you dont want to change values and wish to use my method originally you can
            change brightness in a wide range and 5 steps.
            wish you like it



            link of method: https://askubuntu.com/a/179063/82136






            share|improve this answer


























            • Uh... isn't this just mangling the bitmap before it's sent to the screen, rather than actually changing the screen's brightness?

              – underscore_d
              Oct 18 '15 at 23:14



















            0














            Official documentation:



            https://www.x.org/archive/X11R7.5/doc/man/man1/xbacklight.1.html




            inc percent
            Increases brightness by the specified amount.



            dec percent
            Decreases brightness by the specified amount.




            Example:



            xbacklight -inc 10%



            xbacklight -dec 10%






            share|improve this answer

































              0














              For Xubuntu LTS



              Firstly, install xbacklight



              $ sudo apt install xbacklight


              Secondly, check whether you have control over the backlight.



              $ xbacklight -1
              $ xbacklight +5



              Should these commands result in a No outputs have backlight property error, then follow these remediating steps before proceeding.




              Once xbacklight -1 and xbacklight +1 work from the command line, proceed with assigning these commands to respectively the XF86MonBrightnessDown and XF86MonBrightnessUp keys. This is done by hitting those keys when asked by the Settings → Keyboard → Application Shortcuts application.



              Finally, reboot for these changes to take effect.



              Keyboard settings






              share|improve this answer

































                -4














                Hold down Ctrl while increasing/decreasing the brightness. Increases in steps of 1.






                share|improve this answer

























                  Your Answer








                  StackExchange.ready(function() {
                  var channelOptions = {
                  tags: "".split(" "),
                  id: "89"
                  };
                  initTagRenderer("".split(" "), "".split(" "), channelOptions);

                  StackExchange.using("externalEditor", function() {
                  // Have to fire editor after snippets, if snippets enabled
                  if (StackExchange.settings.snippets.snippetsEnabled) {
                  StackExchange.using("snippets", function() {
                  createEditor();
                  });
                  }
                  else {
                  createEditor();
                  }
                  });

                  function createEditor() {
                  StackExchange.prepareEditor({
                  heartbeatType: 'answer',
                  autoActivateHeartbeat: false,
                  convertImagesToLinks: true,
                  noModals: true,
                  showLowRepImageUploadWarning: true,
                  reputationToPostImages: 10,
                  bindNavPrevention: true,
                  postfix: "",
                  imageUploader: {
                  brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
                  contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
                  allowUrls: true
                  },
                  onDemand: true,
                  discardSelector: ".discard-answer"
                  ,immediatelyShowMarkdownHelp:true
                  });


                  }
                  });














                  draft saved

                  draft discarded


















                  StackExchange.ready(
                  function () {
                  StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f103249%2fhow-to-increase-brightness-in-smaller-steps%23new-answer', 'question_page');
                  }
                  );

                  Post as a guest















                  Required, but never shown

























                  15 Answers
                  15






                  active

                  oldest

                  votes








                  15 Answers
                  15






                  active

                  oldest

                  votes









                  active

                  oldest

                  votes






                  active

                  oldest

                  votes









                  13














                  Install xbacklight by opening a terminal with Ctrl+Alt+T shortcut and type this:



                  sudo apt-get install xbacklight


                  then after installation, type these commands in terminal:



                  xbacklight = 10
                  xbacklight = 20
                  xbacklight = 5


                  this may help.






                  share|improve this answer


























                  • This method worked perfect for me! Other way is: xbacklight -dec 1, or xbacklight -inc 1 (to increase or decrease 1%)

                    – lepe
                    Dec 13 '12 at 13:06











                  • On a Asus n55s xbacklight accepts any value (even with decimal places), but actual values (as visible by try and see, and as returned by xbacklight without argument) are rounded down to the nearest 10%.

                    – Stéphane Gourichon
                    Jun 3 '14 at 20:09













                  • It should be noted the man page recommends -set instead of =. More importantly, anyone mapping keys to this should really add -time 0 -steps 1 - because otherwise, xbacklight applies backlight fading by default, which seems to really wind up your (at least my) CPU when 'scrolling' brightness by holding down the assigned hotkey. I'm talking all cores rising from 45 to 60 degrees, over just a few seconds - best avoided. To be fair, I'm using 1% increments - where fading is even more pointless than normal - but still, don't tax your CPU if you don't have to.

                    – underscore_d
                    Oct 18 '15 at 23:06













                  • xbacklight doesn't work on asus x8ain

                    – Xetra
                    Apr 25 '18 at 6:36
















                  13














                  Install xbacklight by opening a terminal with Ctrl+Alt+T shortcut and type this:



                  sudo apt-get install xbacklight


                  then after installation, type these commands in terminal:



                  xbacklight = 10
                  xbacklight = 20
                  xbacklight = 5


                  this may help.






                  share|improve this answer


























                  • This method worked perfect for me! Other way is: xbacklight -dec 1, or xbacklight -inc 1 (to increase or decrease 1%)

                    – lepe
                    Dec 13 '12 at 13:06











                  • On a Asus n55s xbacklight accepts any value (even with decimal places), but actual values (as visible by try and see, and as returned by xbacklight without argument) are rounded down to the nearest 10%.

                    – Stéphane Gourichon
                    Jun 3 '14 at 20:09













                  • It should be noted the man page recommends -set instead of =. More importantly, anyone mapping keys to this should really add -time 0 -steps 1 - because otherwise, xbacklight applies backlight fading by default, which seems to really wind up your (at least my) CPU when 'scrolling' brightness by holding down the assigned hotkey. I'm talking all cores rising from 45 to 60 degrees, over just a few seconds - best avoided. To be fair, I'm using 1% increments - where fading is even more pointless than normal - but still, don't tax your CPU if you don't have to.

                    – underscore_d
                    Oct 18 '15 at 23:06













                  • xbacklight doesn't work on asus x8ain

                    – Xetra
                    Apr 25 '18 at 6:36














                  13












                  13








                  13







                  Install xbacklight by opening a terminal with Ctrl+Alt+T shortcut and type this:



                  sudo apt-get install xbacklight


                  then after installation, type these commands in terminal:



                  xbacklight = 10
                  xbacklight = 20
                  xbacklight = 5


                  this may help.






                  share|improve this answer















                  Install xbacklight by opening a terminal with Ctrl+Alt+T shortcut and type this:



                  sudo apt-get install xbacklight


                  then after installation, type these commands in terminal:



                  xbacklight = 10
                  xbacklight = 20
                  xbacklight = 5


                  this may help.







                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited Oct 8 '12 at 17:54









                  Anwar

                  56.4k22146253




                  56.4k22146253










                  answered Oct 2 '12 at 19:05









                  bossboss

                  14612




                  14612













                  • This method worked perfect for me! Other way is: xbacklight -dec 1, or xbacklight -inc 1 (to increase or decrease 1%)

                    – lepe
                    Dec 13 '12 at 13:06











                  • On a Asus n55s xbacklight accepts any value (even with decimal places), but actual values (as visible by try and see, and as returned by xbacklight without argument) are rounded down to the nearest 10%.

                    – Stéphane Gourichon
                    Jun 3 '14 at 20:09













                  • It should be noted the man page recommends -set instead of =. More importantly, anyone mapping keys to this should really add -time 0 -steps 1 - because otherwise, xbacklight applies backlight fading by default, which seems to really wind up your (at least my) CPU when 'scrolling' brightness by holding down the assigned hotkey. I'm talking all cores rising from 45 to 60 degrees, over just a few seconds - best avoided. To be fair, I'm using 1% increments - where fading is even more pointless than normal - but still, don't tax your CPU if you don't have to.

                    – underscore_d
                    Oct 18 '15 at 23:06













                  • xbacklight doesn't work on asus x8ain

                    – Xetra
                    Apr 25 '18 at 6:36



















                  • This method worked perfect for me! Other way is: xbacklight -dec 1, or xbacklight -inc 1 (to increase or decrease 1%)

                    – lepe
                    Dec 13 '12 at 13:06











                  • On a Asus n55s xbacklight accepts any value (even with decimal places), but actual values (as visible by try and see, and as returned by xbacklight without argument) are rounded down to the nearest 10%.

                    – Stéphane Gourichon
                    Jun 3 '14 at 20:09













                  • It should be noted the man page recommends -set instead of =. More importantly, anyone mapping keys to this should really add -time 0 -steps 1 - because otherwise, xbacklight applies backlight fading by default, which seems to really wind up your (at least my) CPU when 'scrolling' brightness by holding down the assigned hotkey. I'm talking all cores rising from 45 to 60 degrees, over just a few seconds - best avoided. To be fair, I'm using 1% increments - where fading is even more pointless than normal - but still, don't tax your CPU if you don't have to.

                    – underscore_d
                    Oct 18 '15 at 23:06













                  • xbacklight doesn't work on asus x8ain

                    – Xetra
                    Apr 25 '18 at 6:36

















                  This method worked perfect for me! Other way is: xbacklight -dec 1, or xbacklight -inc 1 (to increase or decrease 1%)

                  – lepe
                  Dec 13 '12 at 13:06





                  This method worked perfect for me! Other way is: xbacklight -dec 1, or xbacklight -inc 1 (to increase or decrease 1%)

                  – lepe
                  Dec 13 '12 at 13:06













                  On a Asus n55s xbacklight accepts any value (even with decimal places), but actual values (as visible by try and see, and as returned by xbacklight without argument) are rounded down to the nearest 10%.

                  – Stéphane Gourichon
                  Jun 3 '14 at 20:09







                  On a Asus n55s xbacklight accepts any value (even with decimal places), but actual values (as visible by try and see, and as returned by xbacklight without argument) are rounded down to the nearest 10%.

                  – Stéphane Gourichon
                  Jun 3 '14 at 20:09















                  It should be noted the man page recommends -set instead of =. More importantly, anyone mapping keys to this should really add -time 0 -steps 1 - because otherwise, xbacklight applies backlight fading by default, which seems to really wind up your (at least my) CPU when 'scrolling' brightness by holding down the assigned hotkey. I'm talking all cores rising from 45 to 60 degrees, over just a few seconds - best avoided. To be fair, I'm using 1% increments - where fading is even more pointless than normal - but still, don't tax your CPU if you don't have to.

                  – underscore_d
                  Oct 18 '15 at 23:06







                  It should be noted the man page recommends -set instead of =. More importantly, anyone mapping keys to this should really add -time 0 -steps 1 - because otherwise, xbacklight applies backlight fading by default, which seems to really wind up your (at least my) CPU when 'scrolling' brightness by holding down the assigned hotkey. I'm talking all cores rising from 45 to 60 degrees, over just a few seconds - best avoided. To be fair, I'm using 1% increments - where fading is even more pointless than normal - but still, don't tax your CPU if you don't have to.

                  – underscore_d
                  Oct 18 '15 at 23:06















                  xbacklight doesn't work on asus x8ain

                  – Xetra
                  Apr 25 '18 at 6:36





                  xbacklight doesn't work on asus x8ain

                  – Xetra
                  Apr 25 '18 at 6:36













                  5














                  There is a file in Ubuntu which stores numerical integer value of brightness.
                  you will find 3 files in the directory /sys/class/backlight/<VGA>directory
                  replace directory with intel_backlight for intel cards.



                  You will find the max brightness value in max_brightness file and according to that value set the brightness in brightness file.






                  share|improve this answer



















                  • 1





                    This was shows if your hardware is capable for fine granularity or not.

                    – V-Mark
                    Jan 14 '16 at 9:15
















                  5














                  There is a file in Ubuntu which stores numerical integer value of brightness.
                  you will find 3 files in the directory /sys/class/backlight/<VGA>directory
                  replace directory with intel_backlight for intel cards.



                  You will find the max brightness value in max_brightness file and according to that value set the brightness in brightness file.






                  share|improve this answer



















                  • 1





                    This was shows if your hardware is capable for fine granularity or not.

                    – V-Mark
                    Jan 14 '16 at 9:15














                  5












                  5








                  5







                  There is a file in Ubuntu which stores numerical integer value of brightness.
                  you will find 3 files in the directory /sys/class/backlight/<VGA>directory
                  replace directory with intel_backlight for intel cards.



                  You will find the max brightness value in max_brightness file and according to that value set the brightness in brightness file.






                  share|improve this answer













                  There is a file in Ubuntu which stores numerical integer value of brightness.
                  you will find 3 files in the directory /sys/class/backlight/<VGA>directory
                  replace directory with intel_backlight for intel cards.



                  You will find the max brightness value in max_brightness file and according to that value set the brightness in brightness file.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Jan 1 '15 at 7:52









                  yaskyask

                  527315




                  527315








                  • 1





                    This was shows if your hardware is capable for fine granularity or not.

                    – V-Mark
                    Jan 14 '16 at 9:15














                  • 1





                    This was shows if your hardware is capable for fine granularity or not.

                    – V-Mark
                    Jan 14 '16 at 9:15








                  1




                  1





                  This was shows if your hardware is capable for fine granularity or not.

                  – V-Mark
                  Jan 14 '16 at 9:15





                  This was shows if your hardware is capable for fine granularity or not.

                  – V-Mark
                  Jan 14 '16 at 9:15











                  3














                  You can install xcalib and then type the command:



                  xcalib -co 50 -a


                  Use xcalib -h for help regarding it's options.






                  share|improve this answer
























                  • works on my macbook retina 15. Thanks! :-p

                    – Pol Hallen
                    Nov 2 '16 at 11:24






                  • 2





                    This works by sending darker images to your graphics card instead of adjusting the backlight. While it may seem to produce the desired effect, this is wasting energy and reduces the number of available colors.

                    – Sunday
                    Aug 17 '17 at 13:28











                  • @Sunday But we use it to protect our eyes, not the battery

                    – Xetra
                    Apr 25 '18 at 6:33











                  • I would not say that accidently reducing your color depth and thus introducing banding artifacts is very good for your eyes either...

                    – Sunday
                    Apr 27 '18 at 18:44
















                  3














                  You can install xcalib and then type the command:



                  xcalib -co 50 -a


                  Use xcalib -h for help regarding it's options.






                  share|improve this answer
























                  • works on my macbook retina 15. Thanks! :-p

                    – Pol Hallen
                    Nov 2 '16 at 11:24






                  • 2





                    This works by sending darker images to your graphics card instead of adjusting the backlight. While it may seem to produce the desired effect, this is wasting energy and reduces the number of available colors.

                    – Sunday
                    Aug 17 '17 at 13:28











                  • @Sunday But we use it to protect our eyes, not the battery

                    – Xetra
                    Apr 25 '18 at 6:33











                  • I would not say that accidently reducing your color depth and thus introducing banding artifacts is very good for your eyes either...

                    – Sunday
                    Apr 27 '18 at 18:44














                  3












                  3








                  3







                  You can install xcalib and then type the command:



                  xcalib -co 50 -a


                  Use xcalib -h for help regarding it's options.






                  share|improve this answer













                  You can install xcalib and then type the command:



                  xcalib -co 50 -a


                  Use xcalib -h for help regarding it's options.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Aug 24 '12 at 23:22









                  igniteignite

                  6,78732852




                  6,78732852













                  • works on my macbook retina 15. Thanks! :-p

                    – Pol Hallen
                    Nov 2 '16 at 11:24






                  • 2





                    This works by sending darker images to your graphics card instead of adjusting the backlight. While it may seem to produce the desired effect, this is wasting energy and reduces the number of available colors.

                    – Sunday
                    Aug 17 '17 at 13:28











                  • @Sunday But we use it to protect our eyes, not the battery

                    – Xetra
                    Apr 25 '18 at 6:33











                  • I would not say that accidently reducing your color depth and thus introducing banding artifacts is very good for your eyes either...

                    – Sunday
                    Apr 27 '18 at 18:44



















                  • works on my macbook retina 15. Thanks! :-p

                    – Pol Hallen
                    Nov 2 '16 at 11:24






                  • 2





                    This works by sending darker images to your graphics card instead of adjusting the backlight. While it may seem to produce the desired effect, this is wasting energy and reduces the number of available colors.

                    – Sunday
                    Aug 17 '17 at 13:28











                  • @Sunday But we use it to protect our eyes, not the battery

                    – Xetra
                    Apr 25 '18 at 6:33











                  • I would not say that accidently reducing your color depth and thus introducing banding artifacts is very good for your eyes either...

                    – Sunday
                    Apr 27 '18 at 18:44

















                  works on my macbook retina 15. Thanks! :-p

                  – Pol Hallen
                  Nov 2 '16 at 11:24





                  works on my macbook retina 15. Thanks! :-p

                  – Pol Hallen
                  Nov 2 '16 at 11:24




                  2




                  2





                  This works by sending darker images to your graphics card instead of adjusting the backlight. While it may seem to produce the desired effect, this is wasting energy and reduces the number of available colors.

                  – Sunday
                  Aug 17 '17 at 13:28





                  This works by sending darker images to your graphics card instead of adjusting the backlight. While it may seem to produce the desired effect, this is wasting energy and reduces the number of available colors.

                  – Sunday
                  Aug 17 '17 at 13:28













                  @Sunday But we use it to protect our eyes, not the battery

                  – Xetra
                  Apr 25 '18 at 6:33





                  @Sunday But we use it to protect our eyes, not the battery

                  – Xetra
                  Apr 25 '18 at 6:33













                  I would not say that accidently reducing your color depth and thus introducing banding artifacts is very good for your eyes either...

                  – Sunday
                  Apr 27 '18 at 18:44





                  I would not say that accidently reducing your color depth and thus introducing banding artifacts is very good for your eyes either...

                  – Sunday
                  Apr 27 '18 at 18:44











                  3














                  As Colin Ian King said, the levels of brightness are hardware related.



                  Some laptop screens have 8 levels of brightness and new ones have 16 levels.



                  On Windows OSes you can change the levels with 1% steps, but they will be rounded to the nearest hardware level. It depends on the screen type.






                  share|improve this answer






























                    3














                    As Colin Ian King said, the levels of brightness are hardware related.



                    Some laptop screens have 8 levels of brightness and new ones have 16 levels.



                    On Windows OSes you can change the levels with 1% steps, but they will be rounded to the nearest hardware level. It depends on the screen type.






                    share|improve this answer




























                      3












                      3








                      3







                      As Colin Ian King said, the levels of brightness are hardware related.



                      Some laptop screens have 8 levels of brightness and new ones have 16 levels.



                      On Windows OSes you can change the levels with 1% steps, but they will be rounded to the nearest hardware level. It depends on the screen type.






                      share|improve this answer















                      As Colin Ian King said, the levels of brightness are hardware related.



                      Some laptop screens have 8 levels of brightness and new ones have 16 levels.



                      On Windows OSes you can change the levels with 1% steps, but they will be rounded to the nearest hardware level. It depends on the screen type.







                      share|improve this answer














                      share|improve this answer



                      share|improve this answer








                      edited Apr 13 '17 at 12:23









                      Community

                      1




                      1










                      answered Sep 25 '12 at 19:30









                      Paulo SantosPaulo Santos

                      413




                      413























                          2














                          My solution was to install 'xbacklight'



                          Then I created keyboard shortcuts such as





                          • ctrlshift+ with command xbacklight +5


                          • ctrlshift- with command xbacklight -5


                          So when you use those shortcuts they call the related command
                          however I could not replace the system inbuilt brightness buttons to use these commands
                          You can use almost any keyboard shortcut button combination you like with xbacklight.






                          share|improve this answer






























                            2














                            My solution was to install 'xbacklight'



                            Then I created keyboard shortcuts such as





                            • ctrlshift+ with command xbacklight +5


                            • ctrlshift- with command xbacklight -5


                            So when you use those shortcuts they call the related command
                            however I could not replace the system inbuilt brightness buttons to use these commands
                            You can use almost any keyboard shortcut button combination you like with xbacklight.






                            share|improve this answer




























                              2












                              2








                              2







                              My solution was to install 'xbacklight'



                              Then I created keyboard shortcuts such as





                              • ctrlshift+ with command xbacklight +5


                              • ctrlshift- with command xbacklight -5


                              So when you use those shortcuts they call the related command
                              however I could not replace the system inbuilt brightness buttons to use these commands
                              You can use almost any keyboard shortcut button combination you like with xbacklight.






                              share|improve this answer















                              My solution was to install 'xbacklight'



                              Then I created keyboard shortcuts such as





                              • ctrlshift+ with command xbacklight +5


                              • ctrlshift- with command xbacklight -5


                              So when you use those shortcuts they call the related command
                              however I could not replace the system inbuilt brightness buttons to use these commands
                              You can use almost any keyboard shortcut button combination you like with xbacklight.







                              share|improve this answer














                              share|improve this answer



                              share|improve this answer








                              edited Jun 27 '17 at 14:14









                              Zanna

                              50.7k13135241




                              50.7k13135241










                              answered Feb 28 '17 at 11:35









                              puchupuchu

                              212




                              212























                                  1














                                  The brightness levels are generally under ACPI control with the levels defined in firmware. For example the ACPI control method _BCL "Query List of Brightness Control Levels Supported" informs the kernel how many brightness levels are supported. You can't realistically change this.






                                  share|improve this answer




























                                    1














                                    The brightness levels are generally under ACPI control with the levels defined in firmware. For example the ACPI control method _BCL "Query List of Brightness Control Levels Supported" informs the kernel how many brightness levels are supported. You can't realistically change this.






                                    share|improve this answer


























                                      1












                                      1








                                      1







                                      The brightness levels are generally under ACPI control with the levels defined in firmware. For example the ACPI control method _BCL "Query List of Brightness Control Levels Supported" informs the kernel how many brightness levels are supported. You can't realistically change this.






                                      share|improve this answer













                                      The brightness levels are generally under ACPI control with the levels defined in firmware. For example the ACPI control method _BCL "Query List of Brightness Control Levels Supported" informs the kernel how many brightness levels are supported. You can't realistically change this.







                                      share|improve this answer












                                      share|improve this answer



                                      share|improve this answer










                                      answered Jul 31 '12 at 18:16









                                      Colin Ian KingColin Ian King

                                      12.2k13747




                                      12.2k13747























                                          1














                                          In my case (Lenovo T500) the problem is, that the brightness regulating key-press is applied twice - once by using the Xwindows, but also independently in the lower level, by kernel's graphic driver itself. So the brightness steps are twice as big as usual.



                                          The working solution is to deny the low-level functionality, by adding this line to /etc/rc.local (just before the line with 'exit 0'):



                                          echo -n 0 > /sys/module/video/parameters/brightness_switch_enabled


                                          This way it will perfectly work in logged-in X session, unfortunately it will remove the key-press brightness regulation functionality in all other cases (console terminal, X login screen etc).






                                          share|improve this answer




























                                            1














                                            In my case (Lenovo T500) the problem is, that the brightness regulating key-press is applied twice - once by using the Xwindows, but also independently in the lower level, by kernel's graphic driver itself. So the brightness steps are twice as big as usual.



                                            The working solution is to deny the low-level functionality, by adding this line to /etc/rc.local (just before the line with 'exit 0'):



                                            echo -n 0 > /sys/module/video/parameters/brightness_switch_enabled


                                            This way it will perfectly work in logged-in X session, unfortunately it will remove the key-press brightness regulation functionality in all other cases (console terminal, X login screen etc).






                                            share|improve this answer


























                                              1












                                              1








                                              1







                                              In my case (Lenovo T500) the problem is, that the brightness regulating key-press is applied twice - once by using the Xwindows, but also independently in the lower level, by kernel's graphic driver itself. So the brightness steps are twice as big as usual.



                                              The working solution is to deny the low-level functionality, by adding this line to /etc/rc.local (just before the line with 'exit 0'):



                                              echo -n 0 > /sys/module/video/parameters/brightness_switch_enabled


                                              This way it will perfectly work in logged-in X session, unfortunately it will remove the key-press brightness regulation functionality in all other cases (console terminal, X login screen etc).






                                              share|improve this answer













                                              In my case (Lenovo T500) the problem is, that the brightness regulating key-press is applied twice - once by using the Xwindows, but also independently in the lower level, by kernel's graphic driver itself. So the brightness steps are twice as big as usual.



                                              The working solution is to deny the low-level functionality, by adding this line to /etc/rc.local (just before the line with 'exit 0'):



                                              echo -n 0 > /sys/module/video/parameters/brightness_switch_enabled


                                              This way it will perfectly work in logged-in X session, unfortunately it will remove the key-press brightness regulation functionality in all other cases (console terminal, X login screen etc).







                                              share|improve this answer












                                              share|improve this answer



                                              share|improve this answer










                                              answered Aug 24 '14 at 12:27









                                              Jan StroblJan Strobl

                                              112




                                              112























                                                  1














                                                  For me xbacklight did not work (EDIT: probably because I did not reboot my machine), therefore I created my own script which uses the built-in gsd-backlight-helper.



                                                  This script uses smaller steps, especially when the screen is quite dark already.



                                                  Step 0: check if it works (optional)



                                                  To see if it works you could try:



                                                  pkexec /usr/lib/gnome-settings-daemon/gsd-backlight-helper --get-brightness


                                                  This should output a number.



                                                  Step 1: save script



                                                  Save the following script in an .sh file, for instance in /home/me/scripts/brightness.sh.



                                                  #!/bin/bash

                                                  max=$(pkexec /usr/lib/gnome-settings-daemon/gsd-backlight-helper --get-max-brightness)
                                                  cur=$(pkexec /usr/lib/gnome-settings-daemon/gsd-backlight-helper --get-brightness)
                                                  if [ $(($max/$cur)) -ge 25 ]
                                                  then
                                                  step=$((max/300+1))
                                                  else if [ $(($max/$cur)) -ge 5 ]
                                                  then
                                                  step=$((max/50+1))
                                                  else
                                                  step=$((max/20+1))
                                                  fi
                                                  fi
                                                  case "$1"
                                                  in
                                                  +) new=$((cur+step));;
                                                  -) new=$((cur-step));;
                                                  esac
                                                  pkexec /usr/lib/gnome-settings-daemon/gsd-backlight-helper --set-brightness $new


                                                  Step 2: assign shortcuts



                                                  Open Keyboard Shortcuts from the Settings menu and assign shortcuts:



                                                  name:     Darker
                                                  command: sh /home/me/scripts/brightness.sh -
                                                  shortcut: Super + F5

                                                  name: Brighter
                                                  command: sh /home/me/scripts/brightness.sh +
                                                  shortcut: Super + F6





                                                  share|improve this answer


























                                                  • what you mean ? xbacklight did not work ? when xbacklight is installed fresh, then you should reboot your machine. True, here was not said that, to reboot the machine.

                                                    – dschinn1001
                                                    Oct 2 '18 at 1:15











                                                  • Thanks. Indeed, I think I did not reboot my machine... Yet my script has the advantage that it uses smaller steps on darker screens and larger steps if the screen is quite bright already.

                                                    – Dirk
                                                    Oct 3 '18 at 5:01


















                                                  1














                                                  For me xbacklight did not work (EDIT: probably because I did not reboot my machine), therefore I created my own script which uses the built-in gsd-backlight-helper.



                                                  This script uses smaller steps, especially when the screen is quite dark already.



                                                  Step 0: check if it works (optional)



                                                  To see if it works you could try:



                                                  pkexec /usr/lib/gnome-settings-daemon/gsd-backlight-helper --get-brightness


                                                  This should output a number.



                                                  Step 1: save script



                                                  Save the following script in an .sh file, for instance in /home/me/scripts/brightness.sh.



                                                  #!/bin/bash

                                                  max=$(pkexec /usr/lib/gnome-settings-daemon/gsd-backlight-helper --get-max-brightness)
                                                  cur=$(pkexec /usr/lib/gnome-settings-daemon/gsd-backlight-helper --get-brightness)
                                                  if [ $(($max/$cur)) -ge 25 ]
                                                  then
                                                  step=$((max/300+1))
                                                  else if [ $(($max/$cur)) -ge 5 ]
                                                  then
                                                  step=$((max/50+1))
                                                  else
                                                  step=$((max/20+1))
                                                  fi
                                                  fi
                                                  case "$1"
                                                  in
                                                  +) new=$((cur+step));;
                                                  -) new=$((cur-step));;
                                                  esac
                                                  pkexec /usr/lib/gnome-settings-daemon/gsd-backlight-helper --set-brightness $new


                                                  Step 2: assign shortcuts



                                                  Open Keyboard Shortcuts from the Settings menu and assign shortcuts:



                                                  name:     Darker
                                                  command: sh /home/me/scripts/brightness.sh -
                                                  shortcut: Super + F5

                                                  name: Brighter
                                                  command: sh /home/me/scripts/brightness.sh +
                                                  shortcut: Super + F6





                                                  share|improve this answer


























                                                  • what you mean ? xbacklight did not work ? when xbacklight is installed fresh, then you should reboot your machine. True, here was not said that, to reboot the machine.

                                                    – dschinn1001
                                                    Oct 2 '18 at 1:15











                                                  • Thanks. Indeed, I think I did not reboot my machine... Yet my script has the advantage that it uses smaller steps on darker screens and larger steps if the screen is quite bright already.

                                                    – Dirk
                                                    Oct 3 '18 at 5:01
















                                                  1












                                                  1








                                                  1







                                                  For me xbacklight did not work (EDIT: probably because I did not reboot my machine), therefore I created my own script which uses the built-in gsd-backlight-helper.



                                                  This script uses smaller steps, especially when the screen is quite dark already.



                                                  Step 0: check if it works (optional)



                                                  To see if it works you could try:



                                                  pkexec /usr/lib/gnome-settings-daemon/gsd-backlight-helper --get-brightness


                                                  This should output a number.



                                                  Step 1: save script



                                                  Save the following script in an .sh file, for instance in /home/me/scripts/brightness.sh.



                                                  #!/bin/bash

                                                  max=$(pkexec /usr/lib/gnome-settings-daemon/gsd-backlight-helper --get-max-brightness)
                                                  cur=$(pkexec /usr/lib/gnome-settings-daemon/gsd-backlight-helper --get-brightness)
                                                  if [ $(($max/$cur)) -ge 25 ]
                                                  then
                                                  step=$((max/300+1))
                                                  else if [ $(($max/$cur)) -ge 5 ]
                                                  then
                                                  step=$((max/50+1))
                                                  else
                                                  step=$((max/20+1))
                                                  fi
                                                  fi
                                                  case "$1"
                                                  in
                                                  +) new=$((cur+step));;
                                                  -) new=$((cur-step));;
                                                  esac
                                                  pkexec /usr/lib/gnome-settings-daemon/gsd-backlight-helper --set-brightness $new


                                                  Step 2: assign shortcuts



                                                  Open Keyboard Shortcuts from the Settings menu and assign shortcuts:



                                                  name:     Darker
                                                  command: sh /home/me/scripts/brightness.sh -
                                                  shortcut: Super + F5

                                                  name: Brighter
                                                  command: sh /home/me/scripts/brightness.sh +
                                                  shortcut: Super + F6





                                                  share|improve this answer















                                                  For me xbacklight did not work (EDIT: probably because I did not reboot my machine), therefore I created my own script which uses the built-in gsd-backlight-helper.



                                                  This script uses smaller steps, especially when the screen is quite dark already.



                                                  Step 0: check if it works (optional)



                                                  To see if it works you could try:



                                                  pkexec /usr/lib/gnome-settings-daemon/gsd-backlight-helper --get-brightness


                                                  This should output a number.



                                                  Step 1: save script



                                                  Save the following script in an .sh file, for instance in /home/me/scripts/brightness.sh.



                                                  #!/bin/bash

                                                  max=$(pkexec /usr/lib/gnome-settings-daemon/gsd-backlight-helper --get-max-brightness)
                                                  cur=$(pkexec /usr/lib/gnome-settings-daemon/gsd-backlight-helper --get-brightness)
                                                  if [ $(($max/$cur)) -ge 25 ]
                                                  then
                                                  step=$((max/300+1))
                                                  else if [ $(($max/$cur)) -ge 5 ]
                                                  then
                                                  step=$((max/50+1))
                                                  else
                                                  step=$((max/20+1))
                                                  fi
                                                  fi
                                                  case "$1"
                                                  in
                                                  +) new=$((cur+step));;
                                                  -) new=$((cur-step));;
                                                  esac
                                                  pkexec /usr/lib/gnome-settings-daemon/gsd-backlight-helper --set-brightness $new


                                                  Step 2: assign shortcuts



                                                  Open Keyboard Shortcuts from the Settings menu and assign shortcuts:



                                                  name:     Darker
                                                  command: sh /home/me/scripts/brightness.sh -
                                                  shortcut: Super + F5

                                                  name: Brighter
                                                  command: sh /home/me/scripts/brightness.sh +
                                                  shortcut: Super + F6






                                                  share|improve this answer














                                                  share|improve this answer



                                                  share|improve this answer








                                                  edited Oct 3 '18 at 5:04

























                                                  answered Sep 21 '18 at 14:25









                                                  DirkDirk

                                                  113




                                                  113













                                                  • what you mean ? xbacklight did not work ? when xbacklight is installed fresh, then you should reboot your machine. True, here was not said that, to reboot the machine.

                                                    – dschinn1001
                                                    Oct 2 '18 at 1:15











                                                  • Thanks. Indeed, I think I did not reboot my machine... Yet my script has the advantage that it uses smaller steps on darker screens and larger steps if the screen is quite bright already.

                                                    – Dirk
                                                    Oct 3 '18 at 5:01





















                                                  • what you mean ? xbacklight did not work ? when xbacklight is installed fresh, then you should reboot your machine. True, here was not said that, to reboot the machine.

                                                    – dschinn1001
                                                    Oct 2 '18 at 1:15











                                                  • Thanks. Indeed, I think I did not reboot my machine... Yet my script has the advantage that it uses smaller steps on darker screens and larger steps if the screen is quite bright already.

                                                    – Dirk
                                                    Oct 3 '18 at 5:01



















                                                  what you mean ? xbacklight did not work ? when xbacklight is installed fresh, then you should reboot your machine. True, here was not said that, to reboot the machine.

                                                  – dschinn1001
                                                  Oct 2 '18 at 1:15





                                                  what you mean ? xbacklight did not work ? when xbacklight is installed fresh, then you should reboot your machine. True, here was not said that, to reboot the machine.

                                                  – dschinn1001
                                                  Oct 2 '18 at 1:15













                                                  Thanks. Indeed, I think I did not reboot my machine... Yet my script has the advantage that it uses smaller steps on darker screens and larger steps if the screen is quite bright already.

                                                  – Dirk
                                                  Oct 3 '18 at 5:01







                                                  Thanks. Indeed, I think I did not reboot my machine... Yet my script has the advantage that it uses smaller steps on darker screens and larger steps if the screen is quite bright already.

                                                  – Dirk
                                                  Oct 3 '18 at 5:01













                                                  1














                                                  On Ubuntu 16.04, with Intel onchip graphics (i5) under LXQt, it is sufficient to assign xbacklight commands to the brightness function keys XF86MonBrightness(Down|Up) using the global key shortcut settings. These seem to override the defaults even if /sys/module/video/parameters/brightness_switch_enabled is set to Y, while the original functionality on virtual terminals is retained.
                                                  LXQt global key shortcut configuration with xbacklight commands



                                                  An alternative to the original xbacklight would be acpilight, but unfortunately this isn't available as Ubuntu package. As it doesn't depend on an X display running, you can also associate it with ACPI button events and use it from the console. Additionally it can store the current brightness on shutdown and restore it on boot.






                                                  share|improve this answer


























                                                  • The same holds true for XFCE with Xubuntu LTS 18.04. Thanks!

                                                    – Serge Stroobandt
                                                    Oct 1 '18 at 23:37
















                                                  1














                                                  On Ubuntu 16.04, with Intel onchip graphics (i5) under LXQt, it is sufficient to assign xbacklight commands to the brightness function keys XF86MonBrightness(Down|Up) using the global key shortcut settings. These seem to override the defaults even if /sys/module/video/parameters/brightness_switch_enabled is set to Y, while the original functionality on virtual terminals is retained.
                                                  LXQt global key shortcut configuration with xbacklight commands



                                                  An alternative to the original xbacklight would be acpilight, but unfortunately this isn't available as Ubuntu package. As it doesn't depend on an X display running, you can also associate it with ACPI button events and use it from the console. Additionally it can store the current brightness on shutdown and restore it on boot.






                                                  share|improve this answer


























                                                  • The same holds true for XFCE with Xubuntu LTS 18.04. Thanks!

                                                    – Serge Stroobandt
                                                    Oct 1 '18 at 23:37














                                                  1












                                                  1








                                                  1







                                                  On Ubuntu 16.04, with Intel onchip graphics (i5) under LXQt, it is sufficient to assign xbacklight commands to the brightness function keys XF86MonBrightness(Down|Up) using the global key shortcut settings. These seem to override the defaults even if /sys/module/video/parameters/brightness_switch_enabled is set to Y, while the original functionality on virtual terminals is retained.
                                                  LXQt global key shortcut configuration with xbacklight commands



                                                  An alternative to the original xbacklight would be acpilight, but unfortunately this isn't available as Ubuntu package. As it doesn't depend on an X display running, you can also associate it with ACPI button events and use it from the console. Additionally it can store the current brightness on shutdown and restore it on boot.






                                                  share|improve this answer















                                                  On Ubuntu 16.04, with Intel onchip graphics (i5) under LXQt, it is sufficient to assign xbacklight commands to the brightness function keys XF86MonBrightness(Down|Up) using the global key shortcut settings. These seem to override the defaults even if /sys/module/video/parameters/brightness_switch_enabled is set to Y, while the original functionality on virtual terminals is retained.
                                                  LXQt global key shortcut configuration with xbacklight commands



                                                  An alternative to the original xbacklight would be acpilight, but unfortunately this isn't available as Ubuntu package. As it doesn't depend on an X display running, you can also associate it with ACPI button events and use it from the console. Additionally it can store the current brightness on shutdown and restore it on boot.







                                                  share|improve this answer














                                                  share|improve this answer



                                                  share|improve this answer








                                                  edited Jan 17 at 8:48

























                                                  answered Mar 8 '18 at 21:22









                                                  MurphyMurphy

                                                  559314




                                                  559314













                                                  • The same holds true for XFCE with Xubuntu LTS 18.04. Thanks!

                                                    – Serge Stroobandt
                                                    Oct 1 '18 at 23:37



















                                                  • The same holds true for XFCE with Xubuntu LTS 18.04. Thanks!

                                                    – Serge Stroobandt
                                                    Oct 1 '18 at 23:37

















                                                  The same holds true for XFCE with Xubuntu LTS 18.04. Thanks!

                                                  – Serge Stroobandt
                                                  Oct 1 '18 at 23:37





                                                  The same holds true for XFCE with Xubuntu LTS 18.04. Thanks!

                                                  – Serge Stroobandt
                                                  Oct 1 '18 at 23:37











                                                  0














                                                  Brightness cannot controlled with large precision. I'm afraid that you're stuck with those brightness levels. To be sure, try controlling the brightness using these terminal commands.






                                                  share|improve this answer





















                                                  • 1





                                                    If I go to System Settings, I find an icon labeled 'Screen' If I click on that icon I get a scroll bar that can set the brightness in small percents, How can I get this screen icon to the top bar ( besides clock, or battery indicator ) ?

                                                    – Samir Sabri
                                                    Feb 11 '12 at 9:13






                                                  • 1





                                                    What about launchpad.net/indicator-brightness? I haven't tried it since I don't use Unity/GNOME.

                                                    – Lekensteyn
                                                    Feb 11 '12 at 10:17











                                                  • Oh, sorry, thanks but, how to install it ?

                                                    – Samir Sabri
                                                    Feb 11 '12 at 19:25











                                                  • Have a look at askubuntu.com/a/58022/6969

                                                    – Lekensteyn
                                                    Feb 11 '12 at 21:08






                                                  • 1





                                                    It definetely can be controlled in smallest steps in many cases. Please have a look at askubuntu.com/a/205509/43165.

                                                    – vines
                                                    Oct 25 '12 at 0:30
















                                                  0














                                                  Brightness cannot controlled with large precision. I'm afraid that you're stuck with those brightness levels. To be sure, try controlling the brightness using these terminal commands.






                                                  share|improve this answer





















                                                  • 1





                                                    If I go to System Settings, I find an icon labeled 'Screen' If I click on that icon I get a scroll bar that can set the brightness in small percents, How can I get this screen icon to the top bar ( besides clock, or battery indicator ) ?

                                                    – Samir Sabri
                                                    Feb 11 '12 at 9:13






                                                  • 1





                                                    What about launchpad.net/indicator-brightness? I haven't tried it since I don't use Unity/GNOME.

                                                    – Lekensteyn
                                                    Feb 11 '12 at 10:17











                                                  • Oh, sorry, thanks but, how to install it ?

                                                    – Samir Sabri
                                                    Feb 11 '12 at 19:25











                                                  • Have a look at askubuntu.com/a/58022/6969

                                                    – Lekensteyn
                                                    Feb 11 '12 at 21:08






                                                  • 1





                                                    It definetely can be controlled in smallest steps in many cases. Please have a look at askubuntu.com/a/205509/43165.

                                                    – vines
                                                    Oct 25 '12 at 0:30














                                                  0












                                                  0








                                                  0







                                                  Brightness cannot controlled with large precision. I'm afraid that you're stuck with those brightness levels. To be sure, try controlling the brightness using these terminal commands.






                                                  share|improve this answer















                                                  Brightness cannot controlled with large precision. I'm afraid that you're stuck with those brightness levels. To be sure, try controlling the brightness using these terminal commands.







                                                  share|improve this answer














                                                  share|improve this answer



                                                  share|improve this answer








                                                  edited Apr 13 '17 at 12:25









                                                  Community

                                                  1




                                                  1










                                                  answered Feb 11 '12 at 8:38









                                                  LekensteynLekensteyn

                                                  122k48267358




                                                  122k48267358








                                                  • 1





                                                    If I go to System Settings, I find an icon labeled 'Screen' If I click on that icon I get a scroll bar that can set the brightness in small percents, How can I get this screen icon to the top bar ( besides clock, or battery indicator ) ?

                                                    – Samir Sabri
                                                    Feb 11 '12 at 9:13






                                                  • 1





                                                    What about launchpad.net/indicator-brightness? I haven't tried it since I don't use Unity/GNOME.

                                                    – Lekensteyn
                                                    Feb 11 '12 at 10:17











                                                  • Oh, sorry, thanks but, how to install it ?

                                                    – Samir Sabri
                                                    Feb 11 '12 at 19:25











                                                  • Have a look at askubuntu.com/a/58022/6969

                                                    – Lekensteyn
                                                    Feb 11 '12 at 21:08






                                                  • 1





                                                    It definetely can be controlled in smallest steps in many cases. Please have a look at askubuntu.com/a/205509/43165.

                                                    – vines
                                                    Oct 25 '12 at 0:30














                                                  • 1





                                                    If I go to System Settings, I find an icon labeled 'Screen' If I click on that icon I get a scroll bar that can set the brightness in small percents, How can I get this screen icon to the top bar ( besides clock, or battery indicator ) ?

                                                    – Samir Sabri
                                                    Feb 11 '12 at 9:13






                                                  • 1





                                                    What about launchpad.net/indicator-brightness? I haven't tried it since I don't use Unity/GNOME.

                                                    – Lekensteyn
                                                    Feb 11 '12 at 10:17











                                                  • Oh, sorry, thanks but, how to install it ?

                                                    – Samir Sabri
                                                    Feb 11 '12 at 19:25











                                                  • Have a look at askubuntu.com/a/58022/6969

                                                    – Lekensteyn
                                                    Feb 11 '12 at 21:08






                                                  • 1





                                                    It definetely can be controlled in smallest steps in many cases. Please have a look at askubuntu.com/a/205509/43165.

                                                    – vines
                                                    Oct 25 '12 at 0:30








                                                  1




                                                  1





                                                  If I go to System Settings, I find an icon labeled 'Screen' If I click on that icon I get a scroll bar that can set the brightness in small percents, How can I get this screen icon to the top bar ( besides clock, or battery indicator ) ?

                                                  – Samir Sabri
                                                  Feb 11 '12 at 9:13





                                                  If I go to System Settings, I find an icon labeled 'Screen' If I click on that icon I get a scroll bar that can set the brightness in small percents, How can I get this screen icon to the top bar ( besides clock, or battery indicator ) ?

                                                  – Samir Sabri
                                                  Feb 11 '12 at 9:13




                                                  1




                                                  1





                                                  What about launchpad.net/indicator-brightness? I haven't tried it since I don't use Unity/GNOME.

                                                  – Lekensteyn
                                                  Feb 11 '12 at 10:17





                                                  What about launchpad.net/indicator-brightness? I haven't tried it since I don't use Unity/GNOME.

                                                  – Lekensteyn
                                                  Feb 11 '12 at 10:17













                                                  Oh, sorry, thanks but, how to install it ?

                                                  – Samir Sabri
                                                  Feb 11 '12 at 19:25





                                                  Oh, sorry, thanks but, how to install it ?

                                                  – Samir Sabri
                                                  Feb 11 '12 at 19:25













                                                  Have a look at askubuntu.com/a/58022/6969

                                                  – Lekensteyn
                                                  Feb 11 '12 at 21:08





                                                  Have a look at askubuntu.com/a/58022/6969

                                                  – Lekensteyn
                                                  Feb 11 '12 at 21:08




                                                  1




                                                  1





                                                  It definetely can be controlled in smallest steps in many cases. Please have a look at askubuntu.com/a/205509/43165.

                                                  – vines
                                                  Oct 25 '12 at 0:30





                                                  It definetely can be controlled in smallest steps in many cases. Please have a look at askubuntu.com/a/205509/43165.

                                                  – vines
                                                  Oct 25 '12 at 0:30











                                                  0














                                                  You could try setting it manually. First you have to get the PCI-ID of the VGA device:



                                                  lspci


                                                  Then try this (in my case the PCI-Device is 00:02.0)



                                                  sudo setpci -s 00:02.0 f4.b=FF


                                                  The 2 letters at the end of the Line set the new brightness ranging from 00-FF (0-255)






                                                  share|improve this answer




























                                                    0














                                                    You could try setting it manually. First you have to get the PCI-ID of the VGA device:



                                                    lspci


                                                    Then try this (in my case the PCI-Device is 00:02.0)



                                                    sudo setpci -s 00:02.0 f4.b=FF


                                                    The 2 letters at the end of the Line set the new brightness ranging from 00-FF (0-255)






                                                    share|improve this answer


























                                                      0












                                                      0








                                                      0







                                                      You could try setting it manually. First you have to get the PCI-ID of the VGA device:



                                                      lspci


                                                      Then try this (in my case the PCI-Device is 00:02.0)



                                                      sudo setpci -s 00:02.0 f4.b=FF


                                                      The 2 letters at the end of the Line set the new brightness ranging from 00-FF (0-255)






                                                      share|improve this answer













                                                      You could try setting it manually. First you have to get the PCI-ID of the VGA device:



                                                      lspci


                                                      Then try this (in my case the PCI-Device is 00:02.0)



                                                      sudo setpci -s 00:02.0 f4.b=FF


                                                      The 2 letters at the end of the Line set the new brightness ranging from 00-FF (0-255)







                                                      share|improve this answer












                                                      share|improve this answer



                                                      share|improve this answer










                                                      answered Feb 19 '12 at 21:08









                                                      Markus DemmelMarkus Demmel

                                                      1




                                                      1























                                                          0














                                                          If you are using Nvidia Graphic card..you can easily use my new method of brightness changing,and edit values in Code.. theres two files and two options within each one.



                                                          find these two lines:



                                                          if ( $value > 0.0) { $value = $value - 0.30 };  
                                                          if ( $value2 > 1.1) { $value2 = $value2 - 0.08 };


                                                          change values of ($value > 0.0) & ( $value2 > 1.1)
                                                          and see whats happens!



                                                          meanwhile if you dont want to change values and wish to use my method originally you can
                                                          change brightness in a wide range and 5 steps.
                                                          wish you like it



                                                          link of method: https://askubuntu.com/a/179063/82136






                                                          share|improve this answer


























                                                          • Uh... isn't this just mangling the bitmap before it's sent to the screen, rather than actually changing the screen's brightness?

                                                            – underscore_d
                                                            Oct 18 '15 at 23:14
















                                                          0














                                                          If you are using Nvidia Graphic card..you can easily use my new method of brightness changing,and edit values in Code.. theres two files and two options within each one.



                                                          find these two lines:



                                                          if ( $value > 0.0) { $value = $value - 0.30 };  
                                                          if ( $value2 > 1.1) { $value2 = $value2 - 0.08 };


                                                          change values of ($value > 0.0) & ( $value2 > 1.1)
                                                          and see whats happens!



                                                          meanwhile if you dont want to change values and wish to use my method originally you can
                                                          change brightness in a wide range and 5 steps.
                                                          wish you like it



                                                          link of method: https://askubuntu.com/a/179063/82136






                                                          share|improve this answer


























                                                          • Uh... isn't this just mangling the bitmap before it's sent to the screen, rather than actually changing the screen's brightness?

                                                            – underscore_d
                                                            Oct 18 '15 at 23:14














                                                          0












                                                          0








                                                          0







                                                          If you are using Nvidia Graphic card..you can easily use my new method of brightness changing,and edit values in Code.. theres two files and two options within each one.



                                                          find these two lines:



                                                          if ( $value > 0.0) { $value = $value - 0.30 };  
                                                          if ( $value2 > 1.1) { $value2 = $value2 - 0.08 };


                                                          change values of ($value > 0.0) & ( $value2 > 1.1)
                                                          and see whats happens!



                                                          meanwhile if you dont want to change values and wish to use my method originally you can
                                                          change brightness in a wide range and 5 steps.
                                                          wish you like it



                                                          link of method: https://askubuntu.com/a/179063/82136






                                                          share|improve this answer















                                                          If you are using Nvidia Graphic card..you can easily use my new method of brightness changing,and edit values in Code.. theres two files and two options within each one.



                                                          find these two lines:



                                                          if ( $value > 0.0) { $value = $value - 0.30 };  
                                                          if ( $value2 > 1.1) { $value2 = $value2 - 0.08 };


                                                          change values of ($value > 0.0) & ( $value2 > 1.1)
                                                          and see whats happens!



                                                          meanwhile if you dont want to change values and wish to use my method originally you can
                                                          change brightness in a wide range and 5 steps.
                                                          wish you like it



                                                          link of method: https://askubuntu.com/a/179063/82136







                                                          share|improve this answer














                                                          share|improve this answer



                                                          share|improve this answer








                                                          edited Apr 13 '17 at 12:23









                                                          Community

                                                          1




                                                          1










                                                          answered Aug 23 '12 at 15:34









                                                          Amir Reza AdibAmir Reza Adib

                                                          149111




                                                          149111













                                                          • Uh... isn't this just mangling the bitmap before it's sent to the screen, rather than actually changing the screen's brightness?

                                                            – underscore_d
                                                            Oct 18 '15 at 23:14



















                                                          • Uh... isn't this just mangling the bitmap before it's sent to the screen, rather than actually changing the screen's brightness?

                                                            – underscore_d
                                                            Oct 18 '15 at 23:14

















                                                          Uh... isn't this just mangling the bitmap before it's sent to the screen, rather than actually changing the screen's brightness?

                                                          – underscore_d
                                                          Oct 18 '15 at 23:14





                                                          Uh... isn't this just mangling the bitmap before it's sent to the screen, rather than actually changing the screen's brightness?

                                                          – underscore_d
                                                          Oct 18 '15 at 23:14











                                                          0














                                                          Official documentation:



                                                          https://www.x.org/archive/X11R7.5/doc/man/man1/xbacklight.1.html




                                                          inc percent
                                                          Increases brightness by the specified amount.



                                                          dec percent
                                                          Decreases brightness by the specified amount.




                                                          Example:



                                                          xbacklight -inc 10%



                                                          xbacklight -dec 10%






                                                          share|improve this answer






























                                                            0














                                                            Official documentation:



                                                            https://www.x.org/archive/X11R7.5/doc/man/man1/xbacklight.1.html




                                                            inc percent
                                                            Increases brightness by the specified amount.



                                                            dec percent
                                                            Decreases brightness by the specified amount.




                                                            Example:



                                                            xbacklight -inc 10%



                                                            xbacklight -dec 10%






                                                            share|improve this answer




























                                                              0












                                                              0








                                                              0







                                                              Official documentation:



                                                              https://www.x.org/archive/X11R7.5/doc/man/man1/xbacklight.1.html




                                                              inc percent
                                                              Increases brightness by the specified amount.



                                                              dec percent
                                                              Decreases brightness by the specified amount.




                                                              Example:



                                                              xbacklight -inc 10%



                                                              xbacklight -dec 10%






                                                              share|improve this answer















                                                              Official documentation:



                                                              https://www.x.org/archive/X11R7.5/doc/man/man1/xbacklight.1.html




                                                              inc percent
                                                              Increases brightness by the specified amount.



                                                              dec percent
                                                              Decreases brightness by the specified amount.




                                                              Example:



                                                              xbacklight -inc 10%



                                                              xbacklight -dec 10%







                                                              share|improve this answer














                                                              share|improve this answer



                                                              share|improve this answer








                                                              edited Jan 4 at 15:17

























                                                              answered Jan 4 at 15:11









                                                              Hassan AfifyHassan Afify

                                                              11




                                                              11























                                                                  0














                                                                  For Xubuntu LTS



                                                                  Firstly, install xbacklight



                                                                  $ sudo apt install xbacklight


                                                                  Secondly, check whether you have control over the backlight.



                                                                  $ xbacklight -1
                                                                  $ xbacklight +5



                                                                  Should these commands result in a No outputs have backlight property error, then follow these remediating steps before proceeding.




                                                                  Once xbacklight -1 and xbacklight +1 work from the command line, proceed with assigning these commands to respectively the XF86MonBrightnessDown and XF86MonBrightnessUp keys. This is done by hitting those keys when asked by the Settings → Keyboard → Application Shortcuts application.



                                                                  Finally, reboot for these changes to take effect.



                                                                  Keyboard settings






                                                                  share|improve this answer






























                                                                    0














                                                                    For Xubuntu LTS



                                                                    Firstly, install xbacklight



                                                                    $ sudo apt install xbacklight


                                                                    Secondly, check whether you have control over the backlight.



                                                                    $ xbacklight -1
                                                                    $ xbacklight +5



                                                                    Should these commands result in a No outputs have backlight property error, then follow these remediating steps before proceeding.




                                                                    Once xbacklight -1 and xbacklight +1 work from the command line, proceed with assigning these commands to respectively the XF86MonBrightnessDown and XF86MonBrightnessUp keys. This is done by hitting those keys when asked by the Settings → Keyboard → Application Shortcuts application.



                                                                    Finally, reboot for these changes to take effect.



                                                                    Keyboard settings






                                                                    share|improve this answer




























                                                                      0












                                                                      0








                                                                      0







                                                                      For Xubuntu LTS



                                                                      Firstly, install xbacklight



                                                                      $ sudo apt install xbacklight


                                                                      Secondly, check whether you have control over the backlight.



                                                                      $ xbacklight -1
                                                                      $ xbacklight +5



                                                                      Should these commands result in a No outputs have backlight property error, then follow these remediating steps before proceeding.




                                                                      Once xbacklight -1 and xbacklight +1 work from the command line, proceed with assigning these commands to respectively the XF86MonBrightnessDown and XF86MonBrightnessUp keys. This is done by hitting those keys when asked by the Settings → Keyboard → Application Shortcuts application.



                                                                      Finally, reboot for these changes to take effect.



                                                                      Keyboard settings






                                                                      share|improve this answer















                                                                      For Xubuntu LTS



                                                                      Firstly, install xbacklight



                                                                      $ sudo apt install xbacklight


                                                                      Secondly, check whether you have control over the backlight.



                                                                      $ xbacklight -1
                                                                      $ xbacklight +5



                                                                      Should these commands result in a No outputs have backlight property error, then follow these remediating steps before proceeding.




                                                                      Once xbacklight -1 and xbacklight +1 work from the command line, proceed with assigning these commands to respectively the XF86MonBrightnessDown and XF86MonBrightnessUp keys. This is done by hitting those keys when asked by the Settings → Keyboard → Application Shortcuts application.



                                                                      Finally, reboot for these changes to take effect.



                                                                      Keyboard settings







                                                                      share|improve this answer














                                                                      share|improve this answer



                                                                      share|improve this answer








                                                                      edited Feb 2 at 0:05

























                                                                      answered Oct 2 '18 at 0:29









                                                                      Serge StroobandtSerge Stroobandt

                                                                      2,0821933




                                                                      2,0821933























                                                                          -4














                                                                          Hold down Ctrl while increasing/decreasing the brightness. Increases in steps of 1.






                                                                          share|improve this answer






























                                                                            -4














                                                                            Hold down Ctrl while increasing/decreasing the brightness. Increases in steps of 1.






                                                                            share|improve this answer




























                                                                              -4












                                                                              -4








                                                                              -4







                                                                              Hold down Ctrl while increasing/decreasing the brightness. Increases in steps of 1.






                                                                              share|improve this answer















                                                                              Hold down Ctrl while increasing/decreasing the brightness. Increases in steps of 1.







                                                                              share|improve this answer














                                                                              share|improve this answer



                                                                              share|improve this answer








                                                                              edited Jan 1 '15 at 10:20









                                                                              David Foerster

                                                                              28.1k1365111




                                                                              28.1k1365111










                                                                              answered Jan 1 '15 at 7:41









                                                                              abilashabilash

                                                                              1




                                                                              1






























                                                                                  draft saved

                                                                                  draft discarded




















































                                                                                  Thanks for contributing an answer to Ask Ubuntu!


                                                                                  • Please be sure to answer the question. Provide details and share your research!

                                                                                  But avoid



                                                                                  • Asking for help, clarification, or responding to other answers.

                                                                                  • Making statements based on opinion; back them up with references or personal experience.


                                                                                  To learn more, see our tips on writing great answers.




                                                                                  draft saved


                                                                                  draft discarded














                                                                                  StackExchange.ready(
                                                                                  function () {
                                                                                  StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f103249%2fhow-to-increase-brightness-in-smaller-steps%23new-answer', 'question_page');
                                                                                  }
                                                                                  );

                                                                                  Post as a guest















                                                                                  Required, but never shown





















































                                                                                  Required, but never shown














                                                                                  Required, but never shown












                                                                                  Required, but never shown







                                                                                  Required, but never shown

































                                                                                  Required, but never shown














                                                                                  Required, but never shown












                                                                                  Required, but never shown







                                                                                  Required, but never shown







                                                                                  Popular posts from this blog

                                                                                  mysqli_query(): Empty query in /home/lucindabrummitt/public_html/blog/wp-includes/wp-db.php on line 1924

                                                                                  How to change which sound is reproduced for terminal bell?

                                                                                  Can I use Tabulator js library in my java Spring + Thymeleaf project?