For a built-in solution, see: Tails: How to generate a qr code
This python script generates a QR code image from user-specified input.
Usage:
Download the script and save it to a persistent directory.
Open the terminal in the directory
Run the script with:
python qrcodegen.py text_here
The QR code will be saved in qr.svg
. Open this file in an image viewer.