Caffeine is a program that disables power managment settings while some applications are active. In my case I use it to prevent the monitor from going black while whatching movies. More information about this program here.
Adding Caffeine repositories:
Open as root the file /etc/apt/sources.list. In my case im using the text editor kwrite, replace "kwrite" with your text editor:
Code: Select all
sudo kwrite /etc/apt/sources.list
At the end of the file append this lines*:
Code: Select all
deb http://ppa.launchpad.net/caffeine-developers/ppa/ubuntu precise main
deb-src http://ppa.launchpad.net/caffeine-developers/ppa/ubuntu precise main
Code: Select all
apt-get update
Manually installing "python-central"
Usually apt-get handles all the dependencies but in my case apt-get could not install this one on his own so I had to manually install it. Download the package from here:
https://packages.debian.org/wheezy/python-central
Install the package using the command [1]:
Code: Select all
dpkg -i package_name.deb
Code: Select all
dpkg -i python-central_0.6.17_all.deb
Install Caffeine:
Finally we get to install Caffeine:
Code: Select all
apt-get install caffeine
[1] http://www.cyberciti.biz/faq/ubuntu-lin ... -packages/
NOTE: I'm far from being an expert in linux so if anyone notices something that I might be doing terribly wrong I would be very pleased if you could point it out.