Showing posts with label caffeine. Show all posts
Showing posts with label caffeine. Show all posts

Tuesday, October 20, 2015

Screensaver / Lock Screen Inhibitor `Caffeine Plus` Brings Back The Screensaver Toggle Option

Caffeine is a tool used to temporarily prevent the activation of the screensaver / lock screen / sleep mode when using full-screen windows. The application is useful when using video players that don't do this automatically, when listening to music while not using the computer, etc.

Caffeine Plus AppIndicator

The latest Caffeine version (2.7.x), released back in May, no longer comes with an Ubuntu AppIndicator so you can't manually toggle it on/off any more, feature which was considered pretty important by many of its users. If you're one of them, you can now use Caffeine Plus, a Caffeine 2.7 fork which restores the Ubuntu AppIndicator icon, allowing you to manually toggle it on/off.

Like the original Caffeine, the fork also inhibits the screensaver / lock screen automatically if it detects a full-screen window.

Update: with the 2.8 release, the original Caffeine got its indicator back!

Install Caffeine Plus in Ubuntu 14.04 or 14.10


Since I couldn't find Caffeine Plus in any PPA, I uploaded it to the main failsdownloads PPA for Ubuntu 14.04 or 14.10 (if you use Ubuntu 12.04, use the original Caffeine application). Note that by installing Caffeine Plus, the original Caffeine package will be removed automatically.

To add the PPA and install Caffeine Plus in Ubuntu 14.04, use the commands below in a terminal:
sudo add-apt-repository ppa:nilarimogard/failsdownloads
sudo apt-get update
sudo apt-get install caffeine-plus
If you don't want to add the PPA, grab the Caffeine Plus deb from HERE.

Thanks to Willi for the tip!
Read more »

Friday, October 16, 2015

`Caffeine` App Gets Its Indicator Back With New 2.8 Release

Caffeine is a tool used to temporarily prevent the activation of the screensaver / lock screen / sleep mode when using full-screen windows. The application is useful when using video players that don't do this automatically, when listening to music while not using the computer, etc.

With the 2.7.x release, Caffeine stopped using an Ubuntu AppIndicator, a feature that many considered essential, resulting in various forks being developed. 

Caffeine indicator

Well, there's no need for that any more because the latest Caffeine 2.8, released today, brings back the Ubuntu AppIndicator, which allows to inhibit the desktop idleness manually. You can continue to use Caffeine without an indicator: simply launch "Caffeine" from the menu / Dash. If you want to use the indicator, launch "Caffeine Indicator" instead:


Caffeine 2.8 also brings some fixes which should get the app to work with most desktop environments again (2.7 only worked in a few, according to the Caffeine developers) as well as a new feature: a new command called "caffeinate" which adds the ability to inhibit desktop idleness for the duration of a particular command - to use it, simply type:
caffeinate COMMAND
and Caffeine won't allow the desktop to become idle for the duration of "COMMAND".


Install Caffeine 2.8


The official Caffeine PPA was updated with the latest Caffeine 2.8 only for Ubuntu 14.04 / Linux Mint 17 and 17.1 and derivatives. To add the PPA and install Caffeine 2.8, use the following commands:
sudo add-apt-repository ppa:caffeine-developers/ppa
sudo apt-get update
sudo apt-get install caffeine

Ubuntu 14.10 and 15.04: you can grab the Caffeine 2.8 deb from HERE. Note: make sure that libappindicator3-1 and gir1.2-appindicator3-0.1 are installed ("sudo apt-get install libappindicator3-1 gir1.2-appindicator3-0.1") because the package is currently missing these dependencies and the Caffeine indicator will fail to start without them (I reported the bug HERE).

Ubuntu 12.04: Unfortunately, Caffeine 2.8 doesn't work in Ubuntu 12.04. However, you can use the PPA above to install an older version (2.4.1).

If you're not using Ubuntu / Linux Mint and derivatives, you can download the Caffeine source code via Launchpad (BZR).

Important note: Caffeine is set to start automatically on login, but only the command line version so if you want to start the indicator on login, you'll have to add "caffeine-indicator" to your startup applications.

Report any bugs you may find @ Launchpad.
Read more »