~/.config/compton.conf,编辑时需关闭阴影、透明度等特效,如设置shadow=false、opacity=false,并将后端设为glx或wayland以启用GPU加速。backend glx,并确认ignore_glx_glitz未设置为true。cpulimit工具限制Compton的CPU使用率,例如cpulimit -l 50 -p $(pgrep compton)。vsync为true或false。xcompmgr等替代方案。修改后需重启Compton生效,命令为sudo systemctl restart compton。