Found a topic about qrcodegenerator at viewtopic.php?t=9700 recently.
I was a little shocked about the download size of about 73M, but i tried it anyway.
It works even on a slackware based s15pup64
So i have thrown together a portable ROX-Application-Directory on afore mentioned s15pup64 using slackware binary and lib and gtk+2.
Looks like this:
quickshot-231010-193108.jpg (28.36 KiB) Viewed 1321 times
The other question would be if there is a linux desktop application to decode qr-code images
I have read about zbar and qtqr, but compiling zbar-tools or running qtqr fails due to many missing dependencies.
If anybody here is able to read qr-code images on a desktop pc, please let me know...
Re: Reading QRCode on Linux desktop?
Posted: Tue Oct 10, 2023 7:15 pm
by Flash
The camera app in my iPhone reads QRCode. Maybe one of the camera apps for Linux can do it.
Re: Reading QRCode on Linux desktop?
Posted: Tue Oct 10, 2023 7:31 pm
by HerrBert
My android phone also has an app for scanning qr-code.
I used it to verify my app is working properly.
I can also use an online decoder like https://webqr.com to decode a qr-code image file.
What i am looking for is an app to decode qr-code image files running on my install of s15pup64.
This of course 'creates' the things. Obviously, a camera is required for reading them.......unless you want summat that'll 'read' the PNG file, THEN decipher the contents once again.
I haven't yet found anything that does this. All in good time, I guess....
(*shrug...*)
Mike.
Re: Reading QRCode on Linux desktop?
Posted: Tue Oct 10, 2023 9:22 pm
by Burunduk
I thought I found a tool but it was for data matrix. So no alternative for zbar so far.
The other question would be if there is a linux desktop application to decode qr-code images
I have read about zbar and qtqr, but compiling zbar-tools or running qtqr fails due to many missing dependencies.
On Fossapup64, zbar-tools can be installed from the PPM. I've downloaded it with the deps (imagemagick again) and converted the debs to a sfs (about 2.5 MB in size).
The zbarimg program throws some errors but works - can read codes from png files.
I seem to remember using one of your portable browsers (probably either Opera or Vivaldi) to create QR codes of webpages. It was an inbuilt function of the browser but I dont recall exactly which browser it was, or if it was able to generate QRs from text other than the page url.
(I suspect it was Vivaldi but will post back if I can confirm this)
Re: Reading QRCode on Linux desktop?
Posted: Wed Oct 11, 2023 7:02 am
by greengeek
I am currently running Fossa9.5 (Mid) and the PPM shows package "qtqr" for generating and decoding QR codes.
Untested yet but am downloading for trial...
Re: Reading QRCode on Linux desktop?
Posted: Wed Oct 11, 2023 2:21 pm
by Burunduk
It's possible to build zbar-0.23.90.tar.gz (from https://github.com/mchehab/zbar/releases) on S15Pup64-22.12 (the one I have is not the latest) - zbarimg works OK.
For the configure script to succeed, I had to install imagemagick-7.1.0_22 (with the dependencies) and fftw-3.3.10 (omitted for some reason) via the PPM.
(By the way, the PPM there is barely usable - it doesn't even show the download/install size.)
It's possible to build zbar-0.23.90.tar.gz (from https://github.com/mchehab/zbar/releases) on S15Pup64-22.12 (the one I have is not the latest) - zbarimg works OK.
For the configure script to succeed, I had to install imagemagick-7.1.0_22 (with the dependencies) and fftw-3.3.10 (omitted for some reason) via the PPM.
(By the way, the PPM there is barely usable - it doesn't even show the download/install size.)
I have zbarimg working using ubuntu and slackware packages - a wild mixture of different repos.
Thank you for pointing to the fossapup repos
Took some two hours to resolve dependencies...
Need to clean up things this weekend and post a "recipe".
The result:
zbarimg.jpg (44.93 KiB) Viewed 1164 times
Note, there is no error at all
The only error i got was Name Error (Connection ":1.13" is not allowed to own the service "org.linuxtv.Zbar" due to security policies in the configuration file), which seems to be related to dbus.
Re: Reading QRCode on Linux desktop? [solved]
Posted: Wed Oct 11, 2023 7:24 pm
by mikewalsh
Along the same lines as @Burunduk , I've been messing around most of today building a package for my own use. This uses a combination of zbar-tools, YAD - for file-selection - and gxmessage for displaying the output somewhere other than in the terminal.
This is QRCodeReader-v0.3-amd64
For the first time in a long while, this is packed as an SFS. It's almost impossible to pack anything to do with ImageMagick in portable format, because the darn thing has files all OVER the place.....and what's more, it expects to find them scattered throughout the file-system in all the 'standard' locations. It doesn't want to find them all together in one place, and from past experience, gets incredibly snotty if you try to do this.
Anyways; here are both QRCodeGenerator-portable AND QRCodeReader "in action":-
Works for me.....and does "exactly what it says on the tin". Which is just what we want, no?
So far; built in Tahrpup64. Works perfectly in jrb's 'lite' spin on Barry's old Quirky April 64 - same generation, y'see - and also runs without issue - for ME - under Xenialpup64 & Bionicpup64. Anyway, it'll give the community another option to choose from. If anybody's interested, y'all can find it here:-
TBH, Flash, they're all offering the option now. Chromium introduced the capability for QR codes around 2-2½ years ago, shortly followed by most of the 'clones'.....and Firefox added the ability some 12-15 months back. (I don't think the right-click option shows in Firefox unless/until it's been specifically toggled 'on' in about:config, though..?)
Mike.
Re: Reading QRCode on Linux desktop? [solved]
Posted: Thu Oct 12, 2023 4:36 pm
by Flash
Yes, I just discovered it in Chromium's right-click menu. I guess it's everywhere now.
I seem to remember using one of your portable browsers (probably either Opera or Vivaldi) to create QR codes of webpages. It was an inbuilt function of the browser but I dont recall exactly which browser it was, or if it was able to generate QRs from text other than the page url.
(I suspect it was Vivaldi but will post back if I can confirm this)
@greengeek Yes, it's Vivaldi and yes it can be used for arbitrary text if you edit the page URL inside the entry box.
Some times I use this method to send text from the browser to my phone. A single QR code can represent a limited number of characters. So I use Vivaldi for short texts, and the attached script for longer ones that need to be spread across multiple images.
The script works in Fatdog64-81x and Fatdog64-90x, untested on others. It requires coreutils, netpbm, and libqrencode. Vivaldi not needed. Script usage: s-qr.sh [FILE...] (stdin supported).
(For Fatdog64 users: coreutils and netpbm are pre-installed; install libqrencode with Gslapt package manager.)
vivaldi-qr-20231013.png (20.4 KiB) Viewed 1021 times
... running qtqr fails due to many missing dependencies.
If anybody here is able to read qr-code images on a desktop pc, please let me know...
Here is a pet and an sfs for running QtQr on Fossa96 generic.
Use at own risk. (ie test first without save file)
(If you have a save file or save folder please always make a backup before testing any pets or sfs)
Main features:
- Can scan QR code from your webcam (either internal or external cam)
- Creates QR codes in various formats eg: text, email, web url, wifi network etc etc
- Can read QR from file
Note: Tested with F96CE generic ie: ootb without anything else added
ie: if you have already added zbar and qrencode stuff then you may wish to leave out some of the contents of the pet or sfs if you like...
Screenshot.png (30.31 KiB) Viewed 982 times
.
Format options:
FormatOptions.png (34.65 KiB) Viewed 982 times
Re: Reading QRCode on Linux desktop? [solved]
Posted: Sun Oct 15, 2023 4:24 pm
by rockedge
@greengeek Thanks!! I downloaded the SFS version and added it to a HDD location and then in F96-CE_4 used SFS-Load to install it.
Works great.
puppyforumlink.png (2.12 KiB) Viewed 937 times
Re: Reading QRCode on Linux desktop? [solved]
Posted: Sat Oct 21, 2023 4:45 pm
by HerrBert
Today i scanned a document and ran it thru gocr and stumbled upon gocr's capability of detecting barcode - respectively qr-code...
Makes things easier, because gocr can be downloaded via PPM in s15pup64 and has no further dependencies.