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