Re: [Trisquel-users] Front end for qrencode

2014-05-19 Thread mikko . viinamaki
In kinda sorta related news, here's my super lame QR decoder one liner. It takes a screenshot and looks for a qr code (actually for many bar code formats) and then spits the results in a zenity window. Dependencies: scrot, zbar-tools, zenity. scrot /tmp/scrot_'%s.png' -e 'zbarimg -q $f|sed

Re: [Trisquel-users] Front end for qrencode

2014-05-19 Thread gramex
I got all the bugs worked out that I am aware of. Here's version 1.0! Direct download: http://7gfc2nsa8z.1fichier.com or http://v.gd/qk3ROf GitHub repo: https://github.com/ssdclickofdeath/qrgui

Re: [Trisquel-users] Front end for qrencode

2014-03-11 Thread gramex
I didn't know that it would be this hard to debug a shell script program like this, and I'm not planning on learning more shell-scripting language, so I am abandoning this project, probably forever. I am posting my final version here; anyone should feel free to modify or complete it. See

Re: [Trisquel-users] Front end for qrencode

2013-12-31 Thread gnuser
I just wanted to thank ssdclickofdeath, for the work he has done here. While it might be a simple thing, just a frontend or a little gui for an application, the truth is, everyone here talks a lot about free software but it's so rare to see actual development taking place! You know like... a

Re: [Trisquel-users] Front end for qrencode

2013-12-27 Thread gramex
I'm trying to upload qrgui to Gitorious, but when I enter this in the terminal: x@Inspiron-Libre:~/git/qrgui$ git push -u origin master I get this error: Read from socket failed: Connection reset by peer fatal: The remote end hung up unexpectedly I checked, and Git is trying to connect to

Re: [Trisquel-users] Front end for qrencode

2013-12-23 Thread gramex
If I run this, the dialog boxes pop up and work, but nothing gets saved. The script ends with this message: ./qrgui: line 21: (I'm not copying the script line for line; it means the line with qrencode on it.) qrencode: command not found. I know that qrencode is installed; I just used it on

Re: [Trisquel-users] Front end for qrencode

2013-12-23 Thread george . standish
I'd try supplying the full path to qrencode

Re: [Trisquel-users] Front end for qrencode

2013-12-23 Thread gramex
It works now. I can't understand why that would make a difference. Is my shell script looking for qrencode in the working directory?

Re: [Trisquel-users] Front end for qrencode

2013-12-23 Thread george . standish
I'd guess that PATH= probably has something to do with it?

Re: [Trisquel-users] Front end for qrencode

2013-12-23 Thread gramex
I have qrgui working now. I'll do some final polishing, then post the final version.

Re: [Trisquel-users] Front end for qrencode

2013-12-23 Thread mikko . viinamaki
https://en.wikipedia.org/wiki/PATH_%28variable%29 Better use another name for the variable.

Re: [Trisquel-users] Front end for qrencode

2013-12-22 Thread mikko . viinamaki
Apparently read don't like pipes. The explanation was beyond my understanding but this works var=$(command)

Re: [Trisquel-users] Front end for qrencode

2013-12-21 Thread gramex
I can't seem to get the output from the zenity dialog box into the read [variable here] command.

Re: [Trisquel-users] Front end for qrencode

2013-12-20 Thread gramex
I'm just bumping this thread so it doesn't lock.

Re: [Trisquel-users] Front end for qrencode

2013-12-12 Thread gramex
I'm working on a GUI based QR code reader, based on zenity. I'll post it when I'm done.

Re: [Trisquel-users] Front end for qrencode

2013-12-08 Thread mikko . viinamaki
The terminal averse types can add GUI dialogs easily with e.g. zenity. Left as an exercise for the reader. Kudos for the proper hash bang, description and license! If only all scripts floating on the intarwebs had these integral parts... ps. There's a QR code reader in the package

Re: [Trisquel-users] Front end for qrencode

2013-12-08 Thread gramex
I don't think using cowsay is better.

Re: [Trisquel-users] Front end for qrencode

2013-12-08 Thread gramex
How do I change it to accept spaces in the text? If I type in this is a test., the only text that gets encoded is this.

Re: [Trisquel-users] Front end for qrencode

2013-12-08 Thread gramex
Here is the fixed script. #!/bin/bash # This is an easy-to-use front end for qrencode, a QR code generator. # qrencode must be installed for this script to work. # In apt-get, run the command sudo apt-get install qrencode. # # To the extent possible under law, I waive all copyright and related

Re: [Trisquel-users] Front end for qrencode

2013-12-08 Thread gramex
The qr.sh attachment is undownloadable. I get a 403 (Forbidden) error. Here's the file gzipped.

Re: [Trisquel-users] Front end for qrencode

2013-12-08 Thread mikko . viinamaki
The qr.sh attachment is undownloadable. I get a 403 (Forbidden) error. For me as well. I ran into that issue earlier too https://trisquel.info/en/issues/8153

[Trisquel-users] Front end for qrencode

2013-12-07 Thread gramex
I made a small shell script in about 10 minutes that simplifies making QR codes with qrencode, available in Trisquel's repos. I place it into the public domain with CC0. Enter sudo apt-get install qrencode into the terminal to install qrencode, if it hasn't been installed already. Type

Re: [Trisquel-users] Front end for qrencode

2013-12-07 Thread thomas . pickham
This is nice, but I think I've got it working slightly better. I've attached a patch with my changes, just put the patch in the same directory as qr.sh and run patch qr.patch and that should fix it up for you. I am releasing this patch under the terms of the open source. Thank you