{"id":10252,"date":"2020-06-07T14:26:39","date_gmt":"2020-06-07T14:26:39","guid":{"rendered":"http:\/\/ubuntuhandbook.org\/?p=10252"},"modified":"2020-06-07T14:26:39","modified_gmt":"2020-06-07T14:26:39","slug":"cobang-gtk-qr-code-scanner-linux","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2020\/06\/cobang-gtk-qr-code-scanner-linux\/","title":{"rendered":"CoBang &#8211;  Native GTK QR Code Scanner for Linux Desktop"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/06\/cobang-icon.png\" alt=\"\" width=\"250\" height=\"250\" class=\"aligncenter size-full wp-image-10253\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/06\/cobang-icon.png 250w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/06\/cobang-icon-150x150.png 150w\" sizes=\"auto, (max-width: 250px) 100vw, 250px\" \/><\/p>\n<p><b>CoBang is a new QR code scanner for Linux, which is written with Python 3 and GTK+ and support Wayland session.<\/b><\/p>\n<p>The name is &#8220;C\u1ecf b\u00e0ng&#8221; (Lepironia articulata), in Vietnamese. Compare to <b>QtQR<\/b>, Qt QR code generator and decoder, <a href=\"https:\/\/github.com\/hongquan\/CoBang\" rel=\"noopener\" target=\"_blank\">CoBang<\/a> features:<\/p>\n<ul>\n<li>Work in both X and Wayland.<\/li>\n<li>Scan from webcam (embedded webcam video).<\/li>\n<li>Scan from image:\n<ul>\n<li>drag and drop support.<\/li>\n<li>copy and paste image into app window<\/li>\n<li>open remote image (http, ftp)<\/li>\n<li>open via file browser.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>It is however lacks the feature to generate QR code so far. <\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/06\/cobang-camera-450x304.jpg\" alt=\"\" width=\"450\" height=\"304\" class=\"aligncenter size-medium wp-image-10254\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/06\/cobang-camera-450x304.jpg 450w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/06\/cobang-camera.jpg 520w\" sizes=\"auto, (max-width: 450px) 100vw, 450px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/06\/cobang-image-450x294.jpg\" alt=\"\" width=\"450\" height=\"294\" class=\"aligncenter size-medium wp-image-10255\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/06\/cobang-image-450x294.jpg 450w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/06\/cobang-image.jpg 520w\" sizes=\"auto, (max-width: 450px) 100vw, 450px\" \/><\/p>\n<h4>How to Install CoBang in Ubuntu:<\/h4>\n<p>For <b>Ubuntu 18.04<\/b> and higher, the tool is available as <a href=\"https:\/\/flathub.org\/apps\/details\/vn.hoabinh.quan.CoBang\" rel=\"noopener\" target=\"_blank\">Flatpak package in Flathub repository<\/a>.<\/p>\n<p>For <b>Ubuntu 20.04<\/b> only, the developer has made the package into <a href=\"https:\/\/launchpad.net\/~ng-hong-quan\/+archive\/ubuntu\/ppa\" rel=\"noopener\" target=\"_blank\">the PPA repository<\/a>.<\/p>\n<p><b>1.)<\/b> Open terminal (Ctrl+Alt+T) from &#8216;Show Applications&#8217; menu. When it opens, run command to add the PPA:<\/p>\n<pre style=\"border:none;\">sudo add-apt-repository ppa:ng-hong-quan\/ppa<\/pre>\n<p><i>Type user password (no asterisk feedback) when it prompts and hit Enter to continue.<\/i><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/06\/cobang-ppa-600x116.jpg\" alt=\"\" width=\"600\" height=\"116\" class=\"aligncenter size-large wp-image-10256\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/06\/cobang-ppa-600x116.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/06\/cobang-ppa-450x87.jpg 450w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/06\/cobang-ppa.jpg 737w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p><b>2.)<\/b> Then install the QR code scanner via command:<\/p>\n<pre style=\"border:none;\">sudo apt install cobang<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/06\/apt-cobang.png\" alt=\"\" width=\"520\" height=\"234\" class=\"aligncenter size-full wp-image-10257\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/06\/apt-cobang.png 520w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/06\/apt-cobang-450x203.png 450w\" sizes=\"auto, (max-width: 520px) 100vw, 520px\" \/><\/p>\n<h4>Uninstall CoBang:<\/h4>\n<p>To remove the PPA, either open <i>Software &#038; Updates<\/i> and remove repository line under <i>Other Software<\/i> tab, or run command:<\/p>\n<pre style=\"border:none;\">sudo add-apt-repository --remove ppa:ng-hong-quan\/ppa<\/pre>\n<p>And remove the scanner via command:<\/p>\n<pre style=\"border:none;\">sudo apt remove --autoremove cobang<\/pre>","protected":false},"excerpt":{"rendered":"<p>CoBang is a new QR code scanner for Linux, which is written with Python 3 and GTK+ and support Wayland session. The name is &#8220;C\u1ecf b\u00e0ng&#8221; (Lepironia articulata), in Vietnamese. Compare to QtQR, Qt QR code generator and decoder, CoBang features: Work in both X and Wayland. Scan from webcam (embedded webcam video). Scan from [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[52],"tags":[1926,1925],"class_list":["post-10252","post","type-post","status-publish","format-standard","hentry","category-app-review","tag-gtk-qr-scanner","tag-qr-code-scanner"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/10252","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/comments?post=10252"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/10252\/revisions"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=10252"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=10252"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=10252"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}