温馨提示×

Ubuntu上Compton的日志文件在哪查看

小樊
51
2025-09-06 14:23:07
栏目: 智能运维

在Ubuntu上,Compton的日志文件查看方式如下:

  • 默认日志文件:通常位于~/.cache/compton/compton.log,可用cattail命令查看,如cat ~/.cache/compton/compton.logtail -f ~/.cache/compton/compton.log
  • 系统日志:部分系统会将Compton日志写入系统日志,可使用journalctl命令查看,如journalctl -u compton.service(若Compton以服务运行)或journalctl -p 3 -b -o cat | grep compton(通过进程ID查找)。

0