January 13, 2015
lock/unlock screen using nfc tag and nfc-eventd
UPDATE 2020-04-03
Updating for Ubuntu Focal Fossa 20.04
Instead of having 2 factor auth like in my last blog post, i’d like to lock my screen when leaving the workstation (and take my tag) and unlock when i’m back.
compile and install Checkout source code and create a debian package for further automated distribution.
docker run --rm -it -v /tmp/:/host --tmpfs /buildroot:exec -w /buildroot ubuntu:focal bash apt-get update apt-get install dpkg-dev git-core libnfc-dev autoconf libtool pkg-config debhelper libdbus-1-dev libdbus-glib-1-dev -y git clone --depth 1 https://github.com/nfc-tools/nfc-eventd Now we need to adjust some requirements for libraries if we’re using Ubuntu as the debian control file requires libnfc2 (>= 1.5.0) which is not present in Ubuntu. Instead it’s called libnfc5.
Read more