Get the App
SLTechnology News&Howtos  ›  Servers  › 

How to solve the problem that every boot screen of ubuntu system is the maximum brightness?

Shulou Source: shulou.com Published: 2022-06-01 07:11:13 10月03日 Update

This article mainly introduces how to solve the problem that every startup screen of the ubuntu system is the maximum brightness, which has a certain reference value, and interested friends can refer to it. I hope you can learn a lot after reading this article.

First of all, you need to make sure you have this file:

/ sys/class/backlight/acpi_video0/brightness

The value from cat is your current screen brightness.

Let's modify the following file to add some user startup settings:

The code is as follows:

Sudo gedit / etc/rc.local

Add the following code above exit 0 (make sure exit 0 is not commented out):

The code is as follows:

Echo screen luminance value > / sys/class/backlight/acpi_video0/brightness

In this way, the boot will read the file and write the screen luminance value into the brightness file dynamically to change the current brightness.

The following method is similar to the above, but is sure to be used

After entering the system, first adjust the appropriate brightness, and then query the value of the brightness.

Then follow the steps below.

The code is as follows:

$cat / sys/class/backlight/intel_backlight/brightness

nine hundred and seventy six

$sudo vim / etc/rc.local

# add the following command, and the next time you turn it on, the brightness you are adjusting now will be displayed.

The code is as follows:

Echo 976 > / sys/class/backlight/intel_backlight/brightness

If the above does not work, replace brightness with actual_brightness

The code is as follows:

/ sys/class/backlight/intel_backlight/actual_brightness

Thank you for reading this article carefully. I hope the article "how to solve the problem that every startup screen of the ubuntu system is the maximum brightness" shared by the editor will be helpful to everyone. At the same time, I also hope that you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!

Tags: Brightness code screen file article system maximum problem face adjustment fit almost line value interest dynamic and at the same time command that is numerical value Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Information MariaDB Microsoft macOS vpn