在Ubuntu上啟用Compton雙屏顯示,可按以下步驟操作:
sudo apt update
和sudo apt install compton
。~/.config/compton.conf
,設置backend "glx"
,并配置顯示器參數,如screen0
和screen1
的output
和position
,可通過xrandr --query
查看顯示器名稱和位置。compton -c ~/.config/compton.conf
。/etc/systemd/system/compton.service
,添加相關內容后,執行sudo systemctl enable compton
和sudo systemctl start compton
。