By Unknown

Caffeine: Disable Screensaver

Caffeine is a system applet which allows users to disable the screensaver and sleep mode when watching long videos or playing games. It has an intuitive preference pane which allows you to (a) start on login and (b) add programs to trigger Caffeine.
To activate Caffeine manually, simply click on the panel icon, and select "disable screensaver" from the list of options.
To install Caffeine, paste the following into the terminal:
sudo add-apt-repository ppa:caffeine-developers/ppa
sudo apt-get update
sudo apt-get install caffeine
At this point, you will also notice that the applet icon looks horrible in the elementary panel. To change that, download the following icons, unzip, and merge into the elementary icon theme. To merge, you must open pantheon-files with root access by typing the following into slingshot:
gksudo pantheon-files
Enter your password, and navigate to:
/usr/share/icons/elementary/
Drag the status folder into the elementary icon folder. When prompted, select "Merge."
Of course, no mention of Caffeine can be made without referencing the following xkcd comic.