Compton(现在常见分支/继任者:picom)的默认配置位置取决于你用的是哪个版本,以及发行版。
~/.config/compton.conf
或
/etc/xdg/compton.conf
如果不存在,说明 没有默认配置文件,需要手动创建。
compton --show-all-options > ~/.config/compton.conf
现在大多数发行版已经用 picom 替代 compton。
~/.config/picom/picom.conf
或(旧版本)
~/.config/picom.conf
/usr/share/doc/picom/picom.conf.example
或
/usr/share/picom/picom.conf
picom --show-all-options > ~/.config/picom/picom.conf
which compton picom
或
compton --version
picom --version
一般输出:
compton → 原版picom → 新版本(推荐)picom &
或(老系统)
compton --config ~/.config/compton.conf &
ls ~/.config/compton* ~/.config/picom*
如果你愿意,可以告诉我:
compton 还是 picom我可以给你一份适合你环境的推荐配置。