<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:media="http://search.yahoo.com/mrss/"><channel><title><![CDATA[Ubuntu - wimantis blog]]></title><description><![CDATA[Coding, linux, cryptos, woodworking, electronics.]]></description><link>https://wimantis.ninja/</link><image><url>https://wimantis.ninja/favicon.png</url><title>Ubuntu - wimantis blog</title><link>https://wimantis.ninja/</link></image><generator>Ghost 1.25</generator><lastBuildDate>Sun, 06 Feb 2022 03:18:50 GMT</lastBuildDate><atom:link href="https://wimantis.ninja/tag/ubuntu/rss/" rel="self" type="application/rss+xml"/><ttl>60</ttl><item><title><![CDATA[Fix low FPS of WebGL in Chrome, Ubuntu]]></title><description><![CDATA[<div class="kg-card-markdown"><p>I've had this problem for a while, Google Chrome seems to lower the FPS of WebGL content / games to 60 FPS on a dual monitor setup, even if my main monitor uses 144Hz !</p>
<p>Well, here is what I think is happening: chrome seems to use the first monitor as a</p></div>]]></description><link>https://wimantis.ninja/fix-chrome-low-fps-of-webgl-on-ubuntu/</link><guid isPermaLink="false">61c48c069c8efc61e9bc7de7</guid><category><![CDATA[Web development]]></category><category><![CDATA[Ubuntu]]></category><category><![CDATA[3D]]></category><category><![CDATA[three.js]]></category><dc:creator><![CDATA[William Mcmurray]]></dc:creator><pubDate>Thu, 23 Dec 2021 15:08:47 GMT</pubDate><media:content url="https://images.unsplash.com/photo-1457305237443-44c3d5a30b89?crop=entropy&amp;cs=tinysrgb&amp;fit=max&amp;fm=jpg&amp;ixid=MnwxMTc3M3wwfDF8c2VhcmNofDl8fGR1YWwlMjBtb25pdG9yfGVufDB8fHx8MTY0MDI3MTcwNA&amp;ixlib=rb-1.2.1&amp;q=80&amp;w=1080" medium="image"/><content:encoded><![CDATA[<div class="kg-card-markdown"><img src="https://images.unsplash.com/photo-1457305237443-44c3d5a30b89?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=MnwxMTc3M3wwfDF8c2VhcmNofDl8fGR1YWwlMjBtb25pdG9yfGVufDB8fHx8MTY0MDI3MTcwNA&ixlib=rb-1.2.1&q=80&w=1080" alt="Fix low FPS of WebGL in Chrome, Ubuntu"><p>I've had this problem for a while, Google Chrome seems to lower the FPS of WebGL content / games to 60 FPS on a dual monitor setup, even if my main monitor uses 144Hz !</p>
<p>Well, here is what I think is happening: chrome seems to use the first monitor as a reference to determine the desired FPS of WebGL contents. Now, that does not mean the &quot;primary display&quot; setting, I am talking about the actual numbers you can see in <code>Settings &gt; Screen Display</code>, those numbers :</p>
<a href="https://askubuntu.com/questions/1229016/manually-set-display-numbers" target="_blank">
    <img src="https://i.stack.imgur.com/XSKgR.png" alt="Fix low FPS of WebGL in Chrome, Ubuntu">
</a>
<p>They are assigned by the actual firmware, and so far the only way I've found to change them is to swap display cables on the back of my GPU !</p>
<p>So basically, if your dual monitor setup contains a monitor that is 60Hz, make sure it's not the monitor with number <code>1</code> assigned, swap cables until your best monitor is <code>1</code>, then the problem should be fixed !</p>
</div>]]></content:encoded></item><item><title><![CDATA[Find log4j on your Linux system]]></title><description><![CDATA[<div class="kg-card-markdown"><p>Based on <a href="https://nakedsecurity.sophos.com/2021/12/13/log4shell-explained-how-it-works-why-you-need-to-know-and-how-to-fix-it/">this article about Log4Shell</a>, you can search for any occurence of log4j on your linux system with this command:</p>
<pre><code>sudo find / -iname &quot;log4j*.jar&quot;
</code></pre>
<p>The <code>/</code> indicate to search from the root directory<br>
The <code>-iname</code> is to specify the case insensitive search terms</p>
<p>If nothing outputs after</p></div>]]></description><link>https://wimantis.ninja/find-log4j-on-your-linux-system/</link><guid isPermaLink="false">61b8e1c69c8efc61e9bc7de0</guid><category><![CDATA[Ubuntu]]></category><category><![CDATA[hacking]]></category><category><![CDATA[Web development]]></category><dc:creator><![CDATA[William Mcmurray]]></dc:creator><pubDate>Tue, 14 Dec 2021 18:36:49 GMT</pubDate><media:content url="https://images.unsplash.com/photo-1541728472741-03e45a58cf88?crop=entropy&amp;cs=tinysrgb&amp;fit=max&amp;fm=jpg&amp;ixid=MnwxMTc3M3wwfDF8c2VhcmNofDJ8fGhhY2tpbmd8ZW58MHx8fHwxNjM5NTA2NzIz&amp;ixlib=rb-1.2.1&amp;q=80&amp;w=1080" medium="image"/><content:encoded><![CDATA[<div class="kg-card-markdown"><img src="https://images.unsplash.com/photo-1541728472741-03e45a58cf88?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=MnwxMTc3M3wwfDF8c2VhcmNofDJ8fGhhY2tpbmd8ZW58MHx8fHwxNjM5NTA2NzIz&ixlib=rb-1.2.1&q=80&w=1080" alt="Find log4j on your Linux system"><p>Based on <a href="https://nakedsecurity.sophos.com/2021/12/13/log4shell-explained-how-it-works-why-you-need-to-know-and-how-to-fix-it/">this article about Log4Shell</a>, you can search for any occurence of log4j on your linux system with this command:</p>
<pre><code>sudo find / -iname &quot;log4j*.jar&quot;
</code></pre>
<p>The <code>/</code> indicate to search from the root directory<br>
The <code>-iname</code> is to specify the case insensitive search terms</p>
<p>If nothing outputs after that command finishes, your system should be okay !</p>
<p>If not, please secure your system.</p>
</div>]]></content:encoded></item><item><title><![CDATA[Use Razer mouse or keyboard without Synapse on Linux]]></title><description><![CDATA[<div class="kg-card-markdown"><p>You just got yourself a new Razer device and you realized you can't configure it without the proprietary Synapse software (which is not available on linux), and now you are sad ?</p>
<p>Be sad no more ! The open-source community got your back.</p>
<h2 id="step1drivers">Step 1 : drivers</h2>
<p>What you need to do is</p></div>]]></description><link>https://wimantis.ninja/use-razer-device-without-synapse-on-linux/</link><guid isPermaLink="false">619bc2619c8efc61e9bc7dd8</guid><category><![CDATA[Ubuntu]]></category><category><![CDATA[electronics]]></category><category><![CDATA[Video Games]]></category><dc:creator><![CDATA[William Mcmurray]]></dc:creator><pubDate>Mon, 22 Nov 2021 16:49:33 GMT</pubDate><media:content url="https://images.unsplash.com/photo-1554876194-024e06bbc3cf?crop=entropy&amp;cs=tinysrgb&amp;fit=max&amp;fm=jpg&amp;ixid=MnwxMTc3M3wwfDF8c2VhcmNofDF8fHJhemVyfGVufDB8fHx8MTYzNzU5OTAzMw&amp;ixlib=rb-1.2.1&amp;q=80&amp;w=1080" medium="image"/><content:encoded><![CDATA[<div class="kg-card-markdown"><img src="https://images.unsplash.com/photo-1554876194-024e06bbc3cf?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=MnwxMTc3M3wwfDF8c2VhcmNofDF8fHJhemVyfGVufDB8fHx8MTYzNzU5OTAzMw&ixlib=rb-1.2.1&q=80&w=1080" alt="Use Razer mouse or keyboard without Synapse on Linux"><p>You just got yourself a new Razer device and you realized you can't configure it without the proprietary Synapse software (which is not available on linux), and now you are sad ?</p>
<p>Be sad no more ! The open-source community got your back.</p>
<h2 id="step1drivers">Step 1 : drivers</h2>
<p>What you need to do is install <a href="https://openrazer.github.io/">OpenRazer</a> (<a href="https://github.com/openrazer/openrazer">github repo</a>) ! OpenRazer is a collection of drivers for many Razer devices, this will allow communication between your computer and your devices.</p>
<p>Just follow their instructions in the <a href="https://openrazer.github.io/#download">download page</a>.</p>
<h2 id="step2gui">Step 2 : GUI</h2>
<p>You will also need an interface to let you change settings of your devices.</p>
<p>I recommend using <a href="https://polychromatic.app/">Polychromatic</a> (<a href="https://github.com/polychromatic/polychromatic">github repo</a>) because it seems to be well adopted and actively maintained. Just follow their instructions in the <a href="https://polychromatic.app/download/">download page</a> again.</p>
<p><em>(there is also a list of other compatible applications at the end of the <a href="https://github.com/openrazer/openrazer#applications">README</a> of OpenRazer if you want)</em></p>
<p><em>PS: You might need to reboot your computer if the application tell you that your device ID is not recognized, even if it is in the list of supported devices, to make sure drivers are properly running.</em></p>
<p>Happy gaming !!<br>
(or happy &quot;whatever&quot; you do with your computer)</p>
</div>]]></content:encoded></item><item><title><![CDATA[Beware: your personal files are visible by all users on Ubuntu, by default !!]]></title><description><![CDATA[<div class="kg-card-markdown"><p>I just discovered this after years of using Ubuntu: every user account you have created on your Ubuntu computer (during installation or afterward) have Read and Execute permission to everything in the <code>/home/</code> directory of EVERY users, by DEFAULT !!</p>
<p><em>(just type <code>ll /home/</code> in a terminal and you'll see <code>drwxr-xr-x</code></em></p></div>]]></description><link>https://wimantis.ninja/beware-your-personal-files-are-visible-by-every-other-users-on-ubuntu-by-default/</link><guid isPermaLink="false">618754699c8efc61e9bc7dca</guid><category><![CDATA[Ubuntu]]></category><category><![CDATA[hacking]]></category><dc:creator><![CDATA[William Mcmurray]]></dc:creator><pubDate>Sun, 07 Nov 2021 22:20:32 GMT</pubDate><media:content url="https://images.unsplash.com/photo-1455368109333-ebc686ad6c58?crop=entropy&amp;cs=tinysrgb&amp;fit=max&amp;fm=jpg&amp;ixid=MnwxMTc3M3wwfDF8c2VhcmNofDR8fHNweXxlbnwwfHx8fDE2MzYzMjMyNDU&amp;ixlib=rb-1.2.1&amp;q=80&amp;w=1080" medium="image"/><content:encoded><![CDATA[<div class="kg-card-markdown"><img src="https://images.unsplash.com/photo-1455368109333-ebc686ad6c58?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=MnwxMTc3M3wwfDF8c2VhcmNofDR8fHNweXxlbnwwfHx8fDE2MzYzMjMyNDU&ixlib=rb-1.2.1&q=80&w=1080" alt="Beware: your personal files are visible by all users on Ubuntu, by default !!"><p>I just discovered this after years of using Ubuntu: every user account you have created on your Ubuntu computer (during installation or afterward) have Read and Execute permission to everything in the <code>/home/</code> directory of EVERY users, by DEFAULT !!</p>
<p><em>(just type <code>ll /home/</code> in a terminal and you'll see <code>drwxr-xr-x</code> !)</em></p>
<p>This is outrageous, it means that any user account could read every documents, every pictures, every-things of any user, even if that user is supposed to be protected by a password !!</p>
<p>This behavior should be <a href="https://ubuntu.com/blog/private-home-directories-for-ubuntu-21-04">fixed since release 21.04</a> but it DOES NOT FIX PREVIOUSLY CREATED USER ACCOUNTS !</p>
<h2 id="howtofix">How to fix</h2>
<p>You can manually remove the read and execute permission for other users with this command :</p>
<pre><code>sudo chmod 750 /home/*
</code></pre>
<p>And to fix the new account creation process, you have to do this too :</p>
<pre><code>sudo sed -i s/DIR_MODE=0755/DIR_MODE=0750/ /etc/adduser.conf
echo &quot;HOME_MODE 0750&quot; | sudo tee -a /etc/login.defs
</code></pre>
<p>After that you should be good to go.</p>
<p>To make sure everything is working, just try to access the home directory of any other user (ex: <code>ll /home/other_user_name_here/Documents/</code>, it should say <code>Permission denied</code>.</p>
<h2 id="moreinfoapersonalnote">More info &amp; a personal note</h2>
<p>The only <a href="https://ubuntu.com/blog/private-home-directories-for-ubuntu-21-04">explanation</a> I could find for this unsafe and unintuitive default was :</p>
<blockquote>
<p>This default was chosen in the early days of Ubuntu, to support use-cases like multiple family members sharing a single PC and wanting to easily share files with one another or within university environments to support easy collaboration.</p>
</blockquote>
<p>But to me that's not a good excuse ! In the past, I might have created a &quot;guest&quot; account (with no password) on a laptop to let other peoples try Ubuntu... or I might have created an other user account on a personal computer to run apps or scripts that I did not trust, thinking it would be unable to access my personal files... WRONG !</p>
</div>]]></content:encoded></item><item><title><![CDATA[Fix inverted natural horizontal scrolling with touchpad - Ubuntu 20.04]]></title><description><![CDATA[<div class="kg-card-markdown"><p><em>If your installation of Ubuntu is not fresh (an old version that you updated since then), this solution might be exactly what you need to permanently fix this bug.</em></p>
<p>First, check the list of installed input drivers with this :</p>
<pre><code>apt list -i | grep xorg-input
</code></pre>
<p>If you see <code>xserver-xorg-input-synaptics</code> and <code>xserver-xorg-input-libinput</code></p></div>]]></description><link>https://wimantis.ninja/fix-inverted-natural-horizontal-scroll-on-touchpad-ubuntu-20-04/</link><guid isPermaLink="false">6165e4639c8efc61e9bc7dc3</guid><category><![CDATA[Ubuntu]]></category><dc:creator><![CDATA[William Mcmurray]]></dc:creator><pubDate>Tue, 12 Oct 2021 20:06:41 GMT</pubDate><media:content url="https://images.unsplash.com/photo-1484807352052-23338990c6c6?crop=entropy&amp;cs=tinysrgb&amp;fit=max&amp;fm=jpg&amp;ixid=MnwxMTc3M3wwfDF8c2VhcmNofDJ8fHRvdWNocGFkfGVufDB8fHx8MTYzNDA2ODYzMw&amp;ixlib=rb-1.2.1&amp;q=80&amp;w=1080" medium="image"/><content:encoded><![CDATA[<div class="kg-card-markdown"><img src="https://images.unsplash.com/photo-1484807352052-23338990c6c6?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=MnwxMTc3M3wwfDF8c2VhcmNofDJ8fHRvdWNocGFkfGVufDB8fHx8MTYzNDA2ODYzMw&ixlib=rb-1.2.1&q=80&w=1080" alt="Fix inverted natural horizontal scrolling with touchpad - Ubuntu 20.04"><p><em>If your installation of Ubuntu is not fresh (an old version that you updated since then), this solution might be exactly what you need to permanently fix this bug.</em></p>
<p>First, check the list of installed input drivers with this :</p>
<pre><code>apt list -i | grep xorg-input
</code></pre>
<p>If you see <code>xserver-xorg-input-synaptics</code> and <code>xserver-xorg-input-libinput</code>, good news ! Just uninstall the synaptics package like this :</p>
<pre><code>sudo apt remove xserver-xorg-input-synaptics
</code></pre>
<p><a href="https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/1808#note_629824">The reason</a> is simple : this package is obsolete.</p>
<p>Now restart the xorg server (logging out and then back in will do) and the problem should be fixed ! If it is not, try toggling the &quot;Natural Scrolling&quot; setting in the &quot;Mouse &amp; Touchpad&quot; page of Gnome Settings.</p>
</div>]]></content:encoded></item><item><title><![CDATA[Bash script to create daily, monthly and yearly MySQL database backups]]></title><description><![CDATA[Here is my simple bash script that creates a fresh MySQL database backup every day for the last 30 days, and a monthly backup for the last 12 months, and a yearly backup for the last 10 years !]]></description><link>https://wimantis.ninja/bash-script-to-create-daily-monthly-and-yearly-mysql-database-backups/</link><guid isPermaLink="false">6161b28b9c8efc61e9bc7dbc</guid><category><![CDATA[Web development]]></category><category><![CDATA[Ubuntu]]></category><dc:creator><![CDATA[William Mcmurray]]></dc:creator><pubDate>Sat, 09 Oct 2021 15:40:08 GMT</pubDate><media:content url="https://images.unsplash.com/photo-1597852074816-d933c7d2b988?crop=entropy&amp;cs=tinysrgb&amp;fit=max&amp;fm=jpg&amp;ixid=MnwxMTc3M3wwfDF8c2VhcmNofDR8fGJhY2t1cHxlbnwwfHx8fDE2MzM3OTM1MzE&amp;ixlib=rb-1.2.1&amp;q=80&amp;w=1080" medium="image"/><content:encoded><![CDATA[<div class="kg-card-markdown"><img src="https://images.unsplash.com/photo-1597852074816-d933c7d2b988?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=MnwxMTc3M3wwfDF8c2VhcmNofDR8fGJhY2t1cHxlbnwwfHx8fDE2MzM3OTM1MzE&ixlib=rb-1.2.1&q=80&w=1080" alt="Bash script to create daily, monthly and yearly MySQL database backups"><p>Here is my simple bash script that creates a fresh MySQL database backup every day for the last 30 days, and a monthly backup for the last 12 months, and a yearly backup for the last 10 years !</p>
<p>It saves the backups on the same server (locally) and it does not notify you by email if an error happens, it's up to you to implement those features if you want. (it does keep track of every success/errors in a log file tho).</p>
<p>This script is meant to be executed once every day in a cronjob (but can be executed more than once per day without problems, if desired).</p>
<p>To schedule it's execution, simply call <code>crontab -e</code> in a terminal (while being logged in as the user that will run the script), and add this :</p>
<pre><code>PATH=/usr/bin
30 2 * * * bash /path/to/script/backup-database.bash
</code></pre>
<p>This will run the script once every day at 2:30 AM.</p>
<script src="https://gist.github.com/wmcmurray/cb1ad25f2d281cbe361d6c69f520a3a1.js"></script>
<br>
<p>PS. Before writing this script, I read <a href="https://sqlbak.com/blog/how-to-automate-mysql-database-backups-in-linux">this article</a> (which contains good alternatives btw), but I just didn't want to install and setup postfix on my server so... I wrote this script.</p>
<p>I hope it helps you !</p>
</div>]]></content:encoded></item><item><title><![CDATA[The next best Linux distro of 2021 (besides Ubuntu)]]></title><description><![CDATA[<div class="kg-card-markdown"><p>Based on personal preferences, which are : I want an OS that is <strong>simple</strong>, <strong>elegant</strong>, <strong>modern</strong> and <strong>deprived of visual clutter</strong> because I work on a plethora of personal projects all the time (coding/3D/web/art etc) therefore I don't want to waste my time also fixing an OS to</p></div>]]></description><link>https://wimantis.ninja/next-best-linux-distro-of-2021-beside-ubuntu/</link><guid isPermaLink="false">6033f2e0984c6d4d007d32be</guid><category><![CDATA[Ubuntu]]></category><dc:creator><![CDATA[William Mcmurray]]></dc:creator><pubDate>Thu, 11 Mar 2021 15:56:28 GMT</pubDate><media:content url="https://wimantis.ninja/content/images/2021/03/zorin-os-cover.jpg" medium="image"/><content:encoded><![CDATA[<div class="kg-card-markdown"><img src="https://wimantis.ninja/content/images/2021/03/zorin-os-cover.jpg" alt="The next best Linux distro of 2021 (besides Ubuntu)"><p>Based on personal preferences, which are : I want an OS that is <strong>simple</strong>, <strong>elegant</strong>, <strong>modern</strong> and <strong>deprived of visual clutter</strong> because I work on a plethora of personal projects all the time (coding/3D/web/art etc) therefore I don't want to waste my time also fixing an OS to make it work well. <strong>It needs to work well out of the box</strong>.</p>
<p>I also like the idea of getting used to a &quot;stock distribution&quot;, meaning that I can install it on many computers, delete it and reinstall it completely without having to transfer my tweaks from one installation to an other in order to feel comfortable.</p>
<p><strong>My research began with the intention</strong> of finding the best Linux distribution after using Ubuntu for about 10 years. I wanted something new and better, but ended up <a href="https://wimantis.ninja/the-best-linux-distro-of-2021/">choosing Ubuntu again, because it's still the best</a>.</p>
<p>This post is about a promising contender to Ubuntu that I almost installed on my main PC, but retracted when I saw some of it's flaws...</p>
<hr>
<p>So, lets dive in :</p>
<p><img src="https://wimantis.ninja/content/images/2021/03/zorin-os-cover.jpg" alt="The next best Linux distro of 2021 (besides Ubuntu)"></p>
<p><strong>Say hello to <a href="https://zorinos.com/">Zorin OS 15.3 Core</a> !</strong></p>
<p>Here is why I like it and why it might beat Ubuntu (eventually) :</p>
<p><strong>I like how the desktop environment look</strong>. Clean and simple, well spaced. It does not &quot;strive for attention&quot;, it is just there, waiting. Ready to serve !</p>
<p><strong>I like how their website look</strong>. It breathes and present the OS very well. It's a promising indicator (in my opinion) because if the distribution's authors can't even design their website properly, how can they design their OS properly ?</p>
<p><strong>I like the absence of an OS top bar</strong> alongside a bottom bar. It's like being constantly fullscreen-mode without having to <code>F11</code> all the time.</p>
<p><strong>I like the files on desktop disabled by default</strong>, it forces me to organize my stuff ahead of time instead of just throwing everything on the desktop for so long that I forget what it was, until it's &quot;cleanup-time&quot; and I dump everything &quot;as-is&quot; in my big pile of dumped things. <em>- true story.</em></p>
<p><strong>I like that it's been around since 2008</strong>. It's not just some folks that woke up one morning with a new distro name in mind, who just took Ubuntu then picked some packages and voilà, a new OS is born !</p>
<hr>
<p>And now lets explore why it's not perfect...</p>
<h3 id="idisliketheirdarkmode">I dislike their dark mode</h3>
<p>Every OS/website/everything should have a dark/night mode ! But sadly this one is not done right. The accent color is too much present. It's like they applied a big color filter on top of everything.</p>
<p>It could even mess up your perception of colors especially if you are working on art or any visual stuff !</p>
<p>Well, look for yourself :</p>
<p><img src="https://wimantis.ninja/content/images/2021/03/zorin-os-dark-blue.png" alt="The next best Linux distro of 2021 (besides Ubuntu)"></p>
<p><img src="https://wimantis.ninja/content/images/2021/03/zorin-os-dark-red.png" alt="The next best Linux distro of 2021 (besides Ubuntu)"></p>
<p>It seems like they tweaked things just so it work for their default blue accent color, and completely <strong>forgot</strong> to look at <strong>other accent colors</strong> <em>(which they provide a &quot;curated list of&quot; by the way, you can't choose the specific color you want, you have to pick from their list)</em>.</p>
<p>And the <strong>icons color stays bluish</strong> even if you choose a completely different accent color.</p>
<p>The settings cog icon has a white opaque &quot;hole&quot; in the middle...</p>
<p>Overall, the dark mode feels like an after thought (and it probably was, since it's kinda new to the OS).</p>
<h3 id="islikesdisliketheexistenceofapaidversion">I <s>like</s> dislike the existence of a paid version</h3>
<p>At first I was okay with that since it looked like the best OS ever on the surface. I would be welling to donate some money if it has solved my quest for the perfect OS, but it didn't !</p>
<p>Beside the work that has been done on the gnome apps bar, the rest <strong>feels just like a basic Ubuntu + Gnome experience</strong>. I don't think they deserve to receive money after seeing how little work have been done on their end compared to the whole <code>Ubuntu &gt; Gnome &gt; Debian &gt; Linux</code> stack behind them...</p>
<h3 id="itisnotwellpolished">It is not well polished</h3>
<p>In french we have an expression for that, its &quot;tourner les coins rond&quot;, it means like when you pass the aspirator in your room and you don't go fully into corners, you make round turns. It basically means that you botch the job. You do the most obvious part and omit the details.</p>
<p>That's what it feels like they did, but ironically they didn't really make round corners, it's quite the opposite :</p>
<p><img src="https://wimantis.ninja/content/images/2021/03/zorin-os-not-rounded-corners.png" alt="The next best Linux distro of 2021 (besides Ubuntu)"></p>
<p>Sometimes apps overflow out of the rounded corners <em>(and I'm not talking about old apps, I'm talking about firefox, the default browser pre-installed with the OS !)</em>.</p>
<p>Sometimes windows corners are round, sometimes squared <code>¯\_(ツ)_/¯</code>.</p>
<p>Sometimes when you hover things that are in the corner of a window, the background color goes outside the rounded corner.</p>
<h3 id="weirddesignchoices">Weird design choices</h3>
<p>Like this dashed lines to indicate that the area can be scrolled... I don't understand from where that &quot;convention&quot; is coming from ?</p>
<p><img src="https://wimantis.ninja/content/images/2021/03/zorin-os-dashed-scroll.png" alt="The next best Linux distro of 2021 (besides Ubuntu)"></p>
<h2 id="inconclusion">In conclusion</h2>
<p>We can see the Zorin OS vision and where it wants to go. And I share that vision for a desktop environment, but it is poorly executed for now.</p>
<p>If they could fix those issues, <em>(and I don't see why they couldn't because Ubuntu nails rounded corners and dark theme so well, since Zorin OS is based on Ubuntu, how could they mess it up ?)</em> it would be a very solid contender to Ubuntu.</p>
<p>In the meantime, I'll stick with Ubuntu !</p>
</div>]]></content:encoded></item><item><title><![CDATA[Best linux distro of 2021]]></title><description><![CDATA[<div class="kg-card-markdown"><p>For me, <strong>the best linux distribution is still <a href="https://ubuntu.com/">Ubuntu</a></strong>. I've been using Linux for more than <strong>10 years</strong>, it's on my main PC, my work PC (when I can), and all my other laptops/computers (well, except one cheap chromebook).</p>
<p>I chose Ubuntu for my main PC in <strong>2014</strong> after</p></div>]]></description><link>https://wimantis.ninja/the-best-linux-distro-of-2021/</link><guid isPermaLink="false">604a131b984c6d4d007d32db</guid><category><![CDATA[Ubuntu]]></category><dc:creator><![CDATA[William Mcmurray]]></dc:creator><pubDate>Thu, 11 Mar 2021 14:11:26 GMT</pubDate><media:content url="https://images.unsplash.com/photo-1516542076529-1ea3854896f2?crop=entropy&amp;cs=tinysrgb&amp;fit=max&amp;fm=jpg&amp;ixid=MnwxMTc3M3wwfDF8c2VhcmNofDEzfHxjb21wdXRlcnxlbnwwfHx8fDE2MTU0NzEzODQ&amp;ixlib=rb-1.2.1&amp;q=80&amp;w=1080" medium="image"/><content:encoded><![CDATA[<div class="kg-card-markdown"><img src="https://images.unsplash.com/photo-1516542076529-1ea3854896f2?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=MnwxMTc3M3wwfDF8c2VhcmNofDEzfHxjb21wdXRlcnxlbnwwfHx8fDE2MTU0NzEzODQ&ixlib=rb-1.2.1&q=80&w=1080" alt="Best linux distro of 2021"><p>For me, <strong>the best linux distribution is still <a href="https://ubuntu.com/">Ubuntu</a></strong>. I've been using Linux for more than <strong>10 years</strong>, it's on my main PC, my work PC (when I can), and all my other laptops/computers (well, except one cheap chromebook).</p>
<p>I chose Ubuntu for my main PC in <strong>2014</strong> after playing with a couple distros and I've been using it ever since. At the time it was an obvious choice, but water has flowed under the bridges and a couple other good looking distros have popped-up !</p>
<p>I recently looked at all the good looking ones I could find and (sadly?) I've been disappointed. Most of them are in fact Ubuntu-based, that must mean something...</p>
<h3 id="whyubuntuisstillthebest">Why Ubuntu is still the best</h3>
<h4 id="becauseitsaverypolishedexperience">Because it's a very polished experience</h4>
<p>Every aspects of the OS and the desktop environment is polished to fit within the &quot;Ubuntu experience&quot;. I rarely encounter visual bugs or design flaws.</p>
<p>Especially for a main PC (or an OS you show someone to convince them that Linux is the best), you need something <strong>solid</strong>, <strong>cohesive</strong> and that's what you get with Ubuntu.</p>
<h4 id="becauseitlooksmodern">Because it looks modern</h4>
<p>So many linux distros look an feel old, not Ubuntu.</p>
<h4 id="becauseitsstable">Because it's stable</h4>
<p>Being a Debian-based distribution, packages are solid and stable.</p>
<h4 id="becauseitswellsupported">Because it's well supported</h4>
<p>The community behind Ubuntu is bigger and it's so much easier to find solutions online for problems you may encounter.</p>
<h4 id="becauseperfectdarktheme">Because : perfect dark theme</h4>
<p>I use dark themes wherever I can now, and Ubuntu's is very well balanced for use during the day and also during the night. It's not too dark, not too bright, colors are neutral. My eyes are very happy !</p>
<h4 id="becausethereisnotmuchthingstobeunhappyabout">Because there is not much things to be unhappy about</h4>
<p>Well, besides that time they included <strong>Amazon</strong> stuff by default, or the fact that they try very hard to push their <strong>Snaps</strong> forward...</p>
<p>The only thing I began to be unhappy about is the title bar, I think it's a waste of space considering you have a dock that mostly contains empty space (who completely fills his dock with applications shortcuts ? not me). But that can be fixed with gnome extensions anyway.</p>
<p>Other than that, no complaints !</p>
<h3 id="conclusion">Conclusion</h3>
<p><strong>Ubuntu is still the best option</strong> if you want a Linux-based OS that you can count on. I'll still be using it for the next couple years !</p>
<p>Other distributions I've considered that are worth a look :</p>
<ul>
<li><a href="https://zorinos.com/">https://zorinos.com/</a></li>
<li><a href="https://elementary.io/">https://elementary.io/</a></li>
<li><a href="https://www.deepin.org/">https://www.deepin.org/</a></li>
<li><a href="https://pop.system76.com/">https://pop.system76.com/</a></li>
<li><a href="https://garudalinux.org/">https://garudalinux.org/</a></li>
<li><a href="https://hefftorlinux.net/">https://hefftorlinux.net/</a></li>
</ul>
</div>]]></content:encoded></item><item><title><![CDATA[Fix unwanted "// WARNING:" atom snippet when typing "width" !]]></title><description><![CDATA[<div class="kg-card-markdown"><p>This has been <strong>annoying me for years</strong>, every time I tried to type <code>width</code> in SCSS, the first snippet suggested after typing the first 2 letters (<code>wi</code>) was that annoying warning snippet :</p>
<p><img src="https://wimantis.ninja/content/images/2021/03/atom-warning-snippet.png" alt="atom-warning-snippet"></p>
<p>but not anymore !</p>
<h2 id="tldr">TL;DR</h2>
<p>The snippet is <a href="https://github.com/atom/language-todo/blob/b304378c809bcda3bdf17ff1b4e0bf20b1094ac2/snippets/todo.cson#L279">added by a core package</a> named <code>language-todo</code>...</p>
<p>To prevent it</p></div>]]></description><link>https://wimantis.ninja/fix-unwanted-atom-warning-snippet-when-typing-width/</link><guid isPermaLink="false">604841d5984c6d4d007d32d4</guid><category><![CDATA[Web development]]></category><category><![CDATA[Ubuntu]]></category><dc:creator><![CDATA[William Mcmurray]]></dc:creator><pubDate>Wed, 10 Mar 2021 04:40:44 GMT</pubDate><media:content url="https://images.unsplash.com/photo-1488590528505-98d2b5aba04b?crop=entropy&amp;cs=tinysrgb&amp;fit=max&amp;fm=jpg&amp;ixid=MnwxMTc3M3wwfDF8c2VhcmNofDEyfHxjb2RpbmclMjBzY3NzfGVufDB8fHx8MTYxNTM1MDUwMg&amp;ixlib=rb-1.2.1&amp;q=80&amp;w=1080" medium="image"/><content:encoded><![CDATA[<div class="kg-card-markdown"><img src="https://images.unsplash.com/photo-1488590528505-98d2b5aba04b?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=MnwxMTc3M3wwfDF8c2VhcmNofDEyfHxjb2RpbmclMjBzY3NzfGVufDB8fHx8MTYxNTM1MDUwMg&ixlib=rb-1.2.1&q=80&w=1080" alt="Fix unwanted "// WARNING:" atom snippet when typing "width" !"><p>This has been <strong>annoying me for years</strong>, every time I tried to type <code>width</code> in SCSS, the first snippet suggested after typing the first 2 letters (<code>wi</code>) was that annoying warning snippet :</p>
<p><img src="https://wimantis.ninja/content/images/2021/03/atom-warning-snippet.png" alt="Fix unwanted "// WARNING:" atom snippet when typing "width" !"></p>
<p>but not anymore !</p>
<h2 id="tldr">TL;DR</h2>
<p>The snippet is <a href="https://github.com/atom/language-todo/blob/b304378c809bcda3bdf17ff1b4e0bf20b1094ac2/snippets/todo.cson#L279">added by a core package</a> named <code>language-todo</code>...</p>
<p>To prevent it from annoying you ever again :</p>
<ol>
<li>disable the <code>language-todo</code> package</li>
<li>close Atom</li>
<li>re-open Atom</li>
</ol>
<p>Problem solved !</p>
<p><em>To disable a package, open your atom Settings (Edit &gt; Preferences), then go to the Packages left tab, type <code>language-todo</code> in the text field and click the <code>Disable</code> button when you found the appropriate package.</em></p>
<h2 id="bonusknowledgehowtofindwhereatomsnippetscomesfromonubuntu">Bonus knowledge : How to find where Atom snippets comes from (on Ubuntu)</h2>
<p>This might come in handy if you ever encounter another snippet problem...</p>
<p>There are three places where snippets can reside :</p>
<ol>
<li>in the file where you add <a href="https://flight-manual.atom.io/using-atom/sections/snippets/#creating-your-own-snippets">your own snippets</a> (<code>~/.atom/snippets.cson</code>)</li>
<li>in the directory where the community packages you installed are : <code>~/.atom/packages/</code> (in a directory named <code>snippets</code> at the root of each packages)</li>
<li>in the directory where Atom is installed (<code>/snap/atom/current/usr/share/atom/</code> on Ubuntu, if installed through snaps, otherwise try <code>/usr/share/atom/</code> but I'm not 100% sure)</li>
</ol>
<p>To search for snippets, open all those places in Atom (..lol) and search for all instances of the snippet you are looking for (<code>CTRL + SHIFT + F</code>) until you find a file containing it !</p>
</div>]]></content:encoded></item><item><title><![CDATA[Fix crackling sound when audio start, Ubuntu 20.04]]></title><description><![CDATA[<div class="kg-card-markdown"><p>Do you ear a very annoying crackling or popping sound coming from your speaker whenever an audio source start playing on Ubuntu 20.04 ? Well, that's because a couple releases ago they enabled power saving feature of the sound card by default, and that's what causing this.</p>
<p>The fix is</p></div>]]></description><link>https://wimantis.ninja/fix-popping-sound-when-audio-start-ubuntu-20-04/</link><guid isPermaLink="false">603a584b984c6d4d007d32cf</guid><category><![CDATA[Ubuntu]]></category><dc:creator><![CDATA[William Mcmurray]]></dc:creator><pubDate>Sat, 27 Feb 2021 14:44:59 GMT</pubDate><media:content url="https://images.unsplash.com/photo-1453738773917-9c3eff1db985?crop=entropy&amp;cs=tinysrgb&amp;fit=max&amp;fm=jpg&amp;ixid=MXwxMTc3M3wwfDF8c2VhcmNofDN8fHNvdW5kfGVufDB8fHw&amp;ixlib=rb-1.2.1&amp;q=80&amp;w=1080" medium="image"/><content:encoded><![CDATA[<div class="kg-card-markdown"><img src="https://images.unsplash.com/photo-1453738773917-9c3eff1db985?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=MXwxMTc3M3wwfDF8c2VhcmNofDN8fHNvdW5kfGVufDB8fHw&ixlib=rb-1.2.1&q=80&w=1080" alt="Fix crackling sound when audio start, Ubuntu 20.04"><p>Do you ear a very annoying crackling or popping sound coming from your speaker whenever an audio source start playing on Ubuntu 20.04 ? Well, that's because a couple releases ago they enabled power saving feature of the sound card by default, and that's what causing this.</p>
<p>The fix is pretty simple, you just have to disable the power saving extension in the pulseaudio config. Type that in a terminal :</p>
<p><code>sudo nano /etc/pulse/default.pa</code></p>
<p>Then find this line :</p>
<pre><code>### Automatically suspend sinks/sources that become idle for too long
load-module module-suspend-on-idle
</code></pre>
<p>and comment it like so :</p>
<pre><code>### Automatically suspend sinks/sources that become idle for too long
# load-module module-suspend-on-idle
</code></pre>
<p>Then save and exit nano (<code>CTRL + O</code>, <code>CTRL + X</code>).</p>
<p>Then go on and restart pulseaudio with this in a terminal :</p>
<p><code>systemctl --user restart pulseaudio.service</code></p>
<p>And you should be good to go !</p>
</div>]]></content:encoded></item><item><title><![CDATA[Bluetooth keyboard pairing does not ask PIN code on Ubuntu 20.04, how to fix]]></title><description><![CDATA[<div class="kg-card-markdown"><p>I just had this problem where I could not pair a Microsoft Designer Keyboard on Ubuntu 20.04 because I was supposed to enter a PIN / Passkey code but it was never displayed to me by Ubuntu.</p>
<p>To quickly check if that's your case too, when you try to pair</p></div>]]></description><link>https://wimantis.ninja/bluetooth-keyboard-pairing-does-not-ask-pin-code-on-ubuntu-20-04-how-to-fix/</link><guid isPermaLink="false">60394721984c6d4d007d32c8</guid><category><![CDATA[Ubuntu]]></category><dc:creator><![CDATA[William Mcmurray]]></dc:creator><pubDate>Fri, 26 Feb 2021 19:46:46 GMT</pubDate><media:content url="https://images.unsplash.com/photo-1563191911-b57003345f62?crop=entropy&amp;cs=tinysrgb&amp;fit=max&amp;fm=jpg&amp;ixid=MXwxMTc3M3wwfDF8c2VhcmNofDI0fHxibHVldG9vdGglMjBrZXlib2FyZHxlbnwwfHx8&amp;ixlib=rb-1.2.1&amp;q=80&amp;w=1080" medium="image"/><content:encoded><![CDATA[<div class="kg-card-markdown"><img src="https://images.unsplash.com/photo-1563191911-b57003345f62?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=MXwxMTc3M3wwfDF8c2VhcmNofDI0fHxibHVldG9vdGglMjBrZXlib2FyZHxlbnwwfHx8&ixlib=rb-1.2.1&q=80&w=1080" alt="Bluetooth keyboard pairing does not ask PIN code on Ubuntu 20.04, how to fix"><p>I just had this problem where I could not pair a Microsoft Designer Keyboard on Ubuntu 20.04 because I was supposed to enter a PIN / Passkey code but it was never displayed to me by Ubuntu.</p>
<p>To quickly check if that's your case too, when you try to pair the keyboard does it hangs for a couple seconds before failing ? And when you press <code>ENTER</code> right after initiating pairing, does it fail right away ? If yes, thats probably because the pairing expect you to enter a PIN code (but you can't see it).</p>
<br>
<h3 id="step1findingthedevice">Step 1 : finding the device</h3>
<p>I fixed that problem by using the command line interface tool named <code>bluetoothctl</code>.</p>
<p>Simply type <code>bluetoothctl</code> in a terminal and press enter, this will initiate interactive mode.</p>
<p>Then from there, type in <code>scan on</code> to start scanning for bluetooth device, once you see your keyboard, just copy its mac address (it should look like that : <code>2F:6B:12:49:2C:8E</code>).</p>
<p>If you missed it, you can also list found devices with the <code>devices</code> command.</p>
<p>Then stop scanning with the <code>scan off</code> command.</p>
<h3 id="step2bluetoothagent">Step 2 : bluetooth agent</h3>
<p>Now, the part that fixed the problem for me was the bluetooth agent. A bluetooth agent is what is responsible for managing pairing code exchanges between devices.</p>
<p>To make sure an agent is active, type <code>agent on</code> AND also type the <code>default-agent</code> command. That's what fixed the problem for me ! For some reasons, the active agent was not handling my keyboard pairing pin...</p>
<h3 id="step3pairthedevice">Step 3 : pair the device</h3>
<p>Now type <code>pair 2F:6B:12:49:2C:8E</code> (while replacing the MAC address with the one you copied earlier).</p>
<p>This should now print something like this :</p>
<pre><code>[CHG] Device 2F:6B:12:49:2C:8E Connected: yes
[agent] Passkey: 123486
[CHG] Device 2F:6B:12:49:2C:8E Paired: yes
</code></pre>
<p>It basically tells you the passkey you are supposed to type on the bluetooth keyboard, finally ! Type it in and press <code>ENTER</code>.</p>
<p>At this point it should work !</p>
<p>You can also type <code>trust 2F:6B:12:49:2C:8E</code> (while replacing the MAC address again) to make sure the pairing persist after reboot.</p>
<p>After that, type <code>exit</code> to exit the interactive shell and you are good to go !</p>
</div>]]></content:encoded></item><item><title><![CDATA[How to fix The repository 'http://archive.ubuntu.com/ubuntu eoan Release' no longer has a Release file.]]></title><description><![CDATA[<div class="kg-card-markdown"><p>It's basically <a href="https://wimantis.ninja/fixing-ubuntu-17-04-apt-get-update-release-file-not-found/">the same problem that happened with Ubuntu 17.04</a>, but now it's Ubuntu 19.10 that has reached it's end of life !</p>
<p>Here is the full error messages I get :</p>
<pre style="font-size:10px;height:200px;overflow-y:auto;"><code>Hit:1 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:2 http://archive.canonical.com/ubuntu</code></pre></div>]]></description><link>https://wimantis.ninja/fix-repository-eoan-no-longer-has-a-release-file/</link><guid isPermaLink="false">5fd4f5bc984c6d4d007d32a3</guid><category><![CDATA[Ubuntu]]></category><dc:creator><![CDATA[William Mcmurray]]></dc:creator><pubDate>Sun, 13 Dec 2020 16:33:05 GMT</pubDate><media:content url="https://images.unsplash.com/photo-1585776245991-cf89dd7fc73a?crop=entropy&amp;cs=tinysrgb&amp;fit=max&amp;fm=jpg&amp;ixid=MXwxMTc3M3wwfDF8c2VhcmNofDF8fHVwZGF0ZXxlbnwwfHx8&amp;ixlib=rb-1.2.1&amp;q=80&amp;w=1080" medium="image"/><content:encoded><![CDATA[<div class="kg-card-markdown"><img src="https://images.unsplash.com/photo-1585776245991-cf89dd7fc73a?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=MXwxMTc3M3wwfDF8c2VhcmNofDF8fHVwZGF0ZXxlbnwwfHx8&ixlib=rb-1.2.1&q=80&w=1080" alt="How to fix The repository 'http://archive.ubuntu.com/ubuntu eoan Release' no longer has a Release file."><p>It's basically <a href="https://wimantis.ninja/fixing-ubuntu-17-04-apt-get-update-release-file-not-found/">the same problem that happened with Ubuntu 17.04</a>, but now it's Ubuntu 19.10 that has reached it's end of life !</p>
<p>Here is the full error messages I get :</p>
<pre style="font-size:10px;height:200px;overflow-y:auto;"><code>Hit:1 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:2 http://archive.canonical.com/ubuntu eoan InRelease
Ign:3 http://archive.ubuntu.com/ubuntu eoan InRelease
Ign:4 http://archive.ubuntu.com/ubuntu eoan-updates InRelease
Ign:5 http://archive.ubuntu.com/ubuntu eoan-backports InRelease
Ign:6 http://archive.ubuntu.com/ubuntu eoan-security InRelease
Err:7 http://archive.ubuntu.com/ubuntu eoan Release
  404  Not Found [IP: 91.189.88.142 80]
Err:8 http://archive.ubuntu.com/ubuntu eoan-updates Release
  404  Not Found [IP: 91.189.88.142 80]
Err:9 http://archive.ubuntu.com/ubuntu eoan-backports Release
  404  Not Found [IP: 91.189.88.142 80]
Err:10 http://archive.ubuntu.com/ubuntu eoan-security Release
  404  Not Found [IP: 91.189.88.142 80]
Reading package lists... Done
E: The repository 'http://archive.ubuntu.com/ubuntu eoan Release' no longer has a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://archive.ubuntu.com/ubuntu eoan-updates Release' no longer has a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://archive.ubuntu.com/ubuntu eoan-backports Release' no longer has a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://archive.ubuntu.com/ubuntu eoan-security Release' no longer has a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
</code></pre>
<p>Normally you would open <code>/etc/apt/sources.list</code> and replace every instances of <code>http://archive.ubuntu.com/ubuntu</code> by <code>http://old-releases.ubuntu.com/ubuntu</code>, but this time around it does not work because the <code>Release.gpg</code> seems to be missing... which will give you this error :</p>
<pre><code>The repository 'http://old-releases.ubuntu.com/ubuntu eoan Release' does not have a Release file.
</code></pre>
<p><strong style="color: green;">EDIT : apparently <a href="https://askubuntu.com/a/1300036/649516">the release file is back</a> so this might still work !<br>
If it doesn't, just continue reading :)</strong></p>
<hr>
<p>I also tried <code>http://archive.canonical.com/dists</code> which is missing files too.</p>
<p>I finally stumbled upon <a href="https://askubuntu.com/a/1299645/649516">this answer</a>  suggesting to go on <a href="https://launchpad.net/ubuntu/+archivemirrors">https://launchpad.net/ubuntu/+archivemirrors</a> and find an official mirror that still has a working directory.</p>
<p>Currently this one : <a href="http://de.mirrors.clouvider.net/ubuntu/dists/eoan/">http://de.mirrors.clouvider.net/ubuntu/dists/eoan/</a> is still working. If it doesn't at the time of your reading, try those that are marked with <code>Last update unknown</code> first until you find one that is still working...</p>
<div style="color:red;font-weight:bold">But, I strongly suggest that you upgrade your distribution right away before it's too late !</div></div>]]></content:encoded></item><item><title><![CDATA[Upgrade Ubuntu 17.04 to newer versions]]></title><description><![CDATA["An upgrade from 'zesty' to 'bionic' is not supported with this tool." error happens because Ubuntu is trying to "jump" from 17.04 directly to 18.04 and this is not supported. You will have to manually get up the "versions ladder" yourself.]]></description><link>https://wimantis.ninja/fix-cant-upgrade-ubuntu-17-04/</link><guid isPermaLink="false">5df66991fe630e0bfe0c5f20</guid><category><![CDATA[Ubuntu]]></category><dc:creator><![CDATA[William Mcmurray]]></dc:creator><pubDate>Mon, 16 Dec 2019 02:18:00 GMT</pubDate><content:encoded><![CDATA[<div class="kg-card-markdown"><p>Did you got scared by the switch back toward Gnome desktop so you decided to hang with Ubuntu 17.04 for a while, and now you are ready to give Gnome desktop a chance but you get this error when trying to upgrade :</p>
<p><code>An upgrade from 'zesty' to 'bionic' is not supported with this tool.</code></p>
<p>It's because Ubuntu is trying to &quot;jump&quot; from 17.04 directly to 18.04 (skipping intermediary versions) and this is not supported apparently (I think it's because those intermediary versions has reached their end of life). You will have to manually get up the &quot;versions ladder&quot; yourself.</p>
<p>You can refer to <a href="https://wiki.ubuntu.com/Releases">this list of releases</a> which will tell you all existing versions, and most importantly which ones has reached their end of life (this will affect which URL to fetch later).</p>
<h2 id="upgradefrom1704to1710">Upgrade from 17.04 to 17.10</h2>
<pre><code class="language-bash"># backup current sources file (just in case)
sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak

# change version codename from 'zesty' to 'artful'
sudo sed -i -re 's/zesty/artful/g' /etc/apt/sources.list

# 17.10 has reached it's end of life
# so we fetch from 'old-releases.ubuntu.com'
sudo sed -i -re 's/archive.ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list

sudo apt update
sudo apt dist-upgrade
sudo apt autoremove
</code></pre>
<br>
<h2 id="upgradefrom1710to1804lts">Upgrade from 17.10 to 18.04 LTS</h2>
<pre><code class="language-bash"># change version codename from 'artful' to 'bionic'
sudo sed -i -re 's/artful/bionic/g' /etc/apt/sources.list

# 18.04 has NOT reached it's end of life yet (due in 2028)
# so we fetch from 'archive.ubuntu.com'
sudo sed -i -re 's/old-releases.ubuntu.com/archive.ubuntu.com/g' /etc/apt/sources.list

sudo apt update
sudo apt dist-upgrade
sudo apt autoremove
</code></pre>
<br>
<p><em>Note : at some point during the upgrade, it crashed because of an nvidia package missing a dependency... so I did <code>sudo apt --fix-broken install</code> and restarted the upgrade. Then it worked flawlessly.</em></p>
<h2 id="upgradeabove1804lts">Upgrade above 18.04 LTS</h2>
<p>From now on, normal update should work as expected using the Software Updater app (can be opened from cli with <code>sudo update-manager</code>). But keep in mind that 18.04 is a long term release, so by default it will not suggest new versions until there is a new long term release available (which will happen in 2020).</p>
<p>If you want to install the newest version right now (currently 19.10), just open the app named &quot;Software &amp; Updates&quot;, go to the &quot;Updates&quot; tab, and change the &quot;Notify me of a new Ubuntu version&quot; to &quot;For any new version&quot;.</p>
<p>And then you'll be able to install 19.04, then 19.10, etc.</p>
<br>
<p>ADDITIONAL NOTES :</p>
<ul>
<li>I followed these instructions and it worked</li>
<li>I did not reboot my computer between upgrades (until I reached 18.04, at this point the Software Updater app asked me to reboot)</li>
<li>You can check if the upgrade worked with <code>lsb_release -a</code> (which tells you the currently installed version)</li>
<li>This post is based on <a href="https://unix.stackexchange.com/questions/460306/ubuntu-upgrade-from-17-04-to-18-04">this stackexchange post</a> (which was a little bit outdated, so I've made this to make sure everything still stands)</li>
</ul>
<br></div>]]></content:encoded></item><item><title><![CDATA[Fix Unknown TPM error Ubuntu 19.10 on Dell XPS 13]]></title><description><![CDATA[<div class="kg-card-markdown"><p>Did you update to Ubuntu 19.10 on your Dell XPS 13 and now it won't boot, printing messages like <code>error: Unknown TPM error</code> and <code>Must load kernel first</code> (or something similar).</p>
<p>There is <a href="https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1848892">a bug repport</a> related to this issue which apparently come from grub 2.04. Many people</p></div>]]></description><link>https://wimantis.ninja/fix-unknown-tpm-error-ubuntu-19-10-on-dell-xps-13/</link><guid isPermaLink="false">5dd343c5fe630e0bfe0c5f11</guid><category><![CDATA[Ubuntu]]></category><dc:creator><![CDATA[William Mcmurray]]></dc:creator><pubDate>Tue, 19 Nov 2019 01:46:31 GMT</pubDate><media:content url="https://images.unsplash.com/photo-1565339119519-c9eaa1918b9f?ixlib=rb-1.2.1&amp;q=80&amp;fm=jpg&amp;crop=entropy&amp;cs=tinysrgb&amp;w=1080&amp;fit=max&amp;ixid=eyJhcHBfaWQiOjExNzczfQ" medium="image"/><content:encoded><![CDATA[<div class="kg-card-markdown"><img src="https://images.unsplash.com/photo-1565339119519-c9eaa1918b9f?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=1080&fit=max&ixid=eyJhcHBfaWQiOjExNzczfQ" alt="Fix Unknown TPM error Ubuntu 19.10 on Dell XPS 13"><p>Did you update to Ubuntu 19.10 on your Dell XPS 13 and now it won't boot, printing messages like <code>error: Unknown TPM error</code> and <code>Must load kernel first</code> (or something similar).</p>
<p>There is <a href="https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1848892">a bug repport</a> related to this issue which apparently come from grub 2.04. Many people say that disabling TPM or Secure boot in the BIOS (press F2 while computer starts) will fix the issue, but in my case there is no mention of TPM in my BIOS and secure boot was already off... So what to do next ?</p>
<p>I had an old bootable USB stick laying around with Ubuntu 14.10 on it, so I wanted to use that to access my file system and maybe install a previous version of Grub or something... but it all went better !</p>
<p>I rebooted my laptop with the key plugged in, the booting was extremely slow (to the point I was not sure my usb key still worked...) but eventually it booted up, and not in Ubuntu 14.10, it booted Ubuntu 19.10 on my actual laptop ! I'm not sure of what happened there, maybe the grub of my usb stick kicked in, then he booted the ubuntu installed on my laptop, I dunno.</p>
<p>I then updated all packages, rebooted without the USB stick plugged in (just to be sure), and everything seems to work properly !</p>
<p>I hope it will be that easy for you too :)</p>
</div>]]></content:encoded></item><item><title><![CDATA[Add an ads.txt file at the root of a self-hosted Ghost blog (Nginx)]]></title><description><![CDATA[<div class="kg-card-markdown"><p>On a self-hosted ghost blog, you'll soon notice that there is no &quot;public folder&quot; where you can pour your <code>ads.txt</code> file and be good to go. <em>Ewwww, bummer.</em></p>
<p>You can simply add this in your blog's nginx config file located in the <code>/etc/nginx/sites-available/</code> folder :</p>
<pre><code class="language-!conf">location</code></pre></div>]]></description><link>https://wimantis.ninja/add-an-ads-txt-file-at-the-root-of-a-self-hosted-ghost-blog/</link><guid isPermaLink="false">5d35efdec4574604d310386e</guid><category><![CDATA[Ubuntu]]></category><dc:creator><![CDATA[William Mcmurray]]></dc:creator><pubDate>Mon, 22 Jul 2019 17:49:27 GMT</pubDate><content:encoded><![CDATA[<div class="kg-card-markdown"><p>On a self-hosted ghost blog, you'll soon notice that there is no &quot;public folder&quot; where you can pour your <code>ads.txt</code> file and be good to go. <em>Ewwww, bummer.</em></p>
<p>You can simply add this in your blog's nginx config file located in the <code>/etc/nginx/sites-available/</code> folder :</p>
<pre><code class="language-!conf">location /ads.txt {
    alias /home/www-data/ads.txt;
}
</code></pre>
<p><em>(before the <code>location / {...</code> block, and don't forget to change the alias path to where you put your file)</em></p>
<p>then <code>nginx -t</code> to check if you messed up the config file</p>
<p>then <code>sudo service nginx reload</code> for the change to be applied !</p>
<p><strong>IMPORTANT NOTE :</strong> <em>If you already tried to access the ads.txt file url before, ghost will probably have redirected you to the &quot;trailing slash&quot; url equivalent and the browser will keep redirecting you there even after you changed nginx config. I personnaly just opened an ingognito window in chrome (CTRL+SHIFT+N) then I reloaded the url with CTRL+SHIFT+R and it got rid of the redirection.</em></p>
<p>The warning message in AdSense should disapear in the following 24h.</p>
<p>Hope it helps !</p>
</div>]]></content:encoded></item></channel></rss>