在Debian系統更新Compton可采用以下方式:
sudo apt update
sudo apt upgrade compton
systemctl --user restart compton # 用戶級服務
# 或
pkill compton && compton & # 手動啟動
sudo apt install build-essential libx11-dev libxcomposite-dev libxcb-randr0-dev
git clone https://github.com/yshui/compton.git
cd compton
mkdir build && cd build
cmake ..
make
sudo make install
pkill compton && compton &
~/.config/compton.conf
,避免兼容性問題。apt build-dep compton
安裝。部分發行版可能已將Compton重命名為picom
,可通過 picom --version
驗證。