SlideShare a Scribd company logo
1 of 15
Download to read offline
Crear y leer códigos QR desde la terminal
Alejandro (a.k.a KZKG^Gaara) | | Aplicaciones, Recomendados
12 Comentarios
Los códigos QR … los vemos a diario en algún que otro sitio, son esas imágenes que parecen pixeladas donde solo hay color
blanco y negro (blanco siendo el background o fondo). Gracias a ellos podemos convertir texto a una imagen, algo así como
esto:
DesdeLinux.net … usemos linux para ser libres!
Sería igual a:
DesdeLinux
Índice
1 ¿Cómo generar códigos QR con la terminal?
2 ¿Y cómo descifro QR y convierto a texto legible?
3 Fin!
¿Cómo generar códigos QR con la terminal?
Para ello usaremos un paquete llamado qrencode, primero debemos instalarlo.
Si usas ArchLinux, Chakra o algún derivado sería:
sudo pacman -S qrencode
Si usas Ubuntu, Debian o similar:
sudo apt-get install qrencode
Una vez instalado solo debemos ejecutar en una terminal:
qrencode "Texto a codificar!" -o $HOME/codigoqr.png
Esto nos generará en nuestro home un archivo png llamado codigoqr, que será el resultado de la conversión del texto que
recién pusimos 😉
¿Y cómo descifro QR y convierto a texto legible?
Para el proceso inverso usaremos otra aplicación llamada zbar-img, que tendremos disponible después de instalar el
paquete zbar en Arch o zbar-tools en Ubuntu.
Si usas ArchLinux, Chakra o algún derivado sería:
sudo pacman -S zbar
Si usas Ubuntu, Debian o similar:
sudo apt-get install zbar-tools
Una vez instalado solo debemos ejecutar en una terminal:
zbarimg $HOME/codigoqr.png
Esto nos mostrará algo como:
Y como pueden ver, nos muestra perfectamente el texto que habíamos codificado 😉
Fin!
EEENNNN FFFIIINN!!! 😀
Este ha sido el tutorial, espero les haya sido de utilidad.
Saludos
El contenido del artículo se adhiere a nuestros principios de ética editorial. Para notificar un error pincha aquí.
Ruta completa hacia el artículo: Desde Linux » Aplicaciones » Crear y leer códigos QR desde la terminal
Te puede interesar
12 comentarios, deja el tuyo
Deja tu comentario
Aprendizaje

Programación
Anuncio Frogames
Linus Torvalds deja el

desarrollo de Linux y…
desdelinux.net
Powerful Java Office

Library
Anuncio E-ICEBLUE
Fsociety: Un excelente

pack de…
desdelinux.net
El Viaje Astral

explicado.
Anuncio Alcyone Association
Hacking Tools: Útiles

herramientas de…
desdelinux.net
CANAIMA GNU/LINUX:

¿Solo para Hacer la…
desdelinux.net
Linus Torvalds dice

que ARM no es para…
desdelinux.net
Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *
Comentario
Nombre*
Correo electrónico*

Acepto los términos de privacidad*
1. Responsable de los datos: Miguel Ángel Gatón
2. Finalidad de los datos: Controlar el SPAM, gestión de comentarios.
3. Legitimación: Tu consentimiento
4. Comunicación de los datos: No se comunicarán los datos a terceros salvo por obligación legal.
5. Almacenamiento de los datos: Base de datos alojada en Occentus Networks (UE)
6. Derechos: En cualquier momento puedes limitar, recuperar y borrar tu información.
 Quiero recibir la newsletter
Publicar el comentario
1.
 	eliotime3000 dijo
hace 7 años
Me gustó dicho aplicativo. Lo tendré en cuenta.
Responder a eliotime3000	
2.
 	Nemesis dijo
hace 7 años
Es interesante tu aporte!!! Esto es algo que puede llegar a ser útil.

Pero es posible crear el archivo.png en otro directorio distinto a $HOME?
Responder a Nemesis	
1.  
 	neysonv dijo
hace 7 años
lo que hay despues del -o es el directorio asi que puedes poner el que quieras. podrias por ejemplo poner el archivo
en tu carpeta de descargas con

qrencode «texto» -o Downloads/qr.png

asumiendo claro que estas en tu home

pàra mas info consulta el manpage

man qrencode
Responder a neysonv	
1.  
 	Nemesis dijo
hace 7 años
Gracias por la respuesta !!! Ya lo probé y me resulto.
Responder a Nemesis	
3.
 	Manuel R dijo
hace 7 años
Hacía rato que buscaba algo así, más fácil imposible 😉

Gracias por compartir, saludos.
Responder a Manuel R	
4.
 	Sander dijo
hace 7 años
Más facil imposible, pero no me resultó xD

Otro día lo veo con más calma que el jefe acecha….
Responder a Sander	
5.
 	Lenin Hernandez dijo
hace 7 años
Generar codigo QR desde postgreSQL con Perl
http://leninmhs.wordpress.com/2014/03/25/qr-postgres-perl/
Responder a Lenin Hernandez	
6.
 	mat1986 dijo
hace 7 años
No se si fue un lapsus que tuve, pero creí que German Garmendia había llegado a DesdeLinux xDD.
Aparte de eso, interesante aplicación. Ya encontraré la manera de sacarle partido 🙂
Responder a mat1986	
7.
 	Gonzalo M dijo
hace 7 años
Interesantisimo!! 😀
Responder a Gonzalo M	
8.
 	Luis dijo
hace 7 años
Yo hice este script para zenity, mas fácil imposible. 😉
#!/bin/sh

# Script gráfico para qrencode

url=`zenity –entry –title=»QRencGui» –text=»Ingresa la url:»`
if [ $? = 0 ] ; then
qrencode «$url» -o ~/QRCode.png | zenity –progress –pulsate –auto-close –auto-kill –title=»QRencGui» –
text=»Creando el código $url n»
zenity –info –title=»QRencGui» –text=»La imágen QRcode de $url ha sido creada»

fi

exit 0
Responder a Luis	
1.  
 	Lenin Hernandez dijo
hace 7 años
Excelente!!
Responder a Lenin Hernandez	
9.
 	ragg dijo
hace 7 años
excelente me sirvio muchisimo justo estaba investigando como podia hacer eso
Responder a ragg	
Aptoide: ¿Tienda Pirata? ... ¿Mejores repositorios?
Descargar Google play Store 5.0.31
Noticias en tu email
Recibe las últimas noticias sobre Linux en tu correo electrónico
Nombre
Email
 Newsletter diaria
 Newsletter semanal
 Acepto las condiciones legales
Suscribir
↑
Facebook
Twitter
Pinterest
Telegram
Email
RSS
Actualidad iPhone
Soy de Mac
Androidsis
Android Guías
Actualidad Gadget
Windows Noticias
Creativos Online
Todo eReaders
Hardware Libre
Linux Adictos
Ubunlog
Guías WoW
Trucos Descargas
Actualidad Motor
Bezzia
Móvil Forum
Secciones
Aplicaciones
Distribuciones
Comunidades
Repositorio de tips
Equipo editorial
Ética editorial
Hazte redactor
Suscribir newsletter
Aviso Legal
Spanish
Contacto
Buscar... 
 Buscar 
Cerrar

More Related Content

Similar to Crear y leer códigos qr desde el terminal desde linux

Monitoring a program that monitors computer networks
Monitoring a program that monitors computer networksMonitoring a program that monitors computer networks
Monitoring a program that monitors computer networksPVS-Studio
 
Scottish Ruby Conference 2014
Scottish Ruby Conference  2014Scottish Ruby Conference  2014
Scottish Ruby Conference 2014michaelag1971
 
Cyber Security Workshop Presentation.pptx
Cyber Security Workshop Presentation.pptxCyber Security Workshop Presentation.pptx
Cyber Security Workshop Presentation.pptxYashSomalkar
 
Software as a craft (February, 2018)
Software as a craft (February, 2018)Software as a craft (February, 2018)
Software as a craft (February, 2018)Rachel M. Carmena
 
Code Camp NYC 2017 - How to deal with everything... | Chris Ozog - Codesushi
Code Camp NYC 2017 - How to deal with everything... | Chris Ozog - Codesushi Code Camp NYC 2017 - How to deal with everything... | Chris Ozog - Codesushi
Code Camp NYC 2017 - How to deal with everything... | Chris Ozog - Codesushi Krzysztof (Chris) Ozog
 
Open Source & Free Software
Open Source & Free SoftwareOpen Source & Free Software
Open Source & Free SoftwareFreddy Rolland
 
Kinko at Linuxtag 2014
Kinko at Linuxtag 2014Kinko at Linuxtag 2014
Kinko at Linuxtag 2014Eno Thierbach
 
Security & ethical hacking p2
Security & ethical hacking p2Security & ethical hacking p2
Security & ethical hacking p2ratnalajaggu
 
Kernel Recipes 2019 - Kernel hacking behind closed doors
Kernel Recipes 2019 - Kernel hacking behind closed doorsKernel Recipes 2019 - Kernel hacking behind closed doors
Kernel Recipes 2019 - Kernel hacking behind closed doorsAnne Nicolas
 
Raspberry pi education_manual
Raspberry pi education_manualRaspberry pi education_manual
Raspberry pi education_manualTry Fajarman
 
Code quality; patch quality
Code quality; patch qualityCode quality; patch quality
Code quality; patch qualitydn
 
Code quality. Patch quality
Code quality. Patch qualityCode quality. Patch quality
Code quality. Patch qualitymalcolmt
 
Footprint #flushyourmeds Scott Barry
Footprint #flushyourmeds Scott BarryFootprint #flushyourmeds Scott Barry
Footprint #flushyourmeds Scott Barrytnirptoof
 
The 10 Commandments For The Eager Developer
The 10 Commandments For The Eager DeveloperThe 10 Commandments For The Eager Developer
The 10 Commandments For The Eager DeveloperTsvika Kleinman
 
Hijacking Softwares for fun and profit
Hijacking Softwares for fun and profitHijacking Softwares for fun and profit
Hijacking Softwares for fun and profitNipun Jaswal
 
Back to basics simple, elegant, beautiful code
Back to basics   simple, elegant, beautiful codeBack to basics   simple, elegant, beautiful code
Back to basics simple, elegant, beautiful codeAndrew Harcourt
 
Are 64-bit errors real?
Are  64-bit errors real?Are  64-bit errors real?
Are 64-bit errors real?PVS-Studio
 
User2hackerin30minutes
User2hackerin30minutesUser2hackerin30minutes
User2hackerin30minutesma.khan
 

Similar to Crear y leer códigos qr desde el terminal desde linux (20)

Monitoring a program that monitors computer networks
Monitoring a program that monitors computer networksMonitoring a program that monitors computer networks
Monitoring a program that monitors computer networks
 
Scottish Ruby Conference 2014
Scottish Ruby Conference  2014Scottish Ruby Conference  2014
Scottish Ruby Conference 2014
 
Cyber Security Workshop Presentation.pptx
Cyber Security Workshop Presentation.pptxCyber Security Workshop Presentation.pptx
Cyber Security Workshop Presentation.pptx
 
Software as a craft (February, 2018)
Software as a craft (February, 2018)Software as a craft (February, 2018)
Software as a craft (February, 2018)
 
Code Camp NYC 2017 - How to deal with everything... | Chris Ozog - Codesushi
Code Camp NYC 2017 - How to deal with everything... | Chris Ozog - Codesushi Code Camp NYC 2017 - How to deal with everything... | Chris Ozog - Codesushi
Code Camp NYC 2017 - How to deal with everything... | Chris Ozog - Codesushi
 
Open Source & Free Software
Open Source & Free SoftwareOpen Source & Free Software
Open Source & Free Software
 
Kinko at Linuxtag 2014
Kinko at Linuxtag 2014Kinko at Linuxtag 2014
Kinko at Linuxtag 2014
 
Security & ethical hacking p2
Security & ethical hacking p2Security & ethical hacking p2
Security & ethical hacking p2
 
Kernel Recipes 2019 - Kernel hacking behind closed doors
Kernel Recipes 2019 - Kernel hacking behind closed doorsKernel Recipes 2019 - Kernel hacking behind closed doors
Kernel Recipes 2019 - Kernel hacking behind closed doors
 
Raspberry pi education_manual
Raspberry pi education_manualRaspberry pi education_manual
Raspberry pi education_manual
 
Raspberry pi education_manual
Raspberry pi education_manualRaspberry pi education_manual
Raspberry pi education_manual
 
Code quality; patch quality
Code quality; patch qualityCode quality; patch quality
Code quality; patch quality
 
Code quality. Patch quality
Code quality. Patch qualityCode quality. Patch quality
Code quality. Patch quality
 
Software development
Software developmentSoftware development
Software development
 
Footprint #flushyourmeds Scott Barry
Footprint #flushyourmeds Scott BarryFootprint #flushyourmeds Scott Barry
Footprint #flushyourmeds Scott Barry
 
The 10 Commandments For The Eager Developer
The 10 Commandments For The Eager DeveloperThe 10 Commandments For The Eager Developer
The 10 Commandments For The Eager Developer
 
Hijacking Softwares for fun and profit
Hijacking Softwares for fun and profitHijacking Softwares for fun and profit
Hijacking Softwares for fun and profit
 
Back to basics simple, elegant, beautiful code
Back to basics   simple, elegant, beautiful codeBack to basics   simple, elegant, beautiful code
Back to basics simple, elegant, beautiful code
 
Are 64-bit errors real?
Are  64-bit errors real?Are  64-bit errors real?
Are 64-bit errors real?
 
User2hackerin30minutes
User2hackerin30minutesUser2hackerin30minutes
User2hackerin30minutes
 

Recently uploaded

08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 

Recently uploaded (20)

08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 

Crear y leer códigos qr desde el terminal desde linux

  • 1. Crear y leer códigos QR desde la terminal Alejandro (a.k.a KZKG^Gaara) | | Aplicaciones, Recomendados 12 Comentarios Los códigos QR … los vemos a diario en algún que otro sitio, son esas imágenes que parecen pixeladas donde solo hay color blanco y negro (blanco siendo el background o fondo). Gracias a ellos podemos convertir texto a una imagen, algo así como esto: DesdeLinux.net … usemos linux para ser libres! Sería igual a: DesdeLinux
  • 2. Índice 1 ¿Cómo generar códigos QR con la terminal? 2 ¿Y cómo descifro QR y convierto a texto legible? 3 Fin! ¿Cómo generar códigos QR con la terminal? Para ello usaremos un paquete llamado qrencode, primero debemos instalarlo.
  • 3. Si usas ArchLinux, Chakra o algún derivado sería: sudo pacman -S qrencode Si usas Ubuntu, Debian o similar:
  • 4. sudo apt-get install qrencode Una vez instalado solo debemos ejecutar en una terminal: qrencode "Texto a codificar!" -o $HOME/codigoqr.png Esto nos generará en nuestro home un archivo png llamado codigoqr, que será el resultado de la conversión del texto que recién pusimos 😉 ¿Y cómo descifro QR y convierto a texto legible? Para el proceso inverso usaremos otra aplicación llamada zbar-img, que tendremos disponible después de instalar el paquete zbar en Arch o zbar-tools en Ubuntu. Si usas ArchLinux, Chakra o algún derivado sería: sudo pacman -S zbar
  • 5. Si usas Ubuntu, Debian o similar: sudo apt-get install zbar-tools Una vez instalado solo debemos ejecutar en una terminal: zbarimg $HOME/codigoqr.png Esto nos mostrará algo como: Y como pueden ver, nos muestra perfectamente el texto que habíamos codificado 😉 Fin! EEENNNN FFFIIINN!!! 😀 Este ha sido el tutorial, espero les haya sido de utilidad.
  • 6. Saludos El contenido del artículo se adhiere a nuestros principios de ética editorial. Para notificar un error pincha aquí. Ruta completa hacia el artículo: Desde Linux » Aplicaciones » Crear y leer códigos QR desde la terminal Te puede interesar 12 comentarios, deja el tuyo Deja tu comentario Aprendizaje Programación Anuncio Frogames Linus Torvalds deja el desarrollo de Linux y… desdelinux.net Powerful Java Office Library Anuncio E-ICEBLUE Fsociety: Un excelente pack de… desdelinux.net El Viaje Astral explicado. Anuncio Alcyone Association Hacking Tools: Útiles herramientas de… desdelinux.net CANAIMA GNU/LINUX: ¿Solo para Hacer la… desdelinux.net Linus Torvalds dice que ARM no es para… desdelinux.net
  • 7. Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con * Comentario Nombre* Correo electrónico* Acepto los términos de privacidad* 1. Responsable de los datos: Miguel Ángel Gatón 2. Finalidad de los datos: Controlar el SPAM, gestión de comentarios. 3. Legitimación: Tu consentimiento 4. Comunicación de los datos: No se comunicarán los datos a terceros salvo por obligación legal. 5. Almacenamiento de los datos: Base de datos alojada en Occentus Networks (UE) 6. Derechos: En cualquier momento puedes limitar, recuperar y borrar tu información.  Quiero recibir la newsletter Publicar el comentario 1.   eliotime3000 dijo hace 7 años Me gustó dicho aplicativo. Lo tendré en cuenta.
  • 8. Responder a eliotime3000 2.   Nemesis dijo hace 7 años Es interesante tu aporte!!! Esto es algo que puede llegar a ser útil. Pero es posible crear el archivo.png en otro directorio distinto a $HOME? Responder a Nemesis 1.     neysonv dijo hace 7 años lo que hay despues del -o es el directorio asi que puedes poner el que quieras. podrias por ejemplo poner el archivo en tu carpeta de descargas con qrencode «texto» -o Downloads/qr.png asumiendo claro que estas en tu home pàra mas info consulta el manpage man qrencode Responder a neysonv 1.  
  • 9.   Nemesis dijo hace 7 años Gracias por la respuesta !!! Ya lo probé y me resulto. Responder a Nemesis 3.   Manuel R dijo hace 7 años Hacía rato que buscaba algo así, más fácil imposible 😉 Gracias por compartir, saludos. Responder a Manuel R 4.   Sander dijo hace 7 años Más facil imposible, pero no me resultó xD Otro día lo veo con más calma que el jefe acecha…. Responder a Sander 5.   Lenin Hernandez dijo hace 7 años
  • 10. Generar codigo QR desde postgreSQL con Perl http://leninmhs.wordpress.com/2014/03/25/qr-postgres-perl/ Responder a Lenin Hernandez 6.   mat1986 dijo hace 7 años No se si fue un lapsus que tuve, pero creí que German Garmendia había llegado a DesdeLinux xDD. Aparte de eso, interesante aplicación. Ya encontraré la manera de sacarle partido 🙂 Responder a mat1986 7.   Gonzalo M dijo hace 7 años Interesantisimo!! 😀 Responder a Gonzalo M 8.   Luis dijo hace 7 años Yo hice este script para zenity, mas fácil imposible. 😉
  • 11. #!/bin/sh # Script gráfico para qrencode url=`zenity –entry –title=»QRencGui» –text=»Ingresa la url:»` if [ $? = 0 ] ; then qrencode «$url» -o ~/QRCode.png | zenity –progress –pulsate –auto-close –auto-kill –title=»QRencGui» – text=»Creando el código $url n» zenity –info –title=»QRencGui» –text=»La imágen QRcode de $url ha sido creada» fi exit 0 Responder a Luis 1.     Lenin Hernandez dijo hace 7 años Excelente!! Responder a Lenin Hernandez 9.   ragg dijo hace 7 años
  • 12. excelente me sirvio muchisimo justo estaba investigando como podia hacer eso Responder a ragg Aptoide: ¿Tienda Pirata? ... ¿Mejores repositorios? Descargar Google play Store 5.0.31 Noticias en tu email Recibe las últimas noticias sobre Linux en tu correo electrónico Nombre Email  Newsletter diaria  Newsletter semanal  Acepto las condiciones legales Suscribir
  • 14. Soy de Mac Androidsis Android Guías Actualidad Gadget Windows Noticias Creativos Online Todo eReaders Hardware Libre Linux Adictos Ubunlog Guías WoW Trucos Descargas Actualidad Motor Bezzia Móvil Forum Secciones Aplicaciones Distribuciones Comunidades Repositorio de tips Equipo editorial Ética editorial Hazte redactor Suscribir newsletter Aviso Legal Spanish