在Ubuntu中启动Compton,可以按照以下步骤操作:
Ctrl + Alt + T
打开终端。安装Compton(如果尚未安装):
sudo apt update
sudo apt install compton
启动Compton:
compton
compton --config /path/to/your/compton.conf
其中 /path/to/your/compton.conf
是你的Compton配置文件路径。设置开机自启(可选):
sudo nano /etc/systemd/system/compton.service
[Unit]
Description=Compton Compositor
After=graphical.target
[Service]
ExecStart=/usr/bin/compton
Restart=always
[Install]
WantedBy=graphical.target
sudo systemctl enable compton
sudo systemctl start compton
~/.cache/compton.log
)以获取更多信息。希望这些步骤能帮助你在Ubuntu中成功启动Compton!