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

6 comments:

  1. I have seen fantastic blogs and I have seen not so fantastic blogs. This blog is very informative in many ways and certainloy ranks in the former category. Really appreciate the information your providing use avid readers! http://scarprin.ws/

    ReplyDelete
  2. I think I will become a great follower.Just want to say your article is striking. The clarity in your post is simply striking and i can take for granted you are an expert on this subject.
    http://celabright.biz

    ReplyDelete
  3. have never thought that surfing online can be so much beneficial and having found your blog I feel really happy and grateful for providing me with such priceless information.
    http://www.fadeplex.com

    ReplyDelete
  4. This blog post is excellent probably because of how well the subject was developped. I like some of the comments too though I would prefer we all stay on the suject in order add value to the subject!
    Garden Furniture

    ReplyDelete
  5. I'm the same way I do my best to remain neutral. It's hard if you communicate with the person the other person dislikes then you fall out of favor with them! I simple can't dislike a person just because someone else does I just can't.

    best supplement for weight loss

    ReplyDelete
  6. Substantially the article is really the best on this laudable topic. I concur with your conclusions and will eagerly look forward to your future updates.Just saying thank you will not just be enough for the wonderful lucidity in your writing.
    Home Buyer San Antonio

    ReplyDelete