Blueproximity is a very useful python application, which allows to auto-lock your pc ( starting screensaver or any command/script you prefer) when a given Bluetooth device is out of a custom range.

Actually no Fedora package is present in both official and rpmfusion repo, so I’ve to use ubuntu/debian howto …
In order to get it running you, obviously, have to resolve some dependencies, but a lot of stuff should be already installed for default in your Fedora (i.e. bluez, pygtk), so give a simple:
sudo yum install pybluez pygtk2-libglade python-configobj
should install all dependencies.
So go to project home site here, and download latest release available (actually 1.2.5-unstable) and untar it.
Before to start it, you need to pair your bluetooth device (I used my N95 Mobile Phone), and after that launch it by:
start_proximity.sh
present in program’s folder. Now select your paired device and set a few simple parameters (sensibility is minimum and maximum range for lock & unlock).
If you want to auto-start it on every sessio, simple use Gconf or System->preferences->personals->sessions.

