在 Debian 上如果你使用的是 Compton(现在多数发行版已改名为 picom,但命令和配置类似),重启方式取决于你是怎么启动它的。
ps aux | grep compton
或
pgrep compton
pkill compton
compton &
或(如果你用的是 picom):
pkill picom
picom &
如果是
compton(旧名),命令就是compton
如果你创建了 ~/.config/systemd/user/compton.service:
systemctl --user restart compton
或
systemctl --user restart picom
如果你是在:
.xinitrci3/configopenbox/autostart一般这样重启:
pkill compton
compton --config ~/.config/compton.conf &
如果你改了配置文件(如 ~/.config/compton.conf):
pkill compton
compton -b
-b 表示后台运行
compton,而是 picomwhich compton picom
compton --show-all-errors
如果你告诉我:
compton 还是 picom我可以给你最准确的一条命令。