在Debian上设置Compton桌面特效,可按以下步骤进行:
使用命令sudo apt update和sudo apt install compton进行安装。
Compton配置文件一般在~/.config/compton.conf,若不存在则创建。用文本编辑器打开文件,根据需求修改以下选项:
bg_blur true或b true。shadow true或r true。screen_edge_blur true或s true。opacity设置整体透明度,或通过opacity-rule为不同窗口设置不同透明度。backend可设为xrender、glx或wayland,glx或wayland通常性能更好。保存配置文件后,使用killall compton和compton --config ~/.config/compton.conf &重启Compton,使配置生效。