失眠网,内容丰富有趣,生活中的好帮手!
失眠网 > linux调屏幕亮度命令 Ubuntu调节屏幕亮度Linux命令

linux调屏幕亮度命令 Ubuntu调节屏幕亮度Linux命令

时间:2022-01-25 07:47:24

相关推荐

linux调屏幕亮度命令 Ubuntu调节屏幕亮度Linux命令

2种方法:

1、调节屏幕对比度参数gamma值

> xgamma -gamma .75

如果不理想可以尝试将.75修改成0.5~1.0之间测试一下。我用1.0后感觉和Vista下亮度一致。

该命令无须管理员权限。

2、调节本本屏幕背光亮度pci

> sudo setpci -s 00:02.0 F4.B=xx

xx就是16进制表示的屏幕亮度值,范围0(最亮)~FF(最暗)。

00:02.0是你的显示器VGA设备代码。

用lspci命令查一下你的VGA设备代码:

> lspci

00:00.0 Host bridge: Intel Corporation Mobile

PM965/GM965/GL960 Memory Controller Hub (rev 03)

00:02.0 VGA compatible controller: Intel Corporation Mobile

GM965/GL960 Integrated Graphics Controller (rev 03)

00:02.1 Display controller: Intel Corporation Mobile

GM965/GL960 Integrated Graphics Controller (rev 03)

00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family)

USB UHCI Controller #4 (rev 03)

注意第二行00:02.0 VGA compatible controller

如果觉得《linux调屏幕亮度命令 Ubuntu调节屏幕亮度Linux命令》对你有帮助,请点赞、收藏,并留下你的观点哦!

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。