在Compton配置中调整颜色管理,可参考以下方法:
sudo apt update
和sudo apt install compton libcolorhug-dev
安装Compton及相关色彩管理工具。~/.config/compton.conf
,若不存在则手动创建。用文本编辑器打开文件,添加或修改以下配置项:
color-management true;
:启用色彩管理。color-profile "/path/to/your/color/profile.icc";
:指定色彩配置文件路径,需替换为实际路径。glx-use-dri 3; glx-dri3-visuals-only true;
:启用OpenGL色彩管理。pkill compton
和compton -c ~/.config/compton.conf &
重启Compton,或通过systemd服务重启。