在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!