screen painting ubuntu

C++
sudo apt-get install compizconfig-settings-manager compiz-plugins compiz-plugins-extra

Source

Also in C++: