在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,使配置生效。