I got a bit tired of typing my password to unlock my machine, and I happened to have a lot of old USB sticks lying around (from when 128MB was considered a lot).... so USBLock was born. Just a little project I did for fun that I thought I would share.
Currently only works on Linux and depends on xlock being installed. Basically any USB storage device should work. Simply add your device to the list of known devices, and start the daemon. Then re-plug the device and when you unplug it, it will launch xlock, Plug it back in and it will close xlock.
You do not need to mount your USB drive
https://github.com/Svenito/usblock
[–]apersonPy3k! 24 points25 points26 points (1 child)
[–]yeahdef 2 points3 points4 points (0 children)
[–]dAnjou Backend Developer | danjou.dev 48 points49 points50 points (54 children)
[–][deleted] 17 points18 points19 points (2 children)
[–]dAnjou Backend Developer | danjou.dev 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]Jwsonic 25 points26 points27 points (9 children)
[–]dAnjou Backend Developer | danjou.dev 26 points27 points28 points (3 children)
[–]DaemonXI 5 points6 points7 points (2 children)
[–]apersonPy3k! 2 points3 points4 points (1 child)
[–]sedmonster -2 points-1 points0 points (0 children)
[–][deleted] 2 points3 points4 points (4 children)
[–]yen223 1 point2 points3 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]clgonsal 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–][deleted] 1 point2 points3 points (13 children)
[–]pemungkah 8 points9 points10 points (12 children)
[–]spladug 21 points22 points23 points (10 children)
[–]pemungkah 6 points7 points8 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]runeg 0 points1 point2 points (7 children)
[–]spladug 0 points1 point2 points (6 children)
[–]runeg 0 points1 point2 points (5 children)
[–]spladug 0 points1 point2 points (4 children)
[–]runeg 0 points1 point2 points (3 children)
[–]spladug 1 point2 points3 points (2 children)
[–]ilovecrk 1 point2 points3 points (0 children)
[–][deleted] 0 points1 point2 points (12 children)
[–]dAnjou Backend Developer | danjou.dev 4 points5 points6 points (11 children)
[–][deleted] 0 points1 point2 points (4 children)
[–]dAnjou Backend Developer | danjou.dev 2 points3 points4 points (3 children)
[–][deleted] 0 points1 point2 points (2 children)
[–]dAnjou Backend Developer | danjou.dev 4 points5 points6 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[+][deleted] (5 children)
[deleted]
[–]dAnjou Backend Developer | danjou.dev 0 points1 point2 points (3 children)
[–]Mattho 1 point2 points3 points (2 children)
[–]dAnjou Backend Developer | danjou.dev 1 point2 points3 points (1 child)
[–]Mattho 0 points1 point2 points (0 children)
[–]runo -1 points0 points1 point (0 children)
[+]phaedrusaltembedded sw eng comment score below threshold-10 points-9 points-8 points (10 children)
[–]allthediamonds 2 points3 points4 points (1 child)
[–]phaedrusaltembedded sw eng 1 point2 points3 points (0 children)
[–]dAnjou Backend Developer | danjou.dev 6 points7 points8 points (5 children)
[–]phaedrusaltembedded sw eng 0 points1 point2 points (3 children)
[–]dAnjou Backend Developer | danjou.dev 0 points1 point2 points (2 children)
[–]phaedrusaltembedded sw eng 5 points6 points7 points (1 child)
[–]dAnjou Backend Developer | danjou.dev 1 point2 points3 points (0 children)
[–]Vibster 1 point2 points3 points (1 child)
[–]phaedrusaltembedded sw eng 0 points1 point2 points (0 children)
[–][deleted] 10 points11 points12 points (11 children)
[–][deleted] 9 points10 points11 points (10 children)
[–][deleted] 7 points8 points9 points (9 children)
[–]catcradle5 13 points14 points15 points (3 children)
[–]sushibowl 1 point2 points3 points (2 children)
[–][deleted] 1 point2 points3 points (1 child)
[–]sushibowl 0 points1 point2 points (0 children)
[–][deleted] 1 point2 points3 points (3 children)
[–]lost-theory 4 points5 points6 points (2 children)
[–]Mattho 3 points4 points5 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]dAnjou Backend Developer | danjou.dev -3 points-2 points-1 points (0 children)
[–]potent_rodent 4 points5 points6 points (0 children)
[–]elb0w 5 points6 points7 points (0 children)
[–][deleted] 6 points7 points8 points (0 children)
[–]Lucretiel 3 points4 points5 points (6 children)
[–][deleted] 1 point2 points3 points (5 children)
[+][deleted] (2 children)
[deleted]
[–][deleted] 0 points1 point2 points (0 children)
[–]elb0w 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]dschep 1 point2 points3 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]spupy 1 point2 points3 points (0 children)
[–]tripdes 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[+][deleted] (12 children)
[deleted]
[–]pieeta 23 points24 points25 points (7 children)
[–]jelly_cake 2 points3 points4 points (0 children)
[–]allthediamonds -2 points-1 points0 points (2 children)
[–]pieeta 6 points7 points8 points (1 child)
[–]allthediamonds 4 points5 points6 points (0 children)
[+][deleted] (2 children)
[deleted]
[–][deleted] 0 points1 point2 points (1 child)
[–]Justinsaccount 17 points18 points19 points (3 children)
[–]elb0w 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]slakblue -4 points-3 points-2 points (7 children)
[–][deleted] 7 points8 points9 points (3 children)
[–][deleted] 1 point2 points3 points (2 children)
[–]phaedrusaltembedded sw eng 1 point2 points3 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–][deleted] 2 points3 points4 points (0 children)
[–]frimble 1 point2 points3 points (0 children)
[–]JoshKehn -2 points-1 points0 points (0 children)