如何调整屏幕对比度?

Cyb*_*ull 39 graphics intel-graphics aspire

我正在使用 Acer Aspire 3680 和运行 Ubuntu 16 的 Intel GMA 950 视频,但我找不到调整屏幕对比度设置的命令。当前设置中太多的颜色和灰色被洗掉了。

什么命令或图形实用程序可以做到这一点?

小智 45

在命令行(终端)上,尝试编写

xgamma -gamma 0.3
Run Code Online (Sandbox Code Playgroud)

您应该会看到非常明显的差异。尝试不同的值。1.0 是正常值。设置较低的 gamma 会增加亮值的对比度(减少洗白),设置较高的 gamma 会增加暗值的对比度(但会增加洗白)。


小智 16

也许你可以试试“xcalib”。

sudo apt-get install xcalib
Run Code Online (Sandbox Code Playgroud)

默认(清除):

xcalib -c
Run Code Online (Sandbox Code Playgroud)

加载ICC文件:

xcalib ICC_file.icc
Run Code Online (Sandbox Code Playgroud)

调整对比度:

xcalib -co 70 -a
Run Code Online (Sandbox Code Playgroud)

附注。数字表示百分比,-a 表示改变,如果你想调整更多,问“男人”!哈哈

man xcalib
Run Code Online (Sandbox Code Playgroud)

希望有帮助!!


小智 6

我没有运气xgammacompizconfig-settings-manager或者xcalib

最后,我能够xrandr成功地更改屏幕的对比度(和其他设置)。

这是在配备 Nvidia Geforce GTX 显卡的 MSI 笔记本电脑上进行的。


安装:

sudo apt-get update
sudo apt-get install x11-xserver-utils
Run Code Online (Sandbox Code Playgroud)

首先运行 xrandr 以查看可用的屏幕。eDP-1-1是我的情况下唯一连接的屏幕。然后运行xrandr --output <your screen> --gamma r:g:b

请参阅下面我的终端的输出。

$ xrandr
Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
HDMI-0 disconnected (normal left inverted right x axis y axis)
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
eDP-1-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 193mm
   1920x1080     60.01*+  59.93  
   1680x1050     59.95    59.88  
   1600x1024     60.17  
   ...
   ...
   512x384       60.00  
   400x300       60.32    56.34  
   320x240       60.05  

$ xrandr --output eDP-1-1 --gamma 0.8:0.8:0.8
Run Code Online (Sandbox Code Playgroud)


Sun*_*day 5

我为 xcalib 编写了一个 GUI 前端,可以在https://github.com/Ablinne/kolorcontrol上找到。

它分别为红/绿和蓝色通道提供亮度/颜色和伽玛的滑块。它将显示自动启动脚本的命令。