Manjaro Difference between revisions of "Reactivating the Backlight/zh-cn"

Difference between revisions of "Reactivating the Backlight/zh-cn"

From Manjaro
(Updating to match new version of source page)
(Created page with "您还需要输入您的密码才能继续。现在输入第二个也是最后一个命令:")
 
Line 3: Line 3:
== 简介 ==
== 简介 ==


某些用户  - particularly those using laptops - are encountering a problem where the screen brightness is too dim upon replacing Microsoft Windows with a Linux distribution as their main operating system. This is because some unscrupulous hardware manufacturers have coded the BIOS to automatically disable the screen backlight if Windows is not detected running on the system. Fortunately, it is possible to fix this problem by entering a single command in the terminal.
一些用户 - 特别是那些使用笔记本电脑的用户 - 在将 Microsoft Windows 替换为 Linux 发行版作为主要操作系统后遇到了屏幕亮度过暗的问题。这是因为一些不道德的硬件制造商在 BIOS 中编写了代码,如果系统未检测到运行 Windows,就会自动禁用屏幕背光。幸运的是,可以通过在终端中输入一个简单的命令来解决这个问题。
== 重新激活屏幕背光 ==
== 重新激活屏幕背光 ==


This problem can be easily fixed by ensuring that the GRUB bootloader re-activates the backlight. To do this, first open up your terminal, and enter the following command:
这个问题可以通过确保 GRUB 引导加载程序重新激活背光来轻松解决。要做到这一点,首先打开你的终端,然后输入以下命令:
  <!--T:5-->
  <!--T:5-->
{{UserCmd|command= sudo sed "s/\(GRUB_CMDLINE_LINUX=\)\"\"/\1\"acpi_osi=Linux acpi_backlight=vendor\"/" /etc/default/grub -i}}
{{UserCmd|command= sudo sed "s/\(GRUB_CMDLINE_LINUX=\)\"\"/\1\"acpi_osi=Linux acpi_backlight=vendor\"/" /etc/default/grub -i}}
You will also have to enter your password to continue. Now enter the second and final command:
您还需要输入您的密码才能继续。现在输入第二个也是最后一个命令:
  <!--T:7-->
  <!--T:7-->
{{UserCmd|command= sudo update-grub}}
{{UserCmd|command= sudo update-grub}}
Once complete, close the terminal and re-boot your system for the changes to take permanent effect.
完成后,关闭终端并重新启动系统,使更改永久生效。


[[Category:Contents Page{{#translation:}}]]
[[Category:Contents Page{{#translation:}}]]

Latest revision as of 04:36, 7 April 2025

Other languages:
English • ‎Türkçe • ‎français • ‎русский • ‎فارسی • ‎中文(中国大陆)‎

简介

一些用户 - 特别是那些使用笔记本电脑的用户 - 在将 Microsoft Windows 替换为 Linux 发行版作为主要操作系统后遇到了屏幕亮度过暗的问题。这是因为一些不道德的硬件制造商在 BIOS 中编写了代码,如果系统未检测到运行 Windows,就会自动禁用屏幕背光。幸运的是,可以通过在终端中输入一个简单的命令来解决这个问题。

重新激活屏幕背光

这个问题可以通过确保 GRUB 引导加载程序重新激活背光来轻松解决。要做到这一点,首先打开你的终端,然后输入以下命令:

user $ sudo sed "s/\(GRUB_CMDLINE_LINUX=\)\"\"/\1\"acpi_osi=Linux acpi_backlight=vendor\"/" /etc/default/grub -i COPY TO CLIPBOARD


您还需要输入您的密码才能继续。现在输入第二个也是最后一个命令:

user $ sudo update-grub COPY TO CLIPBOARD


完成后,关闭终端并重新启动系统,使更改永久生效。

Cookies help us deliver our services. By using our services, you agree to our use of cookies.