ubuntu安装nvidia显卡驱动后不能用快捷键调节亮度的解决办法

论坛 期权论坛 脚本     
匿名技术用户   2021-1-2 22:25   289   0

装了Ubuntu,一切都挺好。

装了个NVIDIA的最新显卡驱动。可是问题来了,装上最新的驱动以后 不能按Fn+上下调节亮度了。

这里告诉大家一个小诀窍,是从Ubuntu官方中文论坛学来的:修改你的xorg.conf 文件。xorg.conf文件的位置就在/etc/X11/下面。

如果没有xorg.conf文件的话,就自己新建一个,输入下面的内容,保存退出。

Section "Screen"
 Identifier "Default Screen"
 DefaultDepth 24
EndSection
Section "Module"
 Load "glx"
EndSection
Section "Device"
 Identifier "Default Device"
 Driver "nvidia"
 Option "NoLogo" "True"
 Option "RegistryDwords" "EnableBrightnessControl=1"
EndSection

如果有这个文件的话在终端中输入:

sudo gedit /etc/X11/xorg.conf(注意大小写)打开该文件,

Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
EndSection
改成
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
Option "RegistryDwords" "EnableBrightnessControl=1"
EndSection

然后保存,退出。

重启之后,你就会发现可以调节屏幕背光亮度了。

大家觉得有用就顶下吧!
分享到 :
0 人收藏
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

积分:7942463
帖子:1588486
精华:0
期权论坛 期权论坛
发布
内容

下载期权论坛手机APP