在Ubuntu上启用Compton有以下两种方法:
sudo apt update
sudo apt install compton
compton --config ~/.compton.conf
compton