Example Analysis of "Eye Protection" Software under Linux
This article mainly shows you the "sample analysis of eye protection software under Linux", which is easy to understand and well organized. I hope it can help you solve your doubts. Let me lead you to study and learn this article "sample analysis of eye protection software under Linux".
After turning off the lights at night, the blue light is dazzling when looking at the computer. Two eye protection software are recommended. In addition, the minimum brightness still feels too bright, so write an adjustment tool to cover the screen with a translucent black mask layer to "reduce" the brightness.
Redshift
Redshift is an application that automatically adjusts the color temperature of the monitor. It can adjust the color temperature of the computer screen according to your environment, not only adjust the brightness, but also have a good effect on some displays that can not adjust the brightness. If you sit in front of your computer and stare at the screen for a long time, then using Redshift can better protect your eyes.
F.lux
F.lux is an application that automatically adjusts the brightness of the screen color temperature, which can preset a suitable range of color temperature changes, the color temperature during the day is controlled below 6500K, and the color temperature at night is controlled above 3500K. It can automatically adjust the color temperature of your computer monitor screen with the time of day, filtering the blue light that does the greatest harm to human eyes, so as to reduce the fatigue caused by the screen to the eyes as much as possible.
Xgamma
This is a controllable program to adjust the gamma value of the three primary colors, the general system comes with the following functions:
Usage: xgamma [- options] where the available options are:-display host:dpy or-d-quiet or-Q-screen or-s-version or-v-gamma f.f Gamma Value-rgamma f.f Red Gamma Value-ggamma f.f Green Gamma Value-bgamma f.f Blue Gamma Value
For example, I want to lower the blue gamma value to make the screen less dazzling:
Xgamma-bgamma 1.0 # gamma values range from 0.1 to 10.0
If you need an overall adjustment:
Xgamma-gamma 0.75
Xrandr
This is also a command that comes with the system to adjust the "brightness" of the screen, but in fact, I personally feel more like a "mask layer" on the screen, the experience is not very good, but if you need very low brightness, this is probably the right choice.
Xrandr-- output LVDS1-- brightness 0.5
If you accidentally set the dimness to 0.1, you probably can't see anything on the screen.
The last two software you can use zenity tool to write a script to implement the interactive interface. In this way, the brightness and gamma value can be adjusted manually.
The f.lux used on Mac is good for daily reading and office work, but for entertainment, many colors on the screen are really blocked, the viewing effect is not good, and the color temperature should be set to normal.
The above is all the contents of this article "sample Analysis of Eye Protection Software under Linux". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!