要开启Linux Compton的抗锯齿功能,可按以下步骤操作:
sudo apt-get install compton
命令。~/.config/compton.conf
,不存在则手动创建,用nano
等文本编辑器打开。antialias true
:启用抗锯齿。glx-aa-method msaa
(或saa
等):设置抗锯齿方法,msaa
为多重采样抗锯齿。glx-aa-sample-samples 4
:设置样本数,数值越大抗锯齿效果越好,但性能影响也越大。pkill compton && compton &
命令重启。