更新Debian Compton配置通常有两种方法:
sudo apt update
和sudo apt upgrade compton
,将Compton更新到最新版本,然后重启Compton服务,可使用pkill compton && compton &
或systemctl --user restart compton
命令。sudo apt install git cmake libx11-dev libxrandr-dev libxcb-xinerama0-dev libxcb-randr0-dev
等,再通过git clone https://github.com/astraean/compton.git
克隆仓库,进入目录后执行mkdir build && cd build
、cmake ..
、make
和sudo make install
进行编译安装,最后重启Compton。