Bitcoin Forum

Bitcoin => Electrum => Topic started by: IveBeenBit on June 15, 2013, 09:17:33 AM



Title: SOLVED (sorta): QR Code Plugin on Linux
Post by: IveBeenBit on June 15, 2013, 09:17:33 AM
For the purposes of this post, you should consider me a linux n00b. I'm running Linux Mint.

I can't seem to get the webcam QR scanner to work in the most recent version of Electrum. The help window tells me to install the zbar package and gives a URL to the zbar homepage.

Instead of using the download from that URL, I try to install whatever software I can via the official repositories. In this case, when I search the suppositories, there is about a dozen different zbar packages I can choose from.

python-zbarpygtk
libbarcode-zbar-perl
zbar-dbg

And so on.

If anyone can tell me what package(s) to install for Mint/Ubuntu, I would appreciate it. I already have the following installed:
libzbar0
zbar-tools

But I guess those two are not enough.

This is an older version of Mint running an LXDE, if it matters (does it?)

Thank you.


Title: Re: QR Code Plugin on Linux
Post by: Tachikoma on June 15, 2013, 05:45:14 PM
If you have pip installed try pip install zbar. If you don't have pip installed try apt-get install python-pip first.


Title: Re: SOLVED (sorta): QR Code Plugin on Linux
Post by: IveBeenBit on June 15, 2013, 08:00:42 PM
Thanks, Tachikoma, but that wasn't the problem.

I did finally get zbar running. Usage instructions (http://sourceforge.net/apps/mediawiki/zbar/index.php?title=Windows_Installation_Guide).

So what I do now is open a terminal and type

zbarcam > ~/Desktop/BTCaddress.txt

Zbar will scan the barcode. You'll know it has grabbed it when you see the thin green box around the QR Code on your monitor. Once it grabs the QRCode, it puts it into a text file on the desktop. Close the video preview window to exit zbarcam.

Then double click the text file, cut & paste the address into the Bitcoin client.