在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以应用更改。