在Ubuntu上,Compton的日志文件查看方式如下:
~/.cache/compton/compton.log,可用cat或tail命令查看,如cat ~/.cache/compton/compton.log或tail -f ~/.cache/compton/compton.log。journalctl命令查看,如journalctl -u compton.service(若Compton以服务运行)或journalctl -p 3 -b -o cat | grep compton(通过进程ID查找)。