Decode QR code on screen, or encode a string then echo QR code on terminal, on Linux.
Run qrshot
in terminal, use mouse to select QR code area on screen.
$ qrshot "Sample string"
- scrot - screen capturer
- zbar - image QR decoder
- qrencode - QR encoder