1

I like night light (build-in setting in my ubuntu 20.04), but it doesn't reduce screen brightess enough.

Is there a command / tool I could use to dimm my screen further, while keeping the night light orage tint ?

n0tis
  • 297
  • 1
  • 12

1 Answers1

0

My approach would be changing the brightness from the terminal using the built in xrandr command and a cron job say at 6pm to reduce the brightness and 7am to increase it.

Type xrandr | grep " connected" | cut -f1 -d " " in terminal to fetch the name of the attached display to your Ubuntu system. Then use this command format, xrandr --output [display-name] --brightness [level of illumination] to set the preferred levels eg. xrandr --output VGA-1 --brightness 0.5. It might be easier to create two different shell scripts for this - one for day & the other for night.

UPDATE

You can turn the night light on in the same scripts in-case adjusting your brightness turns off the night light using gsettings - https://askubuntu.com/questions/1246195/how-to-turn-on-night-light-blue-light-filter-in-ubuntu-20-04

  1. How to change screen brightness in ubuntu using command terminal
  2. How do I set up a Cron job?
Caasi
  • 19