{"id":44048,"date":"2023-06-03T16:08:25","date_gmt":"2023-06-03T16:08:25","guid":{"rendered":"https:\/\/ubuntuhandbook.org\/?p=44048"},"modified":"2023-06-04T12:26:32","modified_gmt":"2023-06-04T12:26:32","slug":"bluefish-editor-2-2-14-released","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2023\/06\/bluefish-editor-2-2-14-released\/","title":{"rendered":"Bluefish Editor 2.2.14 Released, Fixed Zencoding with Python3 [Ubuntu PPA]"},"content":{"rendered":"<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/11\/bluefish-logo.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-thumbnail wp-image-43149\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/11\/bluefish-logo-250x250.webp\" alt=\"\" width=\"250\" height=\"250\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/11\/bluefish-logo-250x250.webp 250w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/11\/bluefish-logo-300x300.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/11\/bluefish-logo-600x600.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/11\/bluefish-logo-768x768.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/11\/bluefish-logo.webp 1200w\" sizes=\"auto, (max-width: 250px) 100vw, 250px\" \/><\/a><\/p>\n<p>The Bluefish text editor just got a new bug-fix release today!<\/p>\n<p>It&#8217;s Bluefish 2.2.14, that fixed crashes when deleting backup files on close, when closing some of the dialogs in flatpak app, and when the CSS language file was loaded on a 32-bit system.<\/p>\n<p>Furthermore, the release fixed zencoding functionality with python3, added option to store the scope of the search dialog to the session or project which was removed in 2.2.12 release. Also, it improves the speed of the bookmarks code.<\/p>\n<div id=\"attachment_44049\" style=\"width: 610px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/06\/bluefish2214.webp\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-44049\" class=\"size-large wp-image-44049\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/06\/bluefish2214-600x350.webp\" alt=\"\" width=\"600\" height=\"350\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/06\/bluefish2214-600x350.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/06\/bluefish2214-300x175.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/06\/bluefish2214-768x449.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/06\/bluefish2214.webp 1214w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><p id=\"caption-attachment-44049\" class=\"wp-caption-text\">Bluefish 2.2.14<\/p><\/div>\n<h3>How to Install Bluefish in Ubuntu<\/h3>\n<p>Bluefish is available in Ubuntu repository, but always old. For the most recent releases, either use the official Flatpak package, third-party PPA, or build it from source by yourself.<\/p>\n<h4>Option 1: Flatpak package<\/h4>\n<p>Bluefish provides official package through Flatpak that works in most Linux but runs in sandbox.<\/p>\n<p>Ubuntu user can press <b>Ctrl+Alt+T<\/b> on keyboard to open terminal, and run the commands below one by one to install the package:<\/p>\n<p>1. First, run command to enable Flatpak support:<\/p>\n<pre>sudo apt install flatpak<\/pre>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/apt-flatpak-jammy.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-39141\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/apt-flatpak-jammy-600x229.webp\" alt=\"\" width=\"600\" height=\"229\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/apt-flatpak-jammy-600x229.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/apt-flatpak-jammy-300x115.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/apt-flatpak-jammy-768x294.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/apt-flatpak-jammy.webp 777w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>2. Then, install Bluefish as Flatpak package:<\/p>\n<pre>flatpak install https:\/\/dl.flathub.org\/repo\/appstream\/nl.openoffice.bluefish.flatpakref<\/pre>\n<p><del datetime=\"2023-06-04T12:25:07+00:00\">At the moment of writing, the Flatpak package is still v2.2.13.<\/del> You can run <code>flatpak update nl.openoffice.bluefish<\/code> to update it when the new package is published.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/06\/flatpak-bluefish.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-44050\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/06\/flatpak-bluefish-600x407.webp\" alt=\"\" width=\"600\" height=\"407\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/06\/flatpak-bluefish-600x407.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/06\/flatpak-bluefish-300x203.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/06\/flatpak-bluefish-768x521.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/06\/flatpak-bluefish-1536x1042.webp 1536w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/06\/flatpak-bluefish-1320x895.webp 1320w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/06\/flatpak-bluefish.webp 1572w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<h4>Option 2: Ubuntu PPA (unofficial)<\/h4>\n<p>As you can see in the screenshot above, the Flatpak package will install hundred MB of run-time libraries. So, this <a href=\"https:\/\/launchpad.net\/~ubuntuhandbook1\/+archive\/ubuntu\/bluefish\" target=\"_blank\" rel=\"noopener\">unofficial PPA<\/a> is here for choice.<\/p>\n<p>The PPA supports Ubuntu 18.04, Ubuntu 20.04, Ubuntu 22.04, Ubuntu 22.10, Ubuntu 23.04, and their based systems with both x86_64 and arm64\/armhf CPU architecture types.<\/p>\n<p><b>1.<\/b> First, press Ctrl+Alt+T on keyboard to open terminal. When it opens, run command to add the PPA:<\/p>\n<pre>sudo add-apt-repository ppa:ubuntuhandbook1\/bluefish<\/pre>\n<p><i>Type user password (no visual feedback) when it asks and hit Enter to continue.<\/i><\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/04\/bluefish-ppa-jammy.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-43889\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/04\/bluefish-ppa-jammy-600x407.webp\" alt=\"\" width=\"600\" height=\"407\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/04\/bluefish-ppa-jammy-600x407.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/04\/bluefish-ppa-jammy-300x203.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/04\/bluefish-ppa-jammy-768x521.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/04\/bluefish-ppa-jammy.webp 786w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p><b>2.<\/b> For the old Ubuntu 18.04 and Linux Mint users, manually refresh the system package cache by running command:<\/p>\n<pre>sudo apt update<\/pre>\n<p><b>3.<\/b> Finally, either run command to install the text editor:<\/p>\n<pre>sudo apt install bluefish<\/pre>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/04\/apt-bluefish-jammy.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-43888\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/04\/apt-bluefish-jammy-600x407.webp\" alt=\"\" width=\"600\" height=\"407\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/04\/apt-bluefish-jammy-600x407.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/04\/apt-bluefish-jammy-300x203.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/04\/apt-bluefish-jammy-768x521.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/04\/apt-bluefish-jammy.webp 786w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>Or, open &#8220;Software Updater&#8221; and use the tool to upgrade the previous Bluefish package to the latest.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/04\/upgrade-bluefish.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-43887\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/04\/upgrade-bluefish-600x470.webp\" alt=\"\" width=\"600\" height=\"470\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/04\/upgrade-bluefish-600x470.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/04\/upgrade-bluefish-300x235.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/04\/upgrade-bluefish.webp 729w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<h4>Option 3: Build Bluefish text editor from source<\/h4>\n<p>For those who can&#8217;t wait, it&#8217;s not hard to compile the package from source tarball. And, following steps are tested and work in my case in Ubuntu 23.04.<\/p>\n<p>1. First, open terminal (Ctrl+Alt+T) and run command to install the dependency libraries:<\/p>\n<pre>sudo apt install gettext debhelper libenchant-2-dev libglib2.0-dev libgtk-3-dev libgucharmap-2-90-dev libpango1.0-dev libtool libxml2-dev libxml2-utils python3-dev zlib1g-dev<\/pre>\n<p>2. Download the source code from <a href=\"https:\/\/bluefish.openoffice.nl\/download.html\" target=\"_blank\" rel=\"noopener\">Bluefish website<\/a>. Then, extract it. Right-click on source folder and select &#8220;<b>Open in Terminal<\/b>&#8221;<\/p>\n<p>3. Once terminal opens with the source folder as working directory, run the commands below one by one to build and install the text editor.<\/p>\n<pre>.\/autogen.sh<\/pre>\n<pre>make -j4<\/pre>\n<pre>sudo make install<\/pre>\n<h3>Uninstall Bluefish text editor:<\/h3>\n<p>For the Flatpak package, open terminal and run command to remove it:<\/p>\n<pre>flatpak uninstall --delete-data nl.openoffice.bluefish<\/pre>\n<p>Also run <code>flatpak uninstall --unused<\/code> to remove unused run-time libraries.<\/p>\n<p>For the PPA package, remove it by running command:<\/p>\n<pre>sudo apt remove --autoremove bluefish<\/pre>\n<p>Also remove the Ubuntu PPA repository via command:<\/p>\n<pre>sudo add-apt-repository --remove ppa:ubuntuhandbook1\/bluefish<\/pre>\n<p>For bluefish built from source code, until you remove the source folder, you can navigate to that folder in terminal and run command to uninstall it:<\/p>\n<pre>sudo make uninstall<\/pre>","protected":false},"excerpt":{"rendered":"<p>The Bluefish text editor just got a new bug-fix release today! It&#8217;s Bluefish 2.2.14, that fixed crashes when deleting backup files on close, when closing some of the dialogs in flatpak app, and when the CSS language file was loaded on a 32-bit system. Furthermore, the release fixed zencoding functionality with python3, added option to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":43149,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[247,981],"class_list":["post-44048","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-howtos","tag-editor","tag-ide"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/44048","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=44048"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/44048\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media\/43149"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=44048"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=44048"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=44048"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}