以下是Debian Compton配置常见问题及解决方法:
安装与依赖问题
sudo apt update && sudo apt install compton x11-xserver-utils wmctrl
。sudo apt install -f
修复。配置文件问题
~/.config/compton.conf
,确保权限为644
。compton -r
或通过systemd服务重启。性能问题
glx
或wayland
(需显卡支持)。shadow=false
、opacity=false
。cpulimit
限制CPU占用。显示与兼容性问题
日志与调试
journalctl -u compton.service
或~/.cache/compton/compton.log
。picom --log-level DEBUG --config /dev/null
定位问题。版本与系统适配
参考来源: