<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Frank</title>
    <description>The latest articles on DEV Community by Frank (@ditrianum).</description>
    <link>https://dev.to/ditrianum</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F567168%2F5fa6177f-4d59-467a-b9ac-f9f39591a0e0.png</url>
      <title>DEV Community: Frank</title>
      <link>https://dev.to/ditrianum</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ditrianum"/>
    <language>en</language>
    <item>
      <title>apt-xapian-index on Debian based distro's fails to update (fixed)</title>
      <dc:creator>Frank</dc:creator>
      <pubDate>Sat, 30 Jan 2021 09:34:36 +0000</pubDate>
      <link>https://dev.to/ditrianum/apt-xapian-index-on-debian-based-distro-s-fails-to-update-fixed-4apn</link>
      <guid>https://dev.to/ditrianum/apt-xapian-index-on-debian-based-distro-s-fails-to-update-fixed-4apn</guid>
      <description>&lt;p&gt;Debian 10 and derived distro's have a bug in the apt-xapian-index package. This package can be used to add a quick search box in Synaptic. While the package installs fine, the 'update-apt-xapian-index' command fails to complete every time, which prevents the quick search box to ever show up in Synaptic. This bug was reported to Debian on 23 August 2019, but it has not yet been fixed.&lt;/p&gt;

&lt;p&gt;The problem is in a python script called 'relations.py' which is located in /usr/share/apt-xapian-index/plugins/. At line 113 and 114 the code is:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;    for name in self.re_split.split(val):
        doc.add_term(pfx + name.split(None, 1)[0])
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;This should be:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;    for name in self.re_split.split(val):
        doc.add_term(pfx + name.split(' ', 1)[0])
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Change this using your favorite editor, such as Nano with root permissions. Then run 'update-apt-xapian-index' again.&lt;/p&gt;

&lt;p&gt;I encountered this bug in the most recent SparkyLinux (version 5.13) and this fix solves the problem.&lt;/p&gt;

&lt;p&gt;For completeness, in order to add the quick search box to Synaptic, install the package:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;~$ sudo apt install apt-xapian-index
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Then apply the above fix.&lt;/p&gt;

&lt;p&gt;Finally, update the index with:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;~$ sudo update-apt-xapian-index
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Start Synpatic and you should have the quick search box.&lt;/p&gt;

</description>
      <category>linux</category>
      <category>debian</category>
      <category>bug</category>
    </item>
    <item>
      <title>SparkyLinux 5.13 XFCE Review</title>
      <dc:creator>Frank</dc:creator>
      <pubDate>Mon, 25 Jan 2021 18:12:11 +0000</pubDate>
      <link>https://dev.to/ditrianum/sparkylinux-5-13-xfce-review-5064</link>
      <guid>https://dev.to/ditrianum/sparkylinux-5-13-xfce-review-5064</guid>
      <description>&lt;p&gt;Since the introduction of Ubuntu around 2005 I have been a Linux user of various distro's, most of them based on Debian and Arch. &lt;/p&gt;

&lt;p&gt;In 2017 I had my first taste of SparkyLinux but I was not too impressed with the distro at the time. Two weeks ago I gave the distro another try and I must admit that my experience was a lot better. For this review I installed version 5.13 XFCE. I was actually quite impressed by the straight forward installation process, the clean startup and slick desktop.&lt;/p&gt;

&lt;p&gt;Sparky is not too packed with tools and applications, but everything is there to get the average and more advanced user started. In this respect, Sparky is somewhere between bare-bone Debian and MX Linux, a very balanced and favorable position in my opinion.&lt;/p&gt;

&lt;p&gt;I installed Sparky on several 3 to 8 years old laptops with 1.4+ GHz CPU's without any problems. In contrast, the latest Manjaro got stuck during installation on a few Lenovo's apparently due to graphics driver problems, which was one of the reasons for me to try Sparky.&lt;/p&gt;

&lt;p&gt;The XFCE desktop may seem somewhat outdated to some, but it is highly customizable and with the Window compositor turned on it can still be a very attractive working environment. Add to that the modern look of the Sparky6 appearance and window theme and you have a firm Windows 10 competitor.&lt;/p&gt;

&lt;p&gt;On some of the laptops I replaced Windows 8 and it was a relief to see how much faster Sparky booted and shut down. Performance was much better also compared to Windows 10.&lt;/p&gt;

&lt;p&gt;Having been a Linux user for some 15 years, I know from experience that almost no distro is without problems; sooner or later you will run into some issue, often hardware related. That said, in my experience Debian and Arch based distro's usually do very well relatively speaking. SparlyLinux is another good Debian based example with the Contrib and Non-Free repositories turned on by default, which allows for a very nice and balanced Linux experience.&lt;/p&gt;

</description>
      <category>linux</category>
      <category>debian</category>
      <category>archlinux</category>
      <category>laptops</category>
    </item>
  </channel>
</rss>
