How to install Caffeine on Ubuntu 17.04
How to install Caffeine on Ubuntu 17.04
The Caffeine is a simple indicator applet on Ubuntu panel that allows the user to temporarily prevent the activation of the screensaver, screen lock and the powersaving mode. This tutorial explains the installation procedure of Caffeine on Ubuntu 17.04.
Installation procedure
To start the installation procedure, add the repo by executing the following command.
root@linuxhelp1:~# add-apt-repository ppa:eugenesan/ppa
This repository contains collection of customized, updated, ported and backported
packages for two last LTS releases and latest pre-LTS release.
Packages for older releases relocated to ppa:eugenesan/archive or deleted.
+-------------------------------------------------------------------------------------+
| Disclaimer:
+-------------------------------------------------------------------------------------+
* Packages in this a nd related PPAs are for personal use only.
They developed specifically for several custom environments and may not work for you.
* Usage of packages in this PPA, in some forms, might contradict licenses of software
packaged in this and related PPAs. End users and administrator are responsible for
runtime licensing and possible legal consequences.
* Some packages provided with their dependencies while some might require additional
Ubuntu repositories and external PPAs. Below is the list of
+-------------------------------------------------------------------------------------+
| To add this repository, to your Ubuntu installation, invoke:
+-------------------------------------------------------------------------------------+
$ sudo add-apt-repository ppa:eugenesan/ppa
.
.
.
gpg: keyring `/tmp/tmp6jp7grtr/secring.gpg' created
gpg: keyring `/tmp/tmp6jp7grtr/pubring.gpg' created
gpg: requesting key 8313A596 from hkp server keyserver.ubuntu.com
gpg: /tmp/tmp6jp7grtr/trustdb.gpg: trustdb created
gpg: key 8313A596: public key " Launchpad synergy+" imported
gpg: Total number processed: 1
gpg:imported: 1(RSA: 1)
OK
The repositories have been added to the system. Now update the repo using the apt-get update command.
root@linuxhelp1:~# apt-get update
Hit:1 http://in.archive.ubuntu.com/ubuntu xenial InRelease
Get:2 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
Get:3 http://ppa.launchpad.net/eugenesan/ppa/ubuntu xenial InRelease [17.5 kB]
Get:4 http://in.archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
Get:5 http://in.archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB]
Get:6 http://ppa.launchpad.net/eugenesan/ppa/ubuntu xenial/main amd64 Packages [40.6 kB]
Get:7 http://ppa.launchpad.net/eugenesan/ppa/ubuntu xenial/main i386 Packages [40.5 kB]
Get:8 http://ppa.launchpad.net/eugenesan/ppa/ubuntu xenial/main Translation-en [24.7 kB]
Fetched 430 kB in 8s (52.4 kB/s)
Reading package lists... Done
The system is updated with the required repositories. Install the caffeine package and press y to continue with the installation.
root@linuxhelp1:~# apt-get install caffeine -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
python3-xlib
The following NEW packages will be installed:
caffeine python3-xlib
0 upgraded, 2 newly installed, 0 to remove and 8 not upgraded.
Need to get 154 kB of archives.
After this operation, 1,079 kB of additional disk space will be used.
Get:1 http://in.archive.ubuntu.com/ubuntu zesty/universe amd64 python3-xlib all 0.14+20091101-5 [101 kB]
Get:2 http://in.archive.ubuntu.com/ubuntu zesty/universe amd64 caffeine all 2.8.3-3build1 [52.8 kB]
Fetched 154 kB in 4s (37.3 kB/s)
Selecting previously unselected package python3-xlib.
(Reading database ... 205638 files and directories currently installed.)
Preparing to unpack .../python3-xlib_0.14+20091101-5_all.deb ...
Unpacking python3-xlib (0.14+20091101-5) ...
Selecting previously unselected package caffeine.
Preparing to unpack .../caffeine_2.8.3-3build1_all.deb ...
Unpacking caffeine (2.8.3-3build1) ...
Setting up python3-xlib (0.14+20091101-5) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu2) ...
Setting up caffeine (2.8.3-3build1) ...
Processing triggers for bamfdaemon (0.5.3+17.04.20170406-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for man-db (2.7.6.1-2) ...
Processing triggers for gnome-menus (3.13.3-6ubuntu5) ...
Processing triggers for hicolor-icon-theme (0.15-1) ...
For opening the package, type the package name in the Ubuntu dashboard and click on the icon to run the application.
The application is running successfully and now the user can manually control the desktop' s idle state.
For removing the package, execute the following commmand and press y to continue with the uninstallation.
root@linuxhelp1:~# apt-get remove caffeine -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
python3-xlib
Use ' apt autoremove' to remove it.
The following packages will be REMOVED:
caffeine
0 upgraded, 0 newly installed, 1 to remove and 8 not upgraded.
After this operation, 322 kB disk space will be freed.
(Reading database ... 205836 files and directories currently installed.)
Removing caffeine (2.8.3-3build1) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu2) ...
Processing triggers for bamfdaemon (0.5.3+17.04.20170406-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for man-db (2.7.6.1-2) ...
Processing triggers for gnome-menus (3.13.3-6ubuntu5) ...
Processing triggers for hicolor-icon-theme (0.15-1) ...
Wasn' t that an easy installation procedure? Caffeine helps the suer to active and control the desktop idleness manually.
Comments ( 0 )
No comments available