3 ms·
This is the most convenient way, yes. In the mean time, I'm looking for a Linux utility that can scan QR codes, because I've come across this problem a lot.
by StavrosK 7y ago
This is the most convenient way, yes. In the mean time, I'm looking for a Linux utility that can scan QR codes, because I've come across this problem a lot.
- scrollaway 7y agozbarimg: http://manpages.ubuntu.com/manpages/bionic/man1/zbarimg.1.html http://manpages.ubuntu.com/manpages/bionic/man1/zbarimg.1.ht... 1Password X extension also has a builtin QR Code Scanner.
- StavrosK 7y agoAh, thank you! This works well: import -window root -pause 1 /tmp/zbarqrcodescan.png && zbarimg -q /tmp/zbarqrcodescan.png | xsel -b
- a_plan 7y agoThere are non-complex python libraries on pypi that can be brought to bear on the problem. With some light glue code: https://gist.github.com/iiie/33314479f2d84db9285c4e3e0921de09 https://gist.github.com/iiie/33314479f2d84db9285c4e3e0921de0...