QR code error handling for Linux