How do I install indicator-keylock?

Solution 1:

indicator-keylock is in Ubuntu universe starting from 14.10.

For 10.04 to 12.04, you can use this PPA:

https://launchpad.net/~tsbarnes/+archive/indicator-keylock/+packages Launchpad logo

There is also a PPA with daily builds containing packages for 12.10

https://launchpad.net/~tsbarnes/+archive/indicator-keylock-daily/+packages Launchpad logo

To install it just do

ppa:tsbarnes/indicator-keylock Launchpad logo (Click here for instructions on using PPAs.)

sudo add-apt-repository ppa:tsbarnes/indicator-keylock && sudo apt-get update
sudo apt-get install indicator-keylock 

or to install the daily build version (currently needed for Ubuntu 12.10 and later):

ppa:tsbarnes/indicator-keylock-daily Launchpad logo (Click here for instructions on using PPAs.)

sudo add-apt-repository ppa:tsbarnes/indicator-keylock-daily && sudo apt-get update
sudo apt-get install indicator-keylock