Skip to main content

Bluetooth proximity automation

Reason this release was yanked:

outdated

Project description

Overview

BlueDo - Bluetooth proximity automation

Logo

Lock your desktop, mute music or run any other command when leaving your PC. There are dozens of apps like this. This one just aims to make it beautiful, modern and easy.

Maturity

Beta

Requirements

sudo apt install python-gi-dev python3-pip python3-dev libgirepository1.0-dev gcc libcairo2-dev pkg-config gir1.2-gtk-3.0 playerctl pip3 install -r requirements.txt --user

Use these system commands:

  • bluetoothctl
  • amixer
  • loginctl
  • playerctl

Only tested on Ubuntu 20.04 with GNOME.

Command line options

  • -e / --enable to start service on app start.
  • -m / --minimize to start minimized

Screenshots

v3_2 v3

System changes

Note that this app will make these changes to your power management:

  • Enable screen lock: org.gnome.desktop.screensaver lock-enabled true
  • Set delay from screen blacking to locking to zero: org.gnome.desktop.screensaver lock-delay 0
  • Set screen saver timeout to 10 seconds when device is away, 5 minutes when device is present: org.gnome.desktop.session idle-delay 600

TODO

  • Check for dependencies on startup
  • Check for bluetooth, disable controls if missing
  • Stop device scanning when minimized
  • Minimize to systray
  • Unit tests

Development docs

  • scan for devices: bluetoothctl devices

  • rssi for device: hcitool rssi ff:ff:ff:ff:ff:ff (unstable)

  • hard locking: lock when no signal

  • soft locking: set screensaver timeout to 1 minute when no signal

Inspiration

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bluedo-0.32.tar.gz (68.6 kB view details)

Uploaded Source

File details

Details for the file bluedo-0.32.tar.gz.

File metadata

  • Download URL: bluedo-0.32.tar.gz
  • Upload date:
  • Size: 68.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.2

File hashes

Hashes for bluedo-0.32.tar.gz
Algorithm Hash digest
SHA256 78d4870f0fe40e6cec266727c706c7adaea9710ce94b4662699234d692e81c3c
MD5 a1de3b0fb8bdbf1241ea1bd4ccf4879c
BLAKE2b-256 2ab65f754a7a7f0dcf7f13e5fc0ae0014c09d77cbf23671b1ceacbc43781c449

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page