要恢复Debian Compton的默认设置,可先备份当前配置文件,再删除或覆盖为默认配置,最后重启Compton,具体步骤如下:
cp ~/.config/compton.conf ~/.config/compton.conf.backup
命令备份;若在系统目录,使用sudo cp /etc/compton.conf /etc/compton.conf.backup
命令备份。rm ~/.config/compton.conf
(用户目录)或sudo rm /etc/compton.conf
(系统目录)命令。若之前有备份,也可将备份文件复制回原位置覆盖当前配置。pkill compton && compton &
命令重启,若使用systemd服务管理,可使用sudo systemctl restart compton
命令。