Debian系統更新Compton主要有以下兩種方式:
sudo apt update
sudo apt upgrade compton
sudo systemctl restart compton
pkill compton && compton &
.deb
包或源碼包。sudo apt install build-essential cmake libx11-dev libwayland-dev libxrandr-dev
mkdir build && cd build
cmake ..
make
sudo make install
~/.config/compton.conf
)。