要删除或重置 compton 的配置,可以按下面几种情况来处理:
compton 的配置文件通常在以下位置之一:
~/.config/compton.conf
~/.compton.conf
/etc/compton.conf
检查并删除它们即可:
rm -f ~/.config/compton.conf
rm -f ~/.compton.conf
sudo rm -f /etc/compton.conf
如果你之前设置了 compton 开机自启,还需要移除自启配置。
systemctl --user disable compton
systemctl --user stop compton
如果有对应的 service 文件:
rm -f ~/.config/systemd/user/compton.service
rm -f ~/.config/autostart/compton.desktop
检查配置文件,例如:
~/.config/i3/config
~/.xinitrc
~/.config/bspwm/bspwmrc
删除类似:
exec compton
exec compton -b
如果你是想彻底移除 compton:
sudo apt remove compton
sudo apt purge compton
sudo pacman -Rns compton
注意:Arch 官方仓库中 compton 已被 picom 取代,如果你装的是 picom,请替换命令中的
compton为picom。
ps aux | grep compton
killall compton
如果你愿意,可以告诉我:
我可以给你更精确的删除步骤。