After installing Debian Wheezy on my computer, getting everything setup (XFCE, NVIDIA, etc), screen tearing was still a problem. I then tried to compile Compton from the git repository, which didn’t work. After a bit of Googling, still no.
I then remembered when I tested the Crunchbang Waldorf distribution. This is basically Debian Wheezy + Openbox. It included Compton in the separate Crunchbang repositories.
I then found the Crunchbang repositories, added the GPG key and installed compton. All was well 😀
Open up a terminal. Make sure you have root privileges. I used root (su -) to execute these commands, but if you want to use sudo, just add sudo infront of them.
I first did: nano /etc/apt/sources.list
And added these 2 lines:
deb http://packages.crunchbang.org/waldorf waldorf main
deb-src http://packages.crunchbang.org/waldorf waldorf main
and did: apt-get update
You will get the error: Reading package lists… Done
W: GPG error: http://packages.crunchbang.org waldorf Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 9B7C8627EDFD12C1
To fix this, you just need to download the GPG .key file, and refresh APT again.
wget http://packages.crunchbang.org/statler-dev/crunchbang.key
apt-key add crunchbang.key
apt-get update
Now we can install Compton.
apt-get install compton-git
Thats all there is to it! Thanks for reading 🙂