在CentOS中切換Compton使用的顯卡,可參考以下步驟:
lspci | grep -i nvidia
lspci | grep -i amd
~/.config/compton.conf
device
device = ["NVIDIA:0", "AMD:0"];
sudo systemctl restart compton