12

My laptop's screen is far too bright at night, even if I set it to minimum brightness. I know that it is capable of being dimmer, because Windows will dim it further if I leave it idle. However, I can't figure out how to dim it lower to minimum on Ubuntu. Is there a way?

I've looked at this question, but it's talking about Windows.

cpast
  • 2,455
  • 2
  • 19
  • 27
  • If the back-light is set to the minimum, then that is all you can do with it. Try adjusting the brightness, contrast, and gamma of the video-card with something like [xgamma](http://linux.die.net/man/1/xgamma) or [other program](http://google.com/search?q=brightness+contrast+gamma+ubuntu). – Synetech Jan 03 '14 at 05:09
  • [This solution](http://unix.stackexchange.com/a/181501/191971) works best for me – Pavel Mar 27 '17 at 22:57

3 Answers3

12

Here is a link specifically addressing setting screen brightness below the minimum:

Decrease Backlight Below Minimum – Ask Ubuntu

  1. Open Terminal

  2. Enter the following command:

    cat /sys/class/backlight/intel_backlight/brightness
    
  3. Write down the resulting value (12421 in my case)

  4. Divide value by 6 and write it down (2070 in my case)

  5. Enter the following in the terminal, replacing 2070 with your value:

    sudo su -c "echo 2070 >/sys/class/backlight/intel_backlight/brightness"
    
  6. Close Terminal

  7. For future usage of the last command, open Terminal, press Ctrl and R together, start typing brightness. When the last command appears, just press Enter.

It works for me on a Samsung NC110 with Ubuntu 12.04.

Austin ''Danger'' Powers
  • 6,262
  • 15
  • 44
  • 64
8

TLDR: Settings > Accessibility > Zoom

Here is a last resort for anyone who tried the above and was unsuccessful (and made it here almost a decade after the initial question).

My setup: Gnome, Wayland, Fedora 33, Dell XPS 15 9500

I'm not entirely up to date with Ubuntu, but if you're running Gnome and Wayland this might work for you.

You should be able to find in the Zoom feature via Settings > Accessibility > “Seeing” > Zoom. Here you should be able to modify brightness, contrast, color according to your preferences. Set magnification to 1.0 (unless you want your focus to follow the mouse around). If you run into weird lingering visual artifacts from the mouse you can enable the crosshair and customize the color to be transparent (I also have thickness and length set to the minimum, and unchecked the “overlaps mouse cursor”, although I’m not sure whether these settings matter).

Lastly, for convenience and easy toggling, via Settings > Keyboard Shortcuts there should be an option for “Turn zoom on or off” which you can map to an appropriate key binding (mine is set to “Shift + Monitor brightness down”). YMMV!

Credit goes to Bastien: https://bugzilla.gnome.org/show_bug.cgi?id=741224#c42

emactaggart
  • 81
  • 1
  • 1
  • This was Genius! – Peyman Aug 19 '21 at 04:59
  • Great answer worked. One small problem, if you mess around with the zoom settings too much, you can crash Ubuntu. I crashed Ubuntu and every time I logged in to my account, Ubuntu crashed again :D. Fixed it my unplugging my mouse and using my keyboard to reset the settings. – TheLizzard Nov 22 '21 at 16:57
4

you can also use "xgamma -gamma 0.5" command to decrease the intensity of RGB colors. See xgamma usage by using command "man xgamma". For my intel display the gamma brightness varies from 0 to 10(including decimal values).