简短结论:在 Debian 上,Compton(以及它的继任者 Picom)可以替代 xcompmgr,而且通常是更好的选择。
下面详细说明。
xcompmgr 是早期 Xorg 的轻量复合管理器picom)可以,而且推荐。
常见使用场景对比:
| 需求 | xcompmgr | compton/picom |
|---|---|---|
| 透明终端 | ✅ | ✅ |
| 窗口阴影 | ✅(简单) | ✅(可精细控制) |
| 淡入淡出 | ✅ | ✅ |
| 低资源占用 | ✅ | ✅(接近) |
| 复杂配置 | ❌ | ✅ |
| 现代维护 | ❌ | ✅(picom) |
sudo apt update
sudo apt install picom
picom &
在 ~/.xinitrc 或窗口管理器启动脚本中加:
picom &
mkdir -p ~/.config/picom
cp /usr/share/doc/picom/examples/picom.sample.conf ~/.config/picom/picom.conf
Debian 上,Compton / Picom 完全可以替代 xcompmgr,并且功能更强、更稳定。
如果你愿意,我可以帮你: