Well, in case you ever wanted to quickly (3 sec) pass a string to your phone, here is how:
- run the script qr-show.sh I list below
- feed the string to it
- scan the QR code with the Barcode Scanner with your phone (get from F-Droid or Play Store)
- easy!
#!/bin/bash -eYou can see a few tools used which of course can be replaced by alternatives:
TEXT=`yad --entry --entry-label='Enter string to encode'`
qrencode -o $TMP/qr.png "$TEXT" &&
eog -ng $TMP/qr.png &
- yad with zenity/gdialog/xdialog/dialog
- eog with geeqie/any other image viewing
- Barcode Scanner with any barcode scanner ))
Комментариев нет:
Отправить комментарий