#1146698 ITP: kblueproximity -- Bluetooth proximity detector for automatic screen lock/unlock

#1146698#5
Date:
2026-09-04 15:56:21 UTC
From:
To:
Package: wnpp
Severity: wishlist
Owner: Marco Faenzi <marco@faenzi.it>
X-Debbugs-Cc: debian-devel@lists.debian.org
* Package name    : kblueproximity
   Version         : 2.2.3
   Upstream Contact: Marco Faenzi <marco@faenzi.it>
* URL             : https://github.com/marcofaenzi/kblueproximity
* License         : GPL-2
   Programming Lang: Python
   Description     : Bluetooth proximity detector for automatic screen
lock/unlock
  KBlueProximity locks and unlocks the desktop based on the proximity of a
  paired Bluetooth device, typically a mobile phone. When the device moves
  beyond a chosen RSSI threshold for a given time the session is locked;
  when it returns, the session is unlocked.
  This Qt6 edition targets Plasma 6 and other desktops that implement
  loginctl and the freedesktop ScreenSaver D-Bus interface.
  BlueProximity was removed from Debian in 2019 (RoQA; Depends on pygtk2,
  dead upstream, #946015). kblueproximity is a maintained fork.

#1146698#12
Date:
2026-09-27 12:56:28 UTC
From:
To:
I'm happy to sponsor kblueproximity, upload it for you etc.

Took a quick look at your prelim packaging, and made some minor
changes. See github.com/barak/kblueproximity where I evicted debian/*
from branch master and put it in a new branch debian/latest, where I
updated some stuff.

Two issues I see before it's ready for prime time.

First, since it is a daemon, it would be appropriate to have a systemd
user system unit for it, so you can just systemctl --user start
kblueproximity or whatever. That's a minor issue though.

Second, a more major one: I'm running Gnome and it doesn't seem to work for me.

$ kblueproximity
Creating new config directory '/home/barak/.kblueproximity'.
Creating new configuration.
Using config file 'standard'.
Traceback (most recent call last):
  File "<frozen runpy>", line 203, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/usr/share/kblueproximity/kblueproximity/__main__.py", line
15, in <module>
    main()
    ~~~~^^
  File "/usr/share/kblueproximity/kblueproximity/__main__.py", line 11, in main
    raise SystemExit(run_app())
                     ~~~~~~~^^
  File "/usr/share/kblueproximity/kblueproximity/ui/app.py", line 552,
in run_app
    p = Proximity(config[1])
  File "/usr/share/kblueproximity/kblueproximity/core.py", line 40, in __init__
    self.logger.configureFromConfig(self.config)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
  File "/usr/share/kblueproximity/kblueproximity/logger.py", line 75,
in configureFromConfig
    self.enable_syslogging(config['log_syslog_facility'])
    ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/kblueproximity/kblueproximity/logger.py", line 30,
in enable_syslogging
    self.syslog_facility = self.getFacilityFromString(facility)
                           ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
  File "/usr/share/kblueproximity/kblueproximity/logger.py", line 27,
in getFacilityFromString
    return log_dict[facility]
           ~~~~~~~~^^^^^^^^^^
KeyError: "'local7'"