- Bluetooth Screen Lock 4+
- Does what I want
- yes, it works… but
- App Privacy
- Saved searches
- Use saved searches to filter your results more quickly
- License
- odrinari/Linux-screen-lock-with-MiBand-and-other-bluetooth-watches
- Name already in use
- Sign In Required
- Launching GitHub Desktop
- Launching GitHub Desktop
- Launching Xcode
- Launching Visual Studio Code
- Latest commit
- Git stats
- Files
- README.md
- About
- How to Lock Your Computer With Bluetooth Proximity Lock Utility
- Automatically lock/unlock your screen by Bluetooth device proximity
- Installing and configuring Blueproximity
- Common locking/unlocking commands
- Gnome
Bluetooth Screen Lock 4+
Out of all of the options for Bluetooth locking apps, this is the best one, but that’s not saying much.
This app does work after going through hoops of manually pairing my iphone with the computer’s bluetooth. This is not ideal, as technically you’re not supposed to need to pair your iphone with your mac. In addition, when the normal «in range» indicator is used as the reviewer «wsdr» specifies, my computer, running Catalina, never locks.
As such, this app is now a poor fit for my Mac and will be uninstalled — refund requested.
Does what I want
I’m fairly happy about this — I haven’t had any issues, and it works. I, too, wonder where the “Screensaver” option in the preferences shown in the screenshots are, but that’s fairly minor.
The only other minor quibble that I have is that I don’t quite trust it as yet. It’s not completely clear how closely it tracks my iPhone 5; it’s kind of hard to test it out given that you can’t see the signal strength while you’re testing. I haven’t had it not lock, but it’s like getting to the point where you trust the refrigerator light is always out when you close the door — until the mechanism is clear, you wonder. Also, the signal strength display appears to update rapidly (good) but I wonder whether there’s any load on the phone battery from the Bluetooth activity.
These are minor, however, and it’s a great value — so I do recommend it.
yes, it works… but
I had the same issue of this seemingly not working with my iPhone on my first try. Immediately after installing the app, I paired my iPhone 4S, but the app never «saw» it. I tried fiddling with the settings, etc., to no avail. I was about to write a «ditto» review, but decided to give it another try. I Quit the App and reopened it, then went to the preferences again — it immediately indicated it saw my phone. So I took my phone and walked away and my computer beeped (system alert) at me. It seems to work as advertised.
1) iPhones MUST use the «In range» option, because they don’t actually pair with your Mac (and don’t need to be paired for this to work). Pairing is for devices that can support the signal strength mode (iPhones do not).
2) If you leave your iPhone in the other room, turn your iPhone off, or turn off Bluetooth, this will lock your screen every 30 seconds or so — so you have to quit the app if you don’t have your phone nearby. They should make it so that if you awaken the computer without detecting your phone, it won’t reactivate until it sees your phone again.
App Privacy
The developer, Chris Vallis , has not provided details about its privacy practices and handling of data to Apple.
Saved searches
Use saved searches to filter your results more quickly
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.
Linux screen lock with MiBand and other bluetooth watches
License
odrinari/Linux-screen-lock-with-MiBand-and-other-bluetooth-watches
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Sign In Required
Please sign in to use Codespaces.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching Xcode
If nothing happens, download Xcode and try again.
Launching Visual Studio Code
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
Latest commit
Git stats
Files
Failed to load latest commit information.
README.md
Linux screen lock with MiBand
This application uses bluetooth and mac address of your MiBand or other wearable watch to lock or unlock screen of the Linux operating system when you leave or return to the computer. You can use a small guide on YouTube to install this package!
Link to a youtube video with an example of installation and operation https://youtu.be/CxZC94-KWyc
- Enter the MAC address of your BLE device
- Save and run the btunlock -d process via the console (this is a daemon process, if desired, it will work on the background constantly)
- Experiment with incoming values at certain distances between the device and the computer
- Tick the desired operating modes
- Set the thresholds and save the configuration
- If you have entered new values restart the process btunlock -d
- the process starts automatically after logout and reboot with saved settings
You can find it in the Mi Fit app. To do this, go to the MiFit app, then to Profiles > Mi Bank > Bluetooth Address
About
Linux screen lock with MiBand and other bluetooth watches
How to Lock Your Computer With Bluetooth Proximity Lock Utility
Note: If you’re using Windows 10, you should consider setting up Dynamic Lock instead.
I need to lock my Windows desktop screen at work every time I walk away from my computer. What do I normally do? I hit Control + ALT + Delete and lock my screen and sometimes I hit the Windows key + L but they still require some interaction with the computer.
But what if I wanted something a little more automated?
Well, we have covered uses for Bluetooth on MakeUseOf before but never as a digital key! When I found a little freeware application on SourceForge called Bluetooth Proximity Lock Utility — I fell in love!
What it does is quite simple and ingenious. It is a proximity access system that pairs up and connects to a Bluetooth device you keep with you at all times. This can be a phone, a headset or pretty much anything that you can pair up with your computer. I would be interested in finding some sort of Bluetooth rechargable card I could keep in my wallet if anyone knows of any!
Then when your computer loses the Bluetooth signal from your device it assumes you have moved away from the machine and locks it up! The application is 201KB making it very small and easy to use on any system with Bluetooth.
To start, we will need to download the application here. Grab the latest file with the .exe ending on it. You can check out the projects page here as well. It will install rather quickly and when it is complete you will have a new start menu item called BTProx. Once you run it you will see a minimalistic console that looks like this:
Click the three dots next to the Used device field. This will start your machine looking for a Bluetooth device to use as your digital key. If you see the following error, make sure your Bluetooth is turned on. The device needs to be paired with your computer prior to clicking on the three dots or you will see the same error message below:
Once you see your device in the list simply select it and click OK. That will take us back to the same screen we were on before but our device will now be listed next to the used device field like so:
You will also see a few more options listed in the main window including timeout, lock command, release command and a check box for don’t lock , only run the command.
The timeout field is VERY important for the sheer fact that if you leave this at the default you can be away from your computer for 4 minutes and 59 seconds before your screen locks! I chose 15 seconds and dealt with it if I walked away to retrieve a fax or something else that I needed to walk away for. This is security at its best.
The lock command option allows you to choose a command such as a batch file or Perl script to run when you lose the connection with your Bluetooth device. The release command does the opposite and runs a command when you come back into range (well at least when your device comes back into range!)
You should see the text that says Device in range at the bottom of your Bluetooth proximity lock screen. When your device comes within range and is connected you will see this icon in your taskbar like so:
And as you leave the range it will turn red, wait for your timeout period and then lock your workstation.
I am sure some of our clever MakeUseOf readers can come up with some clever uses for the lock and release commands. Are you using this or another proximity access system that automatically locks your workstation or servers as you move away from them? We would love to hear about them in the comments.
Automatically lock/unlock your screen by Bluetooth device proximity
One of the most basic and common security measures that you can adopt in your working environment is to protect your computer by automatically locking the screen after a certain period of inactivity, so that it is necessary to enter a password to unlock. But there is a more effective way, and that is to configure your Linux machine so that the distance or proximity of a Bluetooth device you own, for example your cell phone or a smartwatch, automatically causes locking or unlocking the screen without having to enter any password on keyboard.
In an ideal world you would always remember to lock the screen when you leave your workplace to prevent another person from manipulating your computer during your absence. However, sometimes it will happen that you will neglect and forget to do so, compromising your information security. But even though you always remember to lock the screen, unlocking it regularly over and over again in the presence of other people or in uncontrolled environments is also a major security risk, as you will be exposing your password every time you type it, either because someone next to you sees you writing it or because a surveillance camera records the password you enter on your keyboard.
Thus, with the solution I propose here you will minimize both risks: forgetting about manually lock the screen and exposing your password every time you type it.
Installing and configuring Blueproximity
Blueproximity is an application that constantly monitors signal strength of a Bluetooth device linked to your computer, so that if you move away from your workplace carrying your smartphone and the signal strength falls below a given threshold for a given period of time (both parameters can be configured as you like), a command of your choice will run, normally one whose purpose is to lock the screen. Otherwise, when the signal level recovers because you get closer to the computer, the screen unlock command will be executed without you having to do anything.
Installing Blueproximity application is very easy because there are packages available for main Linux distributions and they can be installed in the usual way:
~$ sudo apt-get install blueproximity
~$ sudo yum install blueproximity
~$ sudo yaourt -S blueproximity –noconfirm
Common locking/unlocking commands
Once installed the blueproximity package you will have to proceed to link your Bluetooth device to your computer, configure the thresholds for the signal strength level and set the locking and unlocking commands that best fit your desktop environment and the goals you want to achieve.
Blueproximity preferences: pairing devices
BlueProximity preferences: proximity details
BlueProximity preferences: locking/unlocking commands
Next follow up the most common locking/unlocking commands according to the graphical environment you work with. The third command in the configuration dialog box (Proximity command) runs periodically according to the selected time interval as long as your Bluetooth device is within range. This can be used to run a command that simulates user activity so that the session will never be locked even if there is no user activity but you are nearby. You can use here just the same command as for unlocking.
Gnome
Blueproximity is originally a Gnome application, so by default it will be configured with the following commands:
gnome-screensaver-command -l
gnome-screensaver-command -d