在Ubuntu上啟用Compton(一個用于OpenGL合成的窗口合成器)的步驟如下:
安裝Compton(如果尚未安裝):
sudo apt update
sudo apt install compton
啟用Compton:
Ctrl + Alt + T
)。compton --config ~/.compton.conf
compton
設置開機自啟(可選):
/etc/systemd/system/compton.service
并添加以下內容:[Unit]
Description=Compton Window Compositor
After=graphical.target
[Service]
ExecStart=/usr/bin/compton --config ~/.compton.conf
Restart=on-failure
[Install]
WantedBy=graphical.target
sudo systemctl daemon-reload
sudo systemctl enable compton
sudo systemctl start compton
~/.cache/compton.log
)以獲取更多信息。通過以上步驟,你應該能夠在Ubuntu上成功啟用Compton窗口合成器。