Tuesday, June 7, 2011

blueproximity : Lock/unlock Desktop using Bluetooth.

This software helps you add a little more security to your desktop by detecting one of your bluetooth devices, most likely your mobile phone and locks the desktop if the mobile is not in the vicinity. If you move away from your computer and the distance is above a certain level for a given time, it automatically locks your desktop or starts any other shell command that you want.
Once away your computer awaits till you are back with your mobile. If you are nearer than a given level for a set time your computer unlocks magically without any interaction (or starts any other shell command you want).


Command to install:
sudo aptitude install blueproximity

Next you have to configure the Blueproximity options. In lock tab you can add your custom commands.
The upper section refers to the commands that will be executed for the according event. The preset is the command to lock/unlock the screen using the GNOME desktop screensaver. For KDE user you should activate the combobox and select the xscreensaver-command entry. Please note that this will only work with the KDE integrated version of xscreensaver. The original xscreensaver does not include an unlock command. 
The proximity command is a command that is executed every given time while the user is in reach & the screen is unlocked. That way you can e.g. prevent your screensaver from becoming active while you are near.
The lower section refers to logging of locking/unlocking events. The syslog entry allows you to generate a syslog message on every state change coming from the given logfacility and the loglevel notice. You may also additionally or exclusively log to a certain file.
But you can turn your monitor off at the time of lock which will save Electricity when you are away from your computer and switch it on when you return. Using Following Commands to lock&turn off and “unlock & turn On the monitor
Locking Command: gnome-screensaver-command -l && xset dpms force off
Unlocking command: xset dpms force on && gnome-screensaver-command -d
And with this you have finished the basic setup of blueproximity.

Read more here:
http://blueproximity.sourceforge.net/manual.html

0 comments:

Post a Comment