在Debian上使用Compton進行窗口動畫,可按以下步驟操作:
sudo apt update和sudo apt install compton。.config/compton.conf文件,可參考以下內容:backend = "glx";
glx-no-stencil = false;
glx-copy-from-front = true;
fade = true;
unfocus = true;
focus = true;
expose = true;
idle-detection = true;
idle-detection-timeout = 0.5;
animation-duration = 0.3;
animation-step = 0.1;
compton -c ~/.config/compton.conf。若想開機自啟,可創建systemd服務文件/etc/systemd/system/compton.service,添加相關內容并啟用服務。