以下是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定位问题。版本与系统适配
参考来源: