How to automatically adjust the screen brightness in Linux to protect your eyes
When you start to spend a lot of time on the computer, the problem naturally begins to emerge. Is this healthy? How can we relieve the pressure on my eyes? Why is light burning me? Although research is still ongoing to answer these questions, many programmers have adopted some applications to change their daily habits and make their eyes healthier. In these applications, I found two particularly interesting things: Calise and Redshift.
Calise
In the continuous development of time-breaking, Calise means "Camera Light Sensor )". In other words, it is an open source program that computes the screen's optimal backlight level based on the light intensity received by the camera. Furthermore, Calise can consider the weather in your region based on your geographic coordinates. I like it because it is compatible with various desktops, or even non-X series.
It also comes with the command line interface and graphical interface, supports multi-user configuration, and can even export data to CSV. After the installation, you must quickly correct it before witnessing a miracle.
What I don't like very much is that if you have a void vision like me and paste a piece of tape in front of your camera, it will be unfortunate, which will greatly affect the accuracy of Calise. In addition, Calise is a great application that deserves our attention and support. As I mentioned earlier, it has experienced a difficult period of repair and makeup over the past few years, so I really hope this project will continue.
Redshift
If you want to reduce the eye pressure caused by the screen, you may have heard of f. lux is a free proprietary software used to modify the brightness and color of a display based on the time of the day. However, if you really prefer open-source software, an alternative solution is Redshift. Inspired by f. lux, Redshift can also change the color and brightness to enhance your experience of sitting in front of the screen at night. At startup, you can use the longitude and latitude to configure the geographical coordinates, and then you can run it in the tray. Redshift will smoothly adjust your color or screen based on the sun's position. At night, you can see that the screen's color temperature changes to a warm color, which will make your eyes less vulnerable.
Like Calise, it provides a command line interface and a graphical client. To quickly start Redshift, run the following command:
$ redshift -l [LAT]:[LON]
Replace [LAT]: [LON] With your dimension and longitude.
However, it can also input your coordinates through the gpsd module. For Arch Linux users, we recommend that you read this Wiki page.
Conclusion
All in all, Linux users have no reason not to protect their eyes. Both Calise and Redshift are great. I really hope that their development can continue and give them the proper support. Of course, there are more programs than these two to protect your eyes and stay healthy, but I feel Calise and Redshift will be a good start.
If you have a favorite program that is often used to relieve eye pressure, please leave a comment below.
Via: http://xmodulo.com/automatically-dim-your-screen-linux.html
Author: Adrien Brochard Translator: GOLinux Proofreader: wxy
This article was originally compiled by LCTT and launched with the honor of Linux in China
This article permanently updates the link address: