在Debian上設置Compton可參考以下步驟:
sudo apt install compton
命令安裝。~/.config/compton.conf
,用文本編輯器打開,可設置后端、陰影、透明度等選項,如backend = "glx"
,shadow = true
等。compton --config ~/.config/compton.conf
命令啟動。/etc/systemd/system/compton.service
文件,添加相關內容,然后使用sudo systemctl enable compton
和sudo systemctl start compton
啟用并啟動服務。