Hello Linux Geeksters. As you may know, Caffeine is an interesting app that prevents your computer from going to sleep when some programs are running. From a simple and intuitive GUI, the user creates a list of applications that forbid the computer to sleep, when the specified apps are running.
This is very good when you are watching movies or listening to music and you don’t need your computer to go to sleep. The latest version available is Caffeine 2.4.1.
In this article I will show you how to install Caffeine 2.4.1 on Ubuntu 13.10 Saucy Salamander, Ubuntu 13.04 Raring Ringtail, Ubuntu 12.10 Quantal Quetzal, Ubuntu 12.04 Precise Pangolin, Linux Mint 16 Petra Linux Mint 15 Olivia, Linux Mint 14 Nadia, Linux Mint 13 Maya, Elementary OS 0.2 Luna and Pear OS 8.
There is no Caffeine repository available for Ubuntu 13.10 Saucy Salamander and Linux Mint 16 Petra, but we can easily download the deb package and install it with dpkg. Like this:
$ wget -c https://launchpad.net/caffeine/2.4/2.4.1/+download/caffeine_2.4.1%2B419%7Eoneiric1_all.deb
$ sudo dpkg -i caffeine_2.4.1*_all.deb
$ sudo apt-get install -f
Because it is available via PPA, installing Caffeine 2.4.1 on Ubuntu 13.04/12.10/12.04, Linux Mint 15/14/13, Elementary OS 0.2 and Pear OS 8 is easy. All you have to do is add the ppa to your system, update the local repository index and install the caffeine package. Like this:
$ sudo add-apt-repository ppa:caffeine-developers/caffeine-dev
$ sudo apt-get update
$ sudo apt-get install caffeine