BlueProximity : Awesome application to lock screen as you leave Computer

I spend most of my time in Embedded Systems and Wireless Sensor Network lab of the university where I am studying, there are many research engineers as well as Phd students there who work there, as well as assistant, it is a collaborative environment and frequently I move in and out of the lab and for privacy I keep my screen locked when I leave desk. This sometimes gets very irritating, having to lock screen, type in password to unlock as you come back to terminal, I often thought tool like the ones we use to change presentation could be very useful to lock/unlock screen remotely as you leave Desk.

BlueProximity is ideal tool for such scenarios, BlueProximity is a very neat, clever little application available for Ubuntu and other GNU/Linux operating systems,that allows you to lock screen as you ( carrying Mobile Phone which is paired to your Linux machine) move certain meters away from the terminal for a duration of time, and unlocks it automatically as you( with the Mobile Phone) come back within range of the computer. As the name suggests, Blueproximity talks to Phone through Bluetooth.

BlueProximity is available in the Ubuntu repositories and could be installed very easily by issuing the following command in the Terminal Window :
sudo apt-get install blueproximity
This should install blueproximity , you can launch blueproximity from (Applications -> Accessories -> BlueProximity ).

Caution : You would need to have bluez or the Linux bluetooth stack to be installed on your computer before (if it is not already), you can do so by issuing the command sudo apt-get install bluez

Once you have installed blueproximity, first you need to pair your bluetooth device which is your Phone with BlueProximity, so that it can communicate with device and find out its distance from the computer.


Ye! BlueProximity detected my Bluetooth enabled phone.

Once you have paired your phone with BlueProximity, you need to configure the distance phone should go out of reach of radio on Laptop before blueproximity locks, the duration as well as the range within which phone has to come back for blueproximity to unlock the computer screen. This can be done through options presented under ProximityDetails tab.

Lock and Unlocking distances.

Blueproximity locks screen by calling gnome-screensaver with different parameters when phone goes out of range, however, if you want, you can call different application as well, I can think of some really creative choice(s) of application there!

Application to call when phone goes out or within range, notice option to log all the events.

Now, you are ready to test this, take your mobile phone and move some distance away from the computer, your computer should lock screen and as you approach laptop again, the screen should be unlocked.

Overall, this is a pretty neat and simple application which could be immensely useful for some people, though the only problem I have with use BlueProximity is, keeping Bluetooth on, on my old laptop or a old Nokia phone is going to drain battery and this is a serious drawback, though still it is very useful.

Useful links -

Blueproximity sourceforge page - http://sourceforge.net/projects/blueproximity/

Ubuntu Forums Thread - http://ubuntuforums.org/showthread.php?t=702372
( This could be useful if you run into trouble with blueproximity, this could be ideal source to ask question as well in case of problem in using blueproximity)



Article Written by : Ambuj Varshney (blogambuj@gmail.com)

For Linux on Desktop Blog , http://linuxondesktop.blogspot.com
(C) 2011 , Ambuj Varshney

0 Comments