Skip to main content

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 -

Ubuntu Forums Thread -
( 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 (

For Linux on Desktop Blog ,
(C) 2011 , Ambuj Varshney


Popular posts from this blog

Over 16 Small Games For Ubuntu Linux

Over 16 Small Games For Ubuntu Linux

Ubuntu Linux is one of the most popular Linux distribution , it is especially popular among Linux newbies and windows refuges . Now Ubuntu Linux does come with a descent set of applications , still there is a scope for including some more quality applications and especially games . Now in this tutorial i will show you how to install a large number of small , easy and less resource hungry games on Ubuntu Linux with screen-shots of games .

1. Rocks 'n' Diamonds

Rocks 'n' Diamonds is a Boulderd*sh game for X11 with more than just the falling rocks and diamonds of its namesake. The object is still to collect all the diamonds (and emeralds), then get to the exit before time runs out. But your character must make use of bombs, spaceships, and many other elements in order to fill his quota of jewels.

Installation : -

Type the following command in the terminal window


13 Things to do immediately after installing Ubuntu

In this article i describe some of the things to do immediately after installing ubuntu on your machine . Since most of the people reading this would be shifting from Windows to Linux with a system dual booting so i would focus more on making transition easy from Windows to Linux.

Creating Your ultimate Ubuntu 7.10 Desktop

Ubuntu 7.10 Codenamed Gusty Gibbon was released few weeks back with much fanfare ,now Ubuntu for past couple of years has been one of the most popular Desktop Linux distributions . Ubuntu 7.10 includes a number of features , applets and Wizards to simplify desktop Linux experience however because of many licensing restrictions it does not include out of the box support for popular audio/video codecs and many commercial but good applications . Also because of the limitation of trying to accommodate all kind of applications on single CD Ubuntu comes with a limited set of applications .

Now , i often have arguments with my friends who are new to computers that windows is…

Making Music(Beats) on Linux/Ubuntu with Hydrogen

I am going to review a couple of Music Making Softwares for Linux and am starting with the simplest and one of the best!HYDROGEN. Hydrogen basically is a pattern based drum programming software which in layman terms means, it allows you to make your own beats.And in case you aren't much into music, you might be wondering “what the hell will i do with this piece of software”...well here is a word from my friends who've tried this: “Its pretty fun playing with this software, n even without knowing much, you could actually MAKE SUM MUSIC!!!”

There was this software called Acoustica Beatcraft(for windows) which actually introduced me to this beat making stuff and I was quite interested, but sadly it was too costly for me to buy it. So i was stuck using the trial version of the software and sadly as soon as i got the grip of the software the trial expired, and so my search began for software which would do the stuff for me and luckily i found this amazing piece of software HY…