QR Code Reader?

Hi glorious folks,

Opened the Manjaro menu today and typed ‘QR’ in the hope of being able to harness the front camera to read a URL/text and to my surprise I didn’t see anything appear.

A FOSS QR Code reader exists, but I’m wondering if this is something that others might like in Manjaro, as a default application in the more full-featured ISOs?

You can use CoBang. The app is in AUR.

https://aur.archlinux.org/packages/cobang

1 Like

I don’t think it would be good as a default app, as it only works on computers with a camera.

2 Likes

Thanks Tomek. Surprised there’s no app in the extra or community repos but this could be the one for me :slight_smile:

Makes sense. I assumed most laptops today ship with a camera? PC obviously no, but I was wondering today whether every 2nd FOSS PC user has a webcam for Jitsiing or whatnot. Maybe not.

Could be something for future study/understanding.

EDIT: Supposedly the main issue would be that drivers for the camera would need to be included which might bother some of folk, too. Maybe a choice during the install process? Similar to the choice for LibreOffice or whatnot.

What are you hoping to achieve?

QR codes are meant as means of not having to type the address so I can’t really se the usage for a laptop or a workstation.

On pinephone there is a use case the qtqr package can be installed

1 Like

Package qtqr in Manjaro community repository can decode QR codes from image file or from webcam
but I do not have a webcam confirm that function works

I don’t have much need to decode QR codes so usually use online service ZXing Decoder Online rather than installing an extra package

Thanks both of you,

Judging by the 124 views versus the 3 likes I’m going to assume that at this stage there’s no appetite for QR code reading and possibly, even the technology for reading QR codes is, can we say, “held at arm’s length” at the present time.

Maybe that’ll change.


To answer your question …

I just like it as a basic copy/paste between computers. It also complains if you give it non-ascii characters, a sort-of feature in some respects. :wink:

QR codes are certainly useful - no doubt about that.

In my primary project for at client we use QR codes on lists generated to create easy access to various documentation on chemical products such as usage instructions and risk assessment.

Sample

image

The QR codes - when scanned - provides the requested document generated on demand from a database directly to the end-user’s phone or tablet.

If I understand you correct you seek some similar functionality - perhaps the link is used to save the file to the device scanning the link?

There is a couple of python packages available

$ pamac search --no-aur qrcode
python-qrcode                                                                                   7.3.1-1  community 
    Python library to generate QR codes
python-pyqrcode                                                                                 1.2.1-5  community 
    QR code generator written purely in Python with SVG, EPS, PNG and terminal output

Install the python-qrcode package, then - in terminal - run

qr https://forum.manjaro.org/t/qr-code-reader/108166/8
Konsole output of qr command

and scan the result with your phone or supply a destination

qr https://forum.manjaro.org/t/qr-code-reader/108166/8 --output=qr-manjaro.png || firefox qr-manjaro.png
Image from qr command

qr-manjaro

2 Likes

Nice example! It looks like a good QR code generator. Does it handle different error correction levels? ie. the more error correction the larger an icon you can place over the top of a QR Code.

Keep in mind it was a QR Code Reader (and admittedly generator) that was of interest in my OP also. :slight_smile:

There is no need for qr reader on a desktop nor a laptop - so a feature request for such thing makes no sense.

A generator on the other hand has more use - but as demonstrated - such thng already exist.

If you want to know more - read the docs.

1 Like

It can be useful to check a code with one’s webcam.
Or from one’s image files.

To generate QR & barcodes : zint

Just be careful on which standard.

1 Like

There’s also decoder in the AUR (Arch User Repository) designed for GNOME:

1 Like