Ubuntu重启后屏幕显示为最大亮度的解决方法
时间:2022-06-30 06:42:30
不少用户表示,开机后Ubuntu屏幕显示为最大亮度,重新调整屏幕亮度以后再重启Ubuntu系统,发现屏幕还是显示为最大亮度,所以又要再调整一次。这样来回调整非常的麻烦,要如何解决这个困扰呢?下面,小编就给大家介绍Ubuntu重启后屏幕显示为最大亮度的解决方法。
Ubuntu
处理过程如下:
1.终端输入代码:(打开grub的默认配置文件,里面有设置屏幕亮度的选项)
sudo gedit /etc/default/grub
2.在打开文件中找到如下语句: (该语句用于设置背景亮度的选择)
GRUB_CMDLINE_LINUX=“”
3.将其改成如下语句:
GRUB_CMDLINE_LINUX=“acpi_backlight=vendor“ (选择背景亮度为vendor型)
4.改好后保存即可。
5.升级grub:
sudo update-grub
重启之。按FN就能调节亮度。
到这一步并没有结束,下面才开始设置默认的屏幕亮度值的过程。
用于设定亮度初始值:
1.终端输入代码:
sudo gedit /etc/rc.local
2.在打开的文件里增加一句(加在exit 0之前)代码:
echo 500 》 /sys/class/backlight/intel_backlight/brightness
PS:500指的是屏幕的亮度值,你可以先查看屏幕的最大亮度值,然后根据需要在这里设置默认的屏幕亮度值。
查询屏幕亮度的命令为:sudo cat /sys/class/backlight/intel_backlight/brightness 或者 sudo cat /sys/class/backlight/intel_backlight/max_brightness
3.然后保存即可。
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
hosts文件怎么修复_hosts文件修复方法
![](https://img.aspxhome.com/file/2023/3/a297427_0s.jpg)
无法设置完成日期和 责任人字段
如何将excel数据导入sql的方法
分散对齐功能在Excel2010中的妙用
![](https://img.aspxhome.com/file/2023/0/38500_0s.jpg)
WPS Excel文件被覆盖怎么恢复
![](https://img.aspxhome.com/file/2023/4/a185674_0s.jpg)
Win8系统怎么更新无线网卡驱动 Win8系统更新无线网卡驱动的方法图解
![](https://img.aspxhome.com/file/2023/28/a243927_0s.jpg)
win10音量图标变成竖的后小喇叭不见了该怎么办?
![](https://img.aspxhome.com/file/2023/28/a248435_0s.jpg)
Excel 2007单元格内容的移动或复制
![](https://img.aspxhome.com/file/2023/7/39547_0s.jpg)
Win10便签怎么调出来? Win10便签使用方法分享
![](https://img.aspxhome.com/file/2023/25/a217196_0s.png)
win7系统开机出现蓝屏代码0x00000f4的原因分析及解决方法
![](https://img.aspxhome.com/file/2023/29/a254637_0s.jpg)
up对战平台游戏路径怎么设置?
![](https://img.aspxhome.com/file/2023/30/a265174_0s.png)
Win10系统禁止用户安装软件的设置方法
![](https://img.aspxhome.com/file/2023/26/a227120_0s.jpg)
小明工具箱怎么使用 小明工具箱使用方法分享
![](https://img.aspxhome.com/file/2023/2/39892_0s.jpg)
电脑版wps文档如何对齐下划线
![](https://img.aspxhome.com/file/2023/2/a183632_0s.png)
WPS Excel不同条件数据,秒算求和
![](https://img.aspxhome.com/file/2023/4/a185474_0s.jpg)
如何在WPS文本中设置字体大小
![](https://img.aspxhome.com/file/2023/8/a170428_0s.jpg)
WPS共享文档怎么弄?WPS创建共享文档教程
![](https://img.aspxhome.com/file/2023/30/a265848_0s.png)
Excel开始菜单工具灰色不能操作解决方法
![](https://img.aspxhome.com/file/2023/3/a153133_0s.jpg)
win11电脑剪贴板在哪里?
![](https://img.aspxhome.com/file/2023/1/a274377_0s.jpg)
Win11打不开网页但能上网怎么回事?
![](https://img.aspxhome.com/file/2023/30/a269901_0s.png)