在 Linux 下禁用 Compton(常见的 X11 窗口合成器),可以按下面几种方式操作,取决于你是临时禁用还是彻底卸载。
killall compton
或
pkill compton
如果没反应:
pkill -9 compton
systemd --user 启动的systemctl --user stop compton
systemctl --user disable compton
xinitrc / autostart 启动的编辑对应文件:
~/.xinitrc~/.config/autostart/compton.desktop删除或注释掉类似:
compton &
或
compton --config ~/.config/compton.conf &
sudo apt remove compton
或(新版)
sudo apt remove picom
sudo pacman -R compton
或
sudo pacman -R picom
sudo dnf remove compton
ps aux | grep compton
没有输出即说明已停止。
picom,命令要换成:killall picom
pkill picom
systemctl --user stop picom
如果你愿意,可以告诉我:
我可以给你精确到文件的禁用方法。