In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-26 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly shows you "how to save notebook screen brightness setting r backlight brightness in linux", the content is easy to understand, clear, hope to help you solve your doubts, the following let Xiaobian lead you to study and learn "how to save notebook screen brightness setting r backlight brightness" this article.
The linux desktop version I use is linux mint13 maya
Each boot found that the screen brightness is the brightest, you can adjust the backlight brightness through the Fn+F6/F7, but will return to the maximum brightness after reboot.
Do you have to press Fn+F6/F7 to adjust the brightness every time you turn it on? Is there no way to do it once and for all? Of course there is!
1Cat / etc/default/acpi-support, I found the following comment at the end:
# Note: to enable "laptop mode" (to spin down your hard drive for longer
# periods of time), install the laptop-mode-tools package and configure
# it in / etc/laptop-mode/laptop-mode.conf.
All right, so first you need to install laptop-mode-tools, OK, it's very simple.
Apt-get install laptop-mode-tools
After installing this tool, laptop mode will be enabled automatically, and / etc/laptop-mode/laptop-mode.conf will be opened below for configuration
2, configure / etc/laptop-mode/laptop-mode.conf
(1) configure the use of laptop mode in AC mode:
#
# Enable laptop mode when on AC power.
#
ENABLE_LAPTOP_MODE_ON_AC=1
# the battery has been set to 1 by default
(2) configure LCD brightness control
There is no option to find CONTROL_BRIGHTNESS in / etc/laptop-mode/laptop-mode.conf. Check the help manual: man laptop-mode.conf and find that the LCD brightness control is in the file / etc/laptop-mode/conf.d/lcd-brightness.conf. OK, open this file and make the following settings:
#
# Should laptop mode tools control LCD brightness?
# set to 1, enable
CONTROL_BRIGHTNESS=1
#
# Commands to execute to set the brightness on your LCD
# "echo 13" means that the luminance value 13 is written into the BRIGHTNESS_OUTPUT file, and the luminance value is taken according to its own situation.
BATT_BRIGHTNESS_COMMAND= "echo 13"
LM_AC_BRIGHTNESS_COMMAND= "echo 13"
NOLM_AC_BRIGHTNESS_COMMAND= "echo 13"
BRIGHTNESS_OUTPUT= "/ sys/class/backlight/acpi_video0/brightness"
OK, after the above configuration is completed, restart. So that you don't have to press Fn+F6/F7 manually every time you start the system.
Note: writing echo xx > / sys/class/backlight/acpi_video0/brightness to rc.local does not work either. Through laptop mode tools control, we can achieve our goal.
The above is all the contents of the article "how to save notebook screen brightness setting r backlight brightness in 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!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.