Select Page

Caffeine doesn’t work on Ubuntu

by | 15 March 2017 | Linux | 3 comments

I tried to use Caffeine – a simple app which prevents running screen saver and locking display. I installed it from the Software Center but it didn’t work. The display always locks even when Caffeine was active.


First make sure you removed all other installed Caffeine apps:

sudo apt-get remove caffeine --purge
sudo add-apt-repository --remove ppa:caffeine-developers/ppa
sudo add-apt-repository --remove ppa:behda/ppa

Now you can install Caffeine which will work on Ubuntu:

sudo add-apt-repository ppa:kzar/caffeine
sudo apt-get update && sudo apt-get install caffeine

We added new repository and installed application. Now you can run this app simply type in terminal:


That’s all! Now when you want to prevent lock the screen just click Enable in the Caffeine menu (in the notification area).



Follow us