在Debian中通过Compton改善显示色彩,可按以下步骤操作:
安装Compton及色彩管理工具
sudo apt update && sudo apt install compton libcolorhug-dev
创建/编辑配置文件
在~/.config/compton.conf
中添加色彩管理配置:
# 启用色彩管理
color-management = true;
# 指定ICC色彩配置文件路径(需替换为实际路径)
color-profile = "/path/to/your/color/profile.icc";
# 启用OpenGL色彩管理
glx-use-dri = 3;
glx-dri3-visuals-only = true;
重启Compton应用设置
pkill compton
compton -c ~/.config/compton.conf &
说明:
colord
或xcalib
工具生成显示器ICC配置文件,并替换上述路径中的/path/to/your/color/profile.icc
。backend
参数设为wayland
。