13

I have my laptop set to maximum brightness, but it's not bright enough. Is it possible to somehow make it brighter?

oshirowanen
  • 3,977
  • 1
    Check this topic, maybe it will help: http://askubuntu.com/questions/62249/how-do-you-change-brightness-color-and-sharpness-from-command-line – GreggD May 16 '16 at 10:38
  • 2
    not sure if this helps, but xrandr --output <screen_name> --brightness 1.1 does that, but the screen usually looks ugly then. Retrieve <screen_name> from the output of xrandr. – Jacob Vlijm May 16 '16 at 10:38

2 Answers2

30

Run this to see a list of your outputs. You're looking for the one that is "connected":

xrandr --current

Here's a screenshot of my list. The output I want is the "connected" eDP1 at the top:

Now you can run these commands to make adjustments. Replace eDP1 with the name of your output, and change 1.2 to make the adjustments:

xrandr --output eDP1 --brightness 1.2
# Note: 1 is default

You can also use gamma instead of brightness:

xrandr --output <outputname> --gamma 0.5:1.0:1.0
# Note: 1.0:1.0:1.0 is default
Hizqeel
  • 1,895
  • 2
    You should not add other information in the middle of your code, it breaks the code and when people copy it, it simply won't work. I have edited it but be careful not to break your code. – Mark Kirby May 16 '16 at 11:53
  • 1
    @MarkKirby Thanks for pointing out that mistake. I will make sure not to do that again. – Hizqeel May 16 '16 at 11:56
  • @Hizqeel, I get the following: userone@laptop:~$ xrandr --output DVI-0 --brightness 2 warning: output DVI-0 not found; ignoring xrandr: Need crtc to set gamma on. userone@laptop:~$ – oshirowanen May 17 '16 at 09:39
  • 1
    @oshirowanen you obviously didn't read the comment to your question. DVI-0 is not the name of your screen. – Jacob Vlijm May 17 '16 at 10:44
  • 1
    @oshirowanen I have updated the answer. If this is clear and solves your problem then let me know. – Hizqeel May 17 '16 at 10:45
  • Thanks, how do I figure out what the default value was? 2 is way to bright and makes the text look bad. Currently have set it to 1. – oshirowanen May 17 '16 at 11:07
  • @oshirowanen 1 is the default, I would try 1.1 for a start. – Jacob Vlijm May 17 '16 at 11:36
  • This was very helpful thankyou. Is there any software available that would make it easier to try different settings? – Abe Petrillo Oct 10 '17 at 15:21
  • In my case (using Ubuntu 17.10) the commands didn't make any change. – Philippe Delteil Jan 05 '18 at 11:58
1

use both of them

xrandr |grep " connected" |cut -f1 -d " "

get the name that listed and use it instead of eDP-1

 xrandr --output eDP-1 --brightness 1.4