安装Compton
根据发行版选择命令:
sudo apt-get install comptonsudo dnf install comptonsudo pacman -S compton配置特效参数
编辑配置文件 ~/.config/compton.conf,添加以下选项:
bg_blur trueshadow truescreen_edge_blur truevsync truebackend glx(需显卡支持OpenGL)重启Compton服务
sudo systemctl restart comptonsudo systemctl restart compton.service性能优化(可选)
shadow false)cpulimit -l 50 -p $(pgrep compton)提示:可参考GitHub上的预设配置优化效果,或结合桌面环境(如Openbox、i3)增强兼容性。