在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
,添加相关内容并启用服务。