<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Arch Linux on paapereira.xyz</title><link>https://paapereira.xyz/tags/arch-linux/</link><description>Recent content in Arch Linux on paapereira.xyz</description><generator>Hugo</generator><language>en-US</language><copyright>&lt;a href='https://creativecommons.org/licenses/by-nc/4.0/' target='_blank' rel='noopener'>©&lt;/a> 2008-2026 / &lt;a href='https://gitlab.com/paapereira/paapereira.gitlab.io' target='_blank' rel='noopener'>source code&lt;/a></copyright><lastBuildDate>Sun, 17 May 2026 22:30:00 +0000</lastBuildDate><atom:link href="https://paapereira.xyz/tags/arch-linux/index.xml" rel="self" type="application/rss+xml"/><item><title>New Crosspoint 1.3.0 for Xteink X4 ebook reader</title><link>https://paapereira.xyz/posts/2026/05/crosspoint-1.3/</link><pubDate>Sun, 17 May 2026 22:30:00 +0000</pubDate><guid>https://paapereira.xyz/posts/2026/05/crosspoint-1.3/</guid><description>&lt;p>&lt;a href="https://github.com/crosspoint-reader/crosspoint-reader/releases/tag/1.3.0">Crosspoint 1.3.0&lt;/a> is out!&lt;/p>
&lt;p>To upgrade, just go to &lt;a href="https://crosspointreader.com/">crosspointreader.com&lt;/a> and upgrade from there. More on how I setup my Xteink X4 &lt;a href="https://paapereira.xyz/blog/xteink-x4">here&lt;/a>.&lt;/p>
&lt;p>One of the new features for this release is the ability to choose fonts.&lt;/p>
&lt;p>Get your favorite font and go to &lt;a href="https://crosspointreader.com/fonts">crosspointreader.com/fonts&lt;/a> to transform the font into the X4 format.&lt;/p>
&lt;p>To get the font onto your device connect go to File Transfer and Create Hotspot. From there scan the first QR Code to create a connection with the device and the second QR Code to access a web interface to upload your new font.&lt;/p></description></item><item><title>New Xteink X4 ebook reader</title><link>https://paapereira.xyz/posts/2026/02/xteink-x4/</link><pubDate>Sat, 14 Feb 2026 22:00:00 +0000</pubDate><guid>https://paapereira.xyz/posts/2026/02/xteink-x4/</guid><description>&lt;p>Just got myself a &lt;a href="https://www.xteink.com/">Xteink&lt;/a> X4 ebook reader.
It will be a companion for my &lt;a href="https://paapereira.xyz/blog/kindle-paperwhite-signature">Kindle Paperwhite&lt;/a>, not a replacement.&lt;/p>
&lt;p>&lt;img src="https://paapereira.xyz/blog/2026-02-14-xteink-x4/xteink-x4.png" alt="Xteink X4">&lt;/p>
&lt;blockquote>
&lt;p>The Xteink X4 is an ultra-thin, palm-sized pocket eReader created by an upstart tech company. It is widely recognized for its minimalist, distraction-free design and its unique magnetic-ready back, which allows users to attach it directly to the back of a smartphone using MagSafe-style rings.
Key Specifications&lt;/p>
&lt;ul>
&lt;li>Display: 4.3-inch glare-free E-Ink screen (220 ppi, 800×480 resolution).&lt;/li>
&lt;li>Dimensions: 4.9mm thin.&lt;/li>
&lt;li>Weight: 74 grams (significantly lighter than a standard smartphone).&lt;/li>
&lt;li>Storage: 16GB internal capacity via an included MicroSD card, storing thousands of books.&lt;/li>
&lt;li>Processor: Powered by an ESP32 chip with built-in Wi-Fi and Bluetooth.&lt;/li>
&lt;li>Battery: 650 mAh capacity, offering a 14-day battery life depending on daily reading habits.&lt;/li>
&lt;li>Hardware Controls: Features physical page-turn buttons.&lt;/li>
&lt;li>Lighting: Built without a front light to keep the profile ultra-thin and maximize paper-like display clarity.&lt;/li>
&lt;/ul>
&lt;/blockquote>
&lt;p>An excellent resource and community for this device it&amp;rsquo;s the &lt;a href="https://www.readme.club/">readme.club&lt;/a> and &lt;a href="https://www.reddit.com/r/xteinkereader/">Reddit&lt;/a>.&lt;/p></description></item><item><title>Scripting sending messages with SimpleX Chat CLI</title><link>https://paapereira.xyz/posts/2023/04/simplex-chat-cli/</link><pubDate>Tue, 25 Apr 2023 09:30:00 +0100</pubDate><guid>https://paapereira.xyz/posts/2023/04/simplex-chat-cli/</guid><description>&lt;p>&lt;a href="https://simplex.chat/">SimpleX Chat&lt;/a> as a CLI version. You can read more about it in my last &lt;a href="https://paapereira.xyz/posts/simplex-chat">post&lt;/a>.&lt;/p>
&lt;p>You can pass commands to simplex-chat, so&amp;hellip; I finally can send myself messages from my shell scripts in my server when something goes wrong.&lt;/p>
&lt;p>Something like: &lt;code>simplex-chat -e &amp;quot;@username A message&amp;quot;&lt;/code>&lt;/p>
&lt;p>It supports markdown so I can send it in red: &lt;code>simplex-chat -e &amp;quot;@username !1 A message!&amp;quot;&lt;/code>&lt;/p>
&lt;p>Inside simplex-chat you can list the options for markdown:&lt;/p></description></item><item><title>SimpleX Chat</title><link>https://paapereira.xyz/posts/2023/04/simplex-chat/</link><pubDate>Sun, 23 Apr 2023 14:00:00 +0100</pubDate><guid>https://paapereira.xyz/posts/2023/04/simplex-chat/</guid><description>&lt;p>&lt;a href="https://simplex.chat/">SimpleX Chat&lt;/a> is &amp;lsquo;The first messaging platform that has no user identifiers of any kind - 100% private by design&amp;rsquo;.&lt;/p>
&lt;p>I&amp;rsquo;ve been using it for a week or so but I can already tell that this is the one you if you minimally care about your data and your privacy.&lt;/p>
&lt;p>In the website you can read more about how does it work and the main features by scrolling through the &lt;a href="https://simplex.chat/">webpage&lt;/a>, read the &lt;a href="https://github.com/simplex-chat/simplexmq/blob/stable/protocol/overview-tjr.md">whitepaper&lt;/a> and read the &lt;a href="https://github.com/simplex-chat/simplex-chat/blob/stable/docs/guide/README.md">user guide&lt;/a>.&lt;/p></description></item><item><title>Activate WebDAV in Seafile</title><link>https://paapereira.xyz/posts/2022/12/webdav-seafile/</link><pubDate>Fri, 30 Dec 2022 14:00:00 +0000</pubDate><guid>https://paapereira.xyz/posts/2022/12/webdav-seafile/</guid><description>&lt;p>I turned off WebDAV in Seafile some time ago because it wasn&amp;rsquo;t working.&lt;/p>
&lt;p>Can&amp;rsquo;t remember the issue itself, but I wasn&amp;rsquo;t actively using it so&amp;hellip;&lt;/p>
&lt;p>I&amp;rsquo;m now in version 9.0.13. Here&amp;rsquo;s how I enable it.&lt;/p>
&lt;p>Make sure you have &lt;code>pycryptodome&lt;/code> installed.&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>sudo pip install pycryptodome&lt;span style="color:#f92672">==&lt;/span>3.12.0
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>Activate WebDAV in &lt;code>seafdav.conf&lt;/code>&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-text" data-lang="text">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>[WEBDAV]
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">2&lt;/span>&lt;span>enabled = true
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">3&lt;/span>&lt;span>port = 8888
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">4&lt;/span>&lt;span>share_name = /seafdav
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">5&lt;/span>&lt;span>show_repo_id = true
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>Configure &lt;code>ProxyPassReverse&lt;/code> in Apache. In my case &lt;code>/etc/httpd/conf/extra/httpd-vhosts.conf&lt;/code>&lt;/p></description></item><item><title>Upgrading Seafile from 7.1.x to 8.0.x</title><link>https://paapereira.xyz/posts/2022/01/upgrade-seafile-80-90/</link><pubDate>Sat, 01 Jan 2022 14:17:46 +0000</pubDate><guid>https://paapereira.xyz/posts/2022/01/upgrade-seafile-80-90/</guid><description>&lt;p>The new 9.0 &lt;a href="https://www.seafile.com/">Seafile&lt;/a> version is out. Time to upgrade. I&amp;rsquo;m currently running 8.0.16.&lt;/p>
&lt;p>Don&amp;rsquo;t forget to read the &lt;a href="https://manual.seafile.com/upgrade/upgrade_notes_for_9.0.x/">release notes&lt;/a> from Seafile.&lt;/p>
&lt;h2 id="before-upgrading">Before upgrading&lt;/h2>
&lt;p>Reading the &lt;a href="https://manual.seafile.com/upgrade/upgrade_notes_for_9.0.x/">release notes&lt;/a>, this version needs python modules. I also upgraded &lt;code>pip&lt;/code>&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>sudo /usr/bin/python -m pip install --upgrade pip
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">2&lt;/span>&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">3&lt;/span>&lt;span>sudo /usr/bin/python -m pip install pycryptodome&lt;span style="color:#f92672">==&lt;/span>3.12.0
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">4&lt;/span>&lt;span>sudo /usr/bin/python -m pip install cffi&lt;span style="color:#f92672">==&lt;/span>1.14.0
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>I had &lt;code>cffi&lt;/code> 1.15 in my system, I had to downgrade:&lt;/p></description></item><item><title>Seafile log4j vulnerability fix</title><link>https://paapereira.xyz/posts/2021/12/log4j-seafile/</link><pubDate>Thu, 30 Dec 2021 19:57:31 +0000</pubDate><guid>https://paapereira.xyz/posts/2021/12/log4j-seafile/</guid><description>&lt;p>There is a recent log4j vulnerability (CVE-2021-44228) affecting a ton or services and servers.&lt;/p>
&lt;p>Specifically for Seafile, you can read this &lt;a href="https://forum.seafile.com/t/security-advisory-seafile-servers-vulnerability-to-log4shell-log4j-vulnerability-cve-2021-44228/15590">post&lt;/a> in the forum to know more about this issue and how to fix it.&lt;/p>
&lt;p>Here are my notes about it.&lt;/p>
&lt;h2 id="scan-for-vulnerable-log4j-classes">Scan for vulnerable log4j classes&lt;/h2>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>sudo -u seafile_user -s /bin/sh
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">2&lt;/span>&lt;span>mkdir /tmp/log4jscan/
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">3&lt;/span>&lt;span>cd /tmp/log4jscan/
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">4&lt;/span>&lt;span>wget https://github.com/lunasec-io/lunasec/releases/download/v1.3.1-log4shell/log4shell_1.3.1-log4shell_Linux_x86_64
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">5&lt;/span>&lt;span>chmod +x log4shell_1.3.1-log4shell_Linux_x86_64
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">6&lt;/span>&lt;span>./log4shell_1.3.1-log4shell_Linux_x86_64 scan $HOME/seafile/seafile-server-latest/
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>You will see something like this:&lt;/p></description></item><item><title>Fixing Seafile</title><link>https://paapereira.xyz/posts/2021/12/2021-12-19-fixing-seafile/</link><pubDate>Sun, 19 Dec 2021 14:00:00 +0000</pubDate><guid>https://paapereira.xyz/posts/2021/12/2021-12-19-fixing-seafile/</guid><description>&lt;p>Similarly to the &lt;a href="https://paapereira.xyz/posts/fixing-seafile">beginning&lt;/a> of the year, I had a problem with Seafile. It was crashing and I couldn&amp;rsquo;t start it with systemd.&lt;/p>
&lt;p>Here&amp;rsquo;s my notes/steps/fixes for the issue.&lt;/p>
&lt;p>I stopped the services:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>sudo systemctl stop seahub
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">2&lt;/span>&lt;span>sudo systemctl stop seafile
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>Sudo into the seafile user:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>sudo -u seafileuser -s /bin/sh
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>Disabled the daemon mode and manually started seafile to see the output errors:&lt;/p></description></item><item><title>Fix theme option after upgrading rofi to 1.7.1</title><link>https://paapereira.xyz/posts/2021/11/rofi-default-theme-fix/</link><pubDate>Sun, 28 Nov 2021 11:59:57 +0000</pubDate><guid>https://paapereira.xyz/posts/2021/11/rofi-default-theme-fix/</guid><description>&lt;p>Following the latest &lt;a href="https://paapereira.xyz/posts/fix-theme-rofi/">1.7.0 rofi update&lt;/a>, the latest 1.7.1 version all &amp;ldquo;broke&amp;rdquo; my theming.&lt;/p>
&lt;p>Basically the &lt;code>theme&lt;/code> option changed.&lt;/p>
&lt;p>To fix I just add to my &lt;code>~/.config/rofi/config.rasi&lt;/code> file:&lt;/p>
&lt;p>Before:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>configuration &lt;span style="color:#f92672">{&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">2&lt;/span>&lt;span> &lt;span style="color:#f92672">(&lt;/span>...&lt;span style="color:#f92672">)&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">3&lt;/span>&lt;span> theme: &lt;span style="color:#e6db74">&amp;#34;~/.config/rofi/themes/dmenu.rasi&amp;#34;&lt;/span>;
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">4&lt;/span>&lt;span> &lt;span style="color:#f92672">(&lt;/span>...&lt;span style="color:#f92672">)&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">5&lt;/span>&lt;span>&lt;span style="color:#f92672">}&lt;/span>
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>After:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>configuration &lt;span style="color:#f92672">{&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">2&lt;/span>&lt;span> &lt;span style="color:#f92672">(&lt;/span>...&lt;span style="color:#f92672">)&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">3&lt;/span>&lt;span>&lt;span style="color:#f92672">}&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">4&lt;/span>&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">5&lt;/span>&lt;span>@theme &lt;span style="color:#e6db74">&amp;#34;~/.config/rofi/themes/dmenu.rasi&amp;#34;&lt;/span>
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div></description></item><item><title>Theme fix after upgrading rofi to 1.7.0</title><link>https://paapereira.xyz/posts/2021/09/fix-theme-rofi/</link><pubDate>Sat, 04 Sep 2021 15:31:55 +0100</pubDate><guid>https://paapereira.xyz/posts/2021/09/fix-theme-rofi/</guid><description>&lt;p>After upgrading to rofi 1.7.0 my themes where broken and weird.&lt;/p>
&lt;p>To fix I just add to my theme.rasi files:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>element-text, element-icon &lt;span style="color:#f92672">{&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">2&lt;/span>&lt;span> background-color: inherit;
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">3&lt;/span>&lt;span> text-color: inherit;
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">4&lt;/span>&lt;span>&lt;span style="color:#f92672">}&lt;/span>
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>Before the fix:&lt;/p>
&lt;p>&lt;img src="https://paapereira.xyz/blog/2021/2021-09-04-fix-theme-rofi/rofi-before.png" alt="before">&lt;/p>
&lt;p>After the fix (all normal again):&lt;/p>
&lt;p>&lt;img src="https://paapereira.xyz/blog/2021/2021-09-04-fix-theme-rofi/rofi-after.png" alt="after">&lt;/p></description></item><item><title>Improve pacman performance and add some flare</title><link>https://paapereira.xyz/posts/2021/06/pacman-performance-flare/</link><pubDate>Sat, 05 Jun 2021 15:12:45 +0100</pubDate><guid>https://paapereira.xyz/posts/2021/06/pacman-performance-flare/</guid><description>&lt;p>Want to improve pacman performance and add some flare to it?&lt;/p>
&lt;p>Add &lt;code>Color&lt;/code>, &lt;code>ILoveCandy&lt;/code> and &lt;code>ParallelDownloads&lt;/code> options in &lt;code>pacman.conf&lt;/code>.&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>sudo vi /etc/pacman.conf
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>Here&amp;rsquo;s my &amp;lsquo;Misc options&amp;rsquo; section:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-text" data-lang="text">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span># Misc options
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">2&lt;/span>&lt;span>#UseSyslog
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">3&lt;/span>&lt;span>Color
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">4&lt;/span>&lt;span>#TotalDownload
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">5&lt;/span>&lt;span>CheckSpace
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">6&lt;/span>&lt;span>VerbosePkgLists
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">7&lt;/span>&lt;span>ILoveCandy
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">8&lt;/span>&lt;span>ParallelDownloads = 5
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div></description></item><item><title>Reviewed bookmarks script</title><link>https://paapereira.xyz/posts/2021/04/reviewed-bookmarks-script/</link><pubDate>Sat, 10 Apr 2021 15:32:24 +0100</pubDate><guid>https://paapereira.xyz/posts/2021/04/reviewed-bookmarks-script/</guid><description>&lt;p>Following my &lt;a href="https://paapereira.xyz/posts/websearch-and-bookmarks-rofi/">previous post&lt;/a> I kept improving my &lt;code>bookmarks&lt;/code> script.&lt;/p>
&lt;p>I simplified the script to use only one bookmark file and defined a structure to help me while searching.&lt;/p>
&lt;h2 id="the-bookmarkstxt-file">The bookmarks.txt file&lt;/h2>
&lt;p>It has two sections (just for organization sake), a Quickmarks section for common urls and a Bookmarks section for everything else.&lt;/p>
&lt;p>Each line is divided in three parts. A category/name, tags and the url.&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 1&lt;/span>&lt;span>cat ~/.local/bin/bookmarks.txt
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 2&lt;/span>&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 3&lt;/span>&lt;span>&amp;gt;&amp;gt; Quickmarks
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 4&lt;/span>&lt;span>&lt;span style="color:#75715e">#&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 5&lt;/span>&lt;span>&lt;span style="color:#75715e">#---&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 6&lt;/span>&lt;span>📚books/Goodreads ...... &lt;span style="color:#f92672">(&lt;/span>reviews&lt;span style="color:#f92672">)&lt;/span> ......... https://www.goodreads.com/
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 7&lt;/span>&lt;span>📚books/Audible ........ &lt;span style="color:#f92672">(&lt;/span>audiobook&lt;span style="color:#f92672">)&lt;/span> ....... https://www.audible.com/
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 8&lt;/span>&lt;span>📚books/Kindle_Deals ... &lt;span style="color:#f92672">(&lt;/span>kindle,ebooks&lt;span style="color:#f92672">)&lt;/span> ... https://www.amazon.com/b/?ie&lt;span style="color:#f92672">=&lt;/span>UTF8&amp;amp;node&lt;span style="color:#f92672">=&lt;/span>11552285011&amp;amp;ref_&lt;span style="color:#f92672">=&lt;/span>sv_kstore_5
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 9&lt;/span>&lt;span>&lt;span style="color:#75715e">#---&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">10&lt;/span>&lt;span>🟠headspace ............ &lt;span style="color:#f92672">(&lt;/span>meditation&lt;span style="color:#f92672">)&lt;/span> ...... https://www.headspace.com/login
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">11&lt;/span>&lt;span>📶reddit ............... &lt;span style="color:#f92672">(&lt;/span>news,forum&lt;span style="color:#f92672">)&lt;/span> ...... https://www.reddit.com/
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">12&lt;/span>&lt;span>📺youtube .............. &lt;span style="color:#f92672">(&lt;/span>video,stream&lt;span style="color:#f92672">)&lt;/span> .... https://www.youtube.com/
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">13&lt;/span>&lt;span>⭐paapereira.xyz ....... &lt;span style="color:#f92672">(&lt;/span>blog&lt;span style="color:#f92672">)&lt;/span> ............ https://paapereira.xyz/
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">14&lt;/span>&lt;span>&lt;span style="color:#75715e">#&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">15&lt;/span>&lt;span>-------------------------------------------------------------------------------------------------------------------
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">16&lt;/span>&lt;span>&lt;span style="color:#75715e">#&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">17&lt;/span>&lt;span>&amp;gt;&amp;gt; Bookmarks
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">18&lt;/span>&lt;span>&lt;span style="color:#75715e">#&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">19&lt;/span>&lt;span>🏦banking/cgd.pt ..................... &lt;span style="color:#f92672">(&lt;/span>bank&lt;span style="color:#f92672">)&lt;/span> ............ https://www.cgd.pt/
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">20&lt;/span>&lt;span>🏦banking/big.pt ..................... &lt;span style="color:#f92672">(&lt;/span>bank&lt;span style="color:#f92672">)&lt;/span> ............ https://big.pt/
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">21&lt;/span>&lt;span>🏦banking/sodexo ..................... &lt;span style="color:#f92672">(&lt;/span>bank&lt;span style="color:#f92672">)&lt;/span> ............ https://www.sodexobeneficios.pt/
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">22&lt;/span>&lt;span>&lt;span style="color:#75715e">#---&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">23&lt;/span>&lt;span>&lt;span style="color:#75715e">#eof&lt;/span>
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h2 id="the-bookmarks-script">The bookmarks script&lt;/h2>
&lt;p>With this reviewed script you can also quickly edit the bookmarks.txt file.&lt;/p></description></item><item><title>Web searching and bookmarks using Rofi</title><link>https://paapereira.xyz/posts/2021/04/websearch-and-bookmarks-rofi/</link><pubDate>Fri, 02 Apr 2021 15:58:21 +0100</pubDate><guid>https://paapereira.xyz/posts/2021/04/websearch-and-bookmarks-rofi/</guid><description>&lt;p>Inspired in a recent &lt;a href="https://www.youtube.com/channel/UCVls1GmFKf6WlTraIb_IaJg">DT&lt;/a> video and his &lt;a href="https://gitlab.com/dwt1/dmscripts">Gitlab&lt;/a> repository, I revamped my websearch shell script I&amp;rsquo;ve been using with &lt;a href="https://paapereira.xyz/tags/rofi">Rofi&lt;/a>.&lt;/p>
&lt;p>I already had something very similar to this, but I took this opportunity to review the code and to separate my old websearch script into two scripts:&lt;/p>
&lt;ul>
&lt;li>websearch: web searching in an handful of sites&lt;/li>
&lt;li>bookmarks: quickly open bookmarks&lt;/li>
&lt;/ul>
&lt;h2 id="websearch">websearch&lt;/h2>
&lt;p>This script allows for searching in a number of sites.&lt;/p>
&lt;p>You can add your own sites by adding a new &amp;lsquo;options&amp;rsquo; line.&lt;/p></description></item><item><title>betterlockscreen: a simple, minimal lockscreen</title><link>https://paapereira.xyz/posts/2021/03/betterlockscreen/</link><pubDate>Sat, 27 Mar 2021 17:13:39 +0000</pubDate><guid>https://paapereira.xyz/posts/2021/03/betterlockscreen/</guid><description>&lt;p>&lt;a href="https://github.com/pavanjadhaw/betterlockscreen">betterlockscreen&lt;/a> is a simple and minimal lockscreen.&lt;/p>
&lt;p>I have been using &lt;code>i3lock&lt;/code>, witch conflicts with &lt;code>betterlockscreen&lt;/code>, so it will be uninstalled.&lt;/p>
&lt;p>To install:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>paru -S betterlockscreen
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">2&lt;/span>&lt;span>cp /usr/share/doc/betterlockscreen/examples/betterlockscreenrc ~/.config
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>In my case, using &lt;code>i3-gaps&lt;/code>, I added to &lt;code>~/.config/i3/config&lt;/code>:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-text" data-lang="text">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>exec --no-startup-id betterlockscreen -w dim
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">2&lt;/span>&lt;span>exec --no-startup-id xautolock -time 10 -corners 000- -locker &amp;#34;betterlockscreen -l dim&amp;#34;
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>And reviewed my session key bindings:&lt;/p></description></item><item><title>Using Epiphany to create applications from webpages</title><link>https://paapereira.xyz/posts/2021/03/webpages-as-applications/</link><pubDate>Sat, 20 Mar 2021 14:27:08 +0000</pubDate><guid>https://paapereira.xyz/posts/2021/03/webpages-as-applications/</guid><description>&lt;p>Using &lt;a href="https://wiki.gnome.org/Apps/Web">Gnome Web&lt;/a> (aka Epiphany), your can create &amp;lsquo;applications&amp;rsquo; from webpages.&lt;/p>
&lt;p>Using Plex as an example, this means that you can &amp;lsquo;install&amp;rsquo; Plex from &lt;a href="https://app.plex.tv/desktop#!/">https://app.plex.tv/desktop#!/&lt;/a>.&lt;/p>
&lt;p>First, install &lt;code>epiphany&lt;/code> and enable hardware acceleration.&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>paru -S epiphany gstreamer
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">2&lt;/span>&lt;span>gsettings set org.gnome.Epiphany.web:/ hardware-acceleration-policy &lt;span style="color:#e6db74">&amp;#39;always&amp;#39;&lt;/span>
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>Open &lt;code>epiphany&lt;/code> and go to &lt;a href="https://app.plex.tv/desktop#!/">https://app.plex.tv/desktop#!/&lt;/a>.&lt;/p>
&lt;p>&amp;ldquo;Install&amp;rdquo; as an application.&lt;/p>
&lt;p>&lt;img src="https://paapereira.xyz/blog/2021/2021-03-20-webpages-as-applications/webpages-as-applications.png" alt="webpages-as-applications">&lt;/p>
&lt;p>Plex will appear as an app.&lt;/p>
&lt;p>&lt;img src="https://paapereira.xyz/blog/2021/2021-03-20-webpages-as-applications/plex.png" alt="plex">&lt;/p></description></item><item><title>Rofi: a window switcher, application launcher and dmenu replacement</title><link>https://paapereira.xyz/posts/2021/03/rofi/</link><pubDate>Sun, 14 Mar 2021 14:27:52 +0000</pubDate><guid>https://paapereira.xyz/posts/2021/03/rofi/</guid><description>&lt;p>&lt;a href="https://github.com/davatorium/rofi">Rofi&lt;/a> is a &lt;em>window switcher, application launcher and &lt;a href="https://wiki.archlinux.org/index.php/dmenu">dmenu&lt;/a> replacement&lt;/em>.&lt;/p>
&lt;p>I’ve been using &lt;code>rofi&lt;/code> with &lt;code>i3-gaps&lt;/code> since early 2019. I had played with it before, but I’ve been using it daily the last couple of years.&lt;/p>
&lt;p>I use it to launch applications, open ssh sessions, with &lt;a href="https://paapereira.xyz/tags/pass">pass&lt;/a> and with a set of useful custom scripts.&lt;/p>
&lt;h2 id="installation">Installation&lt;/h2>
&lt;p>You need to install the &lt;code>rofi&lt;/code> package. I also installed &lt;code>rofi-dmenu&lt;/code> for dmenu compatibility, &lt;code>rofi-pass&lt;/code> to use with &lt;a href="https://paapereira.xyz/tags/pass">pass&lt;/a> and the extra &lt;code>rofi-emoji&lt;/code> and &lt;code>rofi-calc&lt;/code>.&lt;/p></description></item><item><title>Upgrading Seafile from 7.1.x to 8.0.x</title><link>https://paapereira.xyz/posts/2021/03/upgrade-seafile-71-80/</link><pubDate>Sat, 06 Mar 2021 14:08:33 +0000</pubDate><guid>https://paapereira.xyz/posts/2021/03/upgrade-seafile-71-80/</guid><description>&lt;p>The new 8.0.0 &lt;a href="https://www.seafile.com/">Seafile&lt;/a> version is out. Time to upgrade. I&amp;rsquo;m currently running 7.1.14.&lt;/p>
&lt;p>Don&amp;rsquo;t forget to read the &lt;a href="https://manual.seafile.com/upgrade/upgrade_notes_for_8.0.x/">release notes&lt;/a> from Seafile.&lt;/p>
&lt;h2 id="before-upgrading">Before upgrading&lt;/h2>
&lt;p>Reading the &lt;a href="https://manual.seafile.com/upgrade/upgrade_notes_for_8.0.x/">release notes&lt;/a>, this version needs the &lt;code>libmysqlclient-dev&lt;/code> (I&amp;rsquo;m using &lt;code>mariadb-libs&lt;/code>) package and new python modules.&lt;/p>
&lt;p>I just upgraded &lt;code>pip&lt;/code>, installed the new python modules and upgraded others.&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>sudo /usr/bin/python -m pip install --upgrade pip
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">2&lt;/span>&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">3&lt;/span>&lt;span>sudo pip3 install --timeout&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#ae81ff">3600&lt;/span> future mysqlclient
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">4&lt;/span>&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">5&lt;/span>&lt;span>sudo pip3 install --timeout&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#ae81ff">3600&lt;/span> Pillow pylibmc captcha jinja2 &lt;span style="color:#ae81ff">\
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">6&lt;/span>&lt;span>&lt;span style="color:#ae81ff">&lt;/span>	sqlalchemy django-pylibmc django-simple-captcha python3-ldap
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h2 id="upgrading">Upgrading&lt;/h2>
&lt;p>I started by stopping the services:&lt;/p></description></item><item><title>Moving my dotfiles repository to Gitlab</title><link>https://paapereira.xyz/posts/2021/02/moving-dotfiles-to-gitlab/</link><pubDate>Sat, 20 Feb 2021 17:19:31 +0000</pubDate><guid>https://paapereira.xyz/posts/2021/02/moving-dotfiles-to-gitlab/</guid><description>&lt;p>I&amp;rsquo;ve been using &lt;a href="https://keybase.io/">Keybase&lt;/a> to &lt;a href="https://paapereira.xyz/posts/manage-dotfiles/">manage my dotfiles&lt;/a> with git. Do give it a read to learn how I&amp;rsquo;m doing it.&lt;/p>
&lt;p>This is just how I moved the git server-side from Keybase to &lt;a href="https://gitlab.com/">Gitlab&lt;/a>.&lt;/p>
&lt;p>First of all create a new empty repository in Gitlab. I&amp;rsquo;ve created a &amp;lsquo;dotfiles&amp;rsquo; repository.&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 1&lt;/span>&lt;span>cd ~
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 2&lt;/span>&lt;span>alias dotfiles&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#e6db74">&amp;#39;/usr/bin/git --git-dir=$HOME/.dotfiles --work-tree=$HOME&amp;#39;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 3&lt;/span>&lt;span>dotfiles fetch origin
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 4&lt;/span>&lt;span>dotfiles remote add new-origin git@gitlab.com:your_username/dotfiles.git
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 5&lt;/span>&lt;span>dotfiles push --all new-origin
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 6&lt;/span>&lt;span>dotfiles remote rm origin
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 7&lt;/span>&lt;span>dotfiles remote rename new-origin origin
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 8&lt;/span>&lt;span>dotfiles add your_dotfile
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 9&lt;/span>&lt;span>dotfiles commit -m &lt;span style="color:#e6db74">&amp;#34;Updated configs&amp;#34;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">10&lt;/span>&lt;span>dotfiles push --set-upstream origin master
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div></description></item><item><title>Using profile-sync-daemon in LibreWolf</title><link>https://paapereira.xyz/posts/2021/02/profile-sync-daemon-librewolf/</link><pubDate>Sun, 07 Feb 2021 14:14:08 +0000</pubDate><guid>https://paapereira.xyz/posts/2021/02/profile-sync-daemon-librewolf/</guid><description>&lt;p>I talked about &lt;a href="https://paapereira.xyz/posts/librewolf/">LibreWolf&lt;/a> last month, and how I made &lt;a href="https://wiki.archlinux.org/index.php/profile-sync-daemon">profile-sync-daemon&lt;/a> work.&lt;/p>
&lt;p>The way I did made Firefox stop working, so this is the better way.&lt;/p>
&lt;p>Fixing what I did and set it correctly:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>sudo mv /usr/share/psd/browsers/firefox_bck /usr/share/psd/browsers/firefox
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">2&lt;/span>&lt;span>sudo cp /usr/share/psd/browsers/firefox /usr/share/psd/browsers/librewolf
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>Replacing &lt;code>.mozilla/firefox&lt;/code> with &lt;code>.librewolf&lt;/code> in &lt;code>/usr/share/psd/browsers/librewolf&lt;/code> and restart &lt;code>psd&lt;/code>.&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>sudo vi /usr/share/psd/browsers/librewolf
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">2&lt;/span>&lt;span>systemctl --user stop psd.service
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">3&lt;/span>&lt;span>systemctl --user start psd.service
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">4&lt;/span>&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">5&lt;/span>&lt;span>psd p
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div></description></item><item><title>Synchronizing the system clock across the network</title><link>https://paapereira.xyz/posts/2021/01/synchronizing-the-system-clock/</link><pubDate>Sun, 31 Jan 2021 14:41:57 +0000</pubDate><guid>https://paapereira.xyz/posts/2021/01/synchronizing-the-system-clock/</guid><description>&lt;p>&lt;em>systemd-timesyncd is a daemon that has been added for synchronizing the system clock across the network. (&amp;hellip;)&lt;/em>&lt;/p>
&lt;p>Basically it makes sure your system clock is in sync in you network. In my home network I set this up to make sure my desktop, server and laptop are in sync.&lt;/p>
&lt;p>I added NTP servers in the &lt;code>timesyncd&lt;/code> configuration file, before enabling and starting the service:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>sudo vi /etc/systemd/timesyncd.conf
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-text" data-lang="text">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>[Time]
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">2&lt;/span>&lt;span>NTP=0.arch.pool.ntp.org 1.arch.pool.ntp.org 2.arch.pool.ntp.org 3.arch.pool.ntp.org
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">3&lt;/span>&lt;span>FallbackNTP=0.pt.pool.ntp.org 1.europe.pool.ntp.org 2.europe.pool.ntp.org 
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>sudo systemctl enable systemd-timesyncd
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">2&lt;/span>&lt;span>sudo systemctl start systemd-timesyncd
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">3&lt;/span>&lt;span>sudo systemctl status systemd-timesyncd
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">4&lt;/span>&lt;span>timedatectl status
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">5&lt;/span>&lt;span>timedatectl timesync-status
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div></description></item><item><title>Fixing Seafile</title><link>https://paapereira.xyz/posts/2021/01/fixing-seafile/</link><pubDate>Sat, 30 Jan 2021 16:28:27 +0000</pubDate><guid>https://paapereira.xyz/posts/2021/01/fixing-seafile/</guid><description>&lt;p>Yesterday I woke up without access to my Seafile instance.&lt;/p>
&lt;p>Here&amp;rsquo;s my notes/steps/fixes for the issue.&lt;/p>
&lt;p>Restart Seafile and check for errors:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>sudo systemctl restart seafile
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">2&lt;/span>&lt;span>sudo systemctl status seafile
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">3&lt;/span>&lt;span>sudo systemctl restart seahub
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">4&lt;/span>&lt;span>sudo systemctl status seahub
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>No errors here.&lt;/p>
&lt;p>Check Seafile logs:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>sudo -u seafile -s /bin/sh
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">2&lt;/span>&lt;span>cd /srv/seafile/logs
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>I found the following in &lt;code>elasticsearch.log&lt;/code>:&lt;/p></description></item><item><title>LibreWolf - A fork of Firefox</title><link>https://paapereira.xyz/posts/2021/01/librewolf/</link><pubDate>Sat, 16 Jan 2021 18:33:53 +0000</pubDate><guid>https://paapereira.xyz/posts/2021/01/librewolf/</guid><description>&lt;p>&lt;em>&lt;a href="https://librewolf-community.gitlab.io/">LibreWolf&lt;/a> is a fork of Firefox, focused on privacy, security and freedom.&lt;/em>&lt;/p>
&lt;p>I&amp;rsquo;ve been trying it out and so far so good. It&amp;rsquo;s basically Firefox, but with out of the box enhanced security and without Mozilla telemetries, Pockets and stuffs.&lt;/p>
&lt;h2 id="installing">Installing&lt;/h2>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>paru -S librewolf-bin
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h2 id="set-librewolf-as-the-default-browser">Set LibreWolf as the default browser&lt;/h2>
&lt;p>I&amp;rsquo;m using i3-gaps.&lt;/p>
&lt;p>I need to change my &lt;code>.profile&lt;/code>.&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>vi .profile
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-text" data-lang="text">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>export BROWSER=&amp;#34;/usr/bin/librewolf&amp;#34;
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>And replace &lt;code>firefox&lt;/code> with &lt;code>librewolf&lt;/code> in the &lt;code>mimeapps.list&lt;/code> file.&lt;/p></description></item><item><title>Improving my Boot Time in Arch Linux (part 2)</title><link>https://paapereira.xyz/posts/2021/01/boot-time-2/</link><pubDate>Sat, 09 Jan 2021 16:38:55 +0000</pubDate><guid>https://paapereira.xyz/posts/2021/01/boot-time-2/</guid><description>&lt;p>After improving my boot time the &lt;a href="https://paapereira.xyz/posts/boot-time/">last time&lt;/a>, some (not all) boots were still taking time. It seemed to pause somewhere before the login screen.&lt;/p>
&lt;p>Analyzing the &lt;code>systemd&lt;/code> critical chain, looking for errors in &lt;code>journalctl&lt;/code> and some web searching, I found an &lt;a href="https://github.com/systemd/systemd/issues/15316">issue&lt;/a> in &lt;code>systemd&lt;/code> that matched my problem.&lt;/p>
&lt;p>In the issue there is the suggestion to install &lt;a href="https://wiki.archlinux.org/index.php/D-Bus">dbus-broker&lt;/a>. I did it and haven&amp;rsquo;t had any issue since.&lt;/p>
&lt;h2 id="looking-for-the-boot-time-issue">Looking for the boot time issue&lt;/h2>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>sudo systemd-analyze critical-chain
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">2&lt;/span>&lt;span>sudo journalctl -b -p err..alert
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>The journal from the issue (matched mine):&lt;/p></description></item><item><title>Starship - A cross-shell prompt</title><link>https://paapereira.xyz/posts/2020/12/starship/</link><pubDate>Sun, 06 Dec 2020 14:54:55 +0000</pubDate><guid>https://paapereira.xyz/posts/2020/12/starship/</guid><description>&lt;p>&lt;a href="https://starship.rs/">Starship&lt;/a> is a minimal, blazing-fast, and infinitely customizable prompt for any shell.&lt;/p>
&lt;p>You can see different options for the installation in the Starship site.&lt;/p>
&lt;p>In my case, in Arch Linux:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>paru starship-bin
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>After installing &lt;code>starship&lt;/code> you need to tell you shell to use it.&lt;/p>
&lt;p>In my case I&amp;rsquo;m using zsh and added the following to my &lt;code>.zshrc&lt;/code> file:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-text" data-lang="text">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span># starship shell
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">2&lt;/span>&lt;span>eval &amp;#34;$(starship init zsh)&amp;#34;
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>You can add customizations by creating a &lt;code>~/.config/starship.toml&lt;/code> file.&lt;/p></description></item><item><title>Paru - An AUR helper and pacman wrapper</title><link>https://paapereira.xyz/posts/2020/11/paru/</link><pubDate>Sun, 01 Nov 2020 15:26:57 +0000</pubDate><guid>https://paapereira.xyz/posts/2020/11/paru/</guid><description>&lt;p>&lt;a href="https://github.com/Morganamilo/paru">Paru&lt;/a> is an &lt;a href="aur.archlinux.org/">AUR&lt;/a> helper and pacman wrapper written in Rust and based on the design of &lt;code>yay&lt;/code>.&lt;/p>
&lt;p>I&amp;rsquo;ve been using &lt;code>yay&lt;/code> for about a year now and I&amp;rsquo;ll be playing around with &lt;code>paru&lt;/code> for the next weeks. I still have &lt;code>yay&lt;/code> installed and yes, I used &lt;code>yay&lt;/code> to install &lt;code>paru&lt;/code>.&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>yay -S paru-bin
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>Installing and upgrading packages from the Arch repositories or from the AUR it&amp;rsquo;s just like &lt;code>yay&lt;/code>.&lt;/p></description></item><item><title>Calibre 5 is out</title><link>https://paapereira.xyz/posts/2020/09/calibre-v5/</link><pubDate>Fri, 25 Sep 2020 15:22:57 +0100</pubDate><guid>https://paapereira.xyz/posts/2020/09/calibre-v5/</guid><description>&lt;p>Calibre 5 is out.&lt;/p>
&lt;p>I had &lt;a href="https://paapereira.xyz/posts/calibre/">installed&lt;/a> the python3 version. No need now, just install the &lt;code>calibre&lt;/code> package.&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>sudo pacman -S calibre
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div></description></item><item><title>Calibre ebook management</title><link>https://paapereira.xyz/posts/2020/09/calibre/</link><pubDate>Thu, 24 Sep 2020 11:17:31 +0100</pubDate><guid>https://paapereira.xyz/posts/2020/09/calibre/</guid><description>&lt;p>I’ve been playing around and migrating my book library to &lt;a href="https://calibre-ebook.com/">Calibre&lt;/a>.&lt;/p>
&lt;h2 id="installing">Installing&lt;/h2>
&lt;p>I installed the python3 version.&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>yay -S calibre-common calibre-python3
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h2 id="goodreads-plugin">Goodreads plugin&lt;/h2>
&lt;p>I installed the Goodreads plugin to connect to my &lt;a href="https://www.goodreads.com/paapereira">account&lt;/a> and sync my ratings and read dates (for this I created a &amp;lsquo;read_date&amp;rsquo; column.&lt;/p>
&lt;p>I also sync my top 100 books. For that I created a &amp;rsquo;top_100&amp;rsquo; column in Calibre and when syncing my &amp;lsquo;Top 100&amp;rsquo; shelf from Goodreads I update this column.&lt;/p></description></item><item><title>System backups with BorgBackup and BorgBase</title><link>https://paapereira.xyz/posts/2020/09/system-backups-borg/</link><pubDate>Wed, 23 Sep 2020 17:46:20 +0100</pubDate><guid>https://paapereira.xyz/posts/2020/09/system-backups-borg/</guid><description>&lt;p>Since my last &lt;a href="https://paapereira.xyz/posts/borg/">post&lt;/a> on &lt;a href="https://www.borgbackup.org/">BorgBackup&lt;/a> and &lt;a href="https://www.borgbase.com/">BorgBase&lt;/a>, I have subscribed to a 1 TB annual plan and have my daily and weekly /home backups running.&lt;/p>
&lt;p>The next thing to setup is my system backups. For this (for now) I’m using a more weekly manually approach.&lt;/p>
&lt;h2 id="installation">Installation&lt;/h2>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>sudo pacman -S borg
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h2 id="setup">Setup&lt;/h2>
&lt;ul>
&lt;li>Create a new key to use in your backups (&lt;em>leave the password blank, I couldn&amp;rsquo;t get it to work witch a password&lt;/em>)&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>sudo ssh-keygen -o -a &lt;span style="color:#ae81ff">100&lt;/span> -t ed25519
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>Add your key to BorgBase (Account &amp;gt; SSH Keys)&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>sudo cat /root/.ssh/id_ed25519.pub
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>
&lt;p>Create a new ‘desktop-system’ Repository in BorgBase and associate your SSH Key&lt;/p></description></item><item><title>Listening to podcast using gpodder, gpodder.net and AntennaPod</title><link>https://paapereira.xyz/posts/2020/09/gpodder-antennapod/</link><pubDate>Sun, 06 Sep 2020 11:43:13 +0100</pubDate><guid>https://paapereira.xyz/posts/2020/09/gpodder-antennapod/</guid><description>&lt;p>I’ve been using &lt;a href="https://www.pocketcasts.com/">PocketCasts&lt;/a> to listen to my podcasts for quite some time. In Android using with the app and in Linux in the website (using &lt;a href="https://gitlab.com/ColinDuquesnoy/MellowPlayer">MellowPlayer&lt;/a>).&lt;/p>
&lt;p>But I’ve also been looking to a more open source way to listen to my podcasts.&lt;/p>
&lt;p>I’m using for two weeks now &lt;a href="https://antennapod.org/">AntennaPod&lt;/a> in Android, &lt;a href="https://gpodder.net/">gpodder.net&lt;/a> to manage my subscriptions and &lt;a href="https://gpodder.github.io/">gpodder&lt;/a> in Arch Linux.&lt;/p>
&lt;h2 id="installation-and-setup">Installation and Setup&lt;/h2>
&lt;ul>
&lt;li>Install &lt;a href="https://antennapod.org/">AntennaPod&lt;/a> on &lt;a href="https://f-droid.org/packages/de.danoeh.antennapod/">F-Droid&lt;/a> or &lt;a href="https://play.google.com/store/apps/details?id=de.danoeh.antennapod">Google Play&lt;/a>&lt;/li>
&lt;li>Install &lt;a href="https://gpodder.github.io/">gpodder&lt;/a> (in my case in Arch Linux &lt;code>yay -S gpodder&lt;/code>)&lt;/li>
&lt;li>Create an account at &lt;a href="https://gpodder.net/">gpodder.net&lt;/a>&lt;/li>
&lt;li>Configure in AntennaPod and gpodder your new gpodder.net account&lt;/li>
&lt;/ul>
&lt;h2 id="managing-subscriptions">Managing Subscriptions&lt;/h2>
&lt;p>I exported my subscriptions in PocketCasts.&lt;/p></description></item><item><title>Remote backups using BorgBackup, Vorta and BorgBase</title><link>https://paapereira.xyz/posts/2020/08/borg/</link><pubDate>Sun, 23 Aug 2020 20:11:14 +0100</pubDate><guid>https://paapereira.xyz/posts/2020/08/borg/</guid><description>&lt;p>I’ve been using a mix of my own scripts with tar/gpg and &lt;a href="https://paapereira.xyz/tags/duplicity">duplicity&lt;/a> to manage my backups (local and remote).&lt;/p>
&lt;p>For some time now duplicity has been my choice, but lately it seems that every time a backup is interrupted it doesn’t restart at the archive it was at, but it starts from the beginning.&lt;/p>
&lt;p>Since I have many GB to backup, every time duplicity performs a full backup this is a problem because I have to leave my desktop on for many hours. Also the fans start doing overtime and my little &lt;a href="https://paapereira.xyz/tags/nuc">nuc&lt;/a> starts heating up.&lt;/p></description></item><item><title>Improving my Boot Time in Arch Linux</title><link>https://paapereira.xyz/posts/2020/08/boot-time/</link><pubDate>Sat, 22 Aug 2020 17:16:32 +0100</pubDate><guid>https://paapereira.xyz/posts/2020/08/boot-time/</guid><description>&lt;p>I was investigating and issue with &lt;a href="https://paapereira.xyz/tags/duplicity">duplicity&lt;/a> when I stumbled with &lt;code>systemd-analyze&lt;/code>.&lt;/p>
&lt;p>So I started to see what was contributing for my boot time and after that I started too see how to improved.&lt;/p>
&lt;p>This is by no means a guide, but just what I changed to improve.&lt;/p>
&lt;p>You can use &lt;code>sudo systemd-analyze blame&lt;/code> to see load time for every programs that loads at boot time and &lt;code>sudo systemd-analyze critical-chain&lt;/code> to basically see the critical programs that you could focus on.&lt;/p></description></item><item><title>Manage your Arch Linux mirrors with Reflector</title><link>https://paapereira.xyz/posts/2020/08/reflector/</link><pubDate>Sun, 02 Aug 2020 15:08:17 +0100</pubDate><guid>https://paapereira.xyz/posts/2020/08/reflector/</guid><description>&lt;p>From the &lt;a href="https://wiki.archlinux.org/index.php/Reflector">Arch Wiki&lt;/a>:&lt;/p>
&lt;p>&lt;em>&lt;a href="http://xyne.archlinux.ca/projects/reflector/">Reflector&lt;/a> is a script which can retrieve the latest mirror list from the &lt;a href="https://www.archlinux.org/mirrors/status/">MirrorStatus&lt;/a> page, filter the most up-to-date mirrors, sort them by speed and overwrite the file &lt;code>/etc/pacman.d/mirrorlist&lt;/code>.&lt;/em>&lt;/p>
&lt;h2 id="instalation">Instalation&lt;/h2>
&lt;ul>
&lt;li>Install reflector&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>yay -S reflector
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>Create the systemd service&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>sudo vi /etc/systemd/system/reflector.service
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-text" data-lang="text">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 1&lt;/span>&lt;span>[Unit]
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 2&lt;/span>&lt;span>Description=Pacman mirrorlist update
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 3&lt;/span>&lt;span>Wants=network-online.target
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 4&lt;/span>&lt;span>After=network-online.target nss-lookup.target
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 5&lt;/span>&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 6&lt;/span>&lt;span>[Service]
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 7&lt;/span>&lt;span>Type=oneshot
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 8&lt;/span>&lt;span>ExecStart=/usr/bin/reflector --verbose --protocol https --country &amp;#39;Portugal&amp;#39; --latest 30 --number 20 --sort rate --save /etc/pacman.d/mirrorlist
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 9&lt;/span>&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">10&lt;/span>&lt;span>[Install]
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">11&lt;/span>&lt;span>WantedBy=multi-user.target
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>sudo systemctl daemon-reload
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">2&lt;/span>&lt;span>sudo systemctl start reflector.service
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">3&lt;/span>&lt;span>sudo systemctl status reflector.service
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>You can enable the service. I prefer to control when the scripts executes.&lt;/p></description></item><item><title>Upgrading Seafile from 7.0.x to 7.1.x</title><link>https://paapereira.xyz/posts/2020/07/upgrade-seafile-70-71/</link><pubDate>Sun, 05 Jul 2020 14:24:44 +0100</pubDate><guid>https://paapereira.xyz/posts/2020/07/upgrade-seafile-70-71/</guid><description>&lt;p>&lt;img src="https://paapereira.xyz/blog/2020/2020-07-05-upgrade-seafile-70-71/seafile.png" alt="cover">&lt;/p>
&lt;p>I’ve waiting to upgrade to &lt;a href="https://www.seafile.com/">Seafile&lt;/a> 7.1 because I keep my installation manually and I wasn&amp;rsquo;t finding the *x86-64.tar.gz option to download.
After asking in the &lt;a href="https://forum.seafile.com/t/seafile-server-7-1-4-is-ready/11910/8">forums&lt;/a>, I discovered it&amp;rsquo;s just a change of name.&lt;/p>
&lt;p>Don&amp;rsquo;t forget to read the &lt;a href="https://download.seafile.com/published/seafile-manual/upgrade/upgrade_notes_for_7.1.x.md">release notes&lt;/a> from Seafile.&lt;/p>
&lt;h2 id="before-upgrading">Before upgrading&lt;/h2>
&lt;p>Reading the &lt;a href="https://download.seafile.com/published/seafile-manual/upgrade/upgrade_notes_for_7.1.x.md">release notes&lt;/a>, this version needs Python 3 and a set of modules.&lt;/p>
&lt;h3 id="python-3">Python 3&lt;/h3>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>yay -S python python-setuptools python-pip
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">2&lt;/span>&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">3&lt;/span>&lt;span>sudo pip3 install --timeout&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#ae81ff">3600&lt;/span> wheel Pillow pylibmc captcha jinja2 &lt;span style="color:#ae81ff">\
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">4&lt;/span>&lt;span>&lt;span style="color:#ae81ff">&lt;/span>	sqlalchemy django-pylibmc django-simple-captcha python3-ldap &lt;span style="color:#ae81ff">\
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">5&lt;/span>&lt;span>&lt;span style="color:#ae81ff">&lt;/span>	django-recaptcha django-ranged-response
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h3 id="memcached">Memcached&lt;/h3>
&lt;p>The Memcached configuration also changed in this version. I wasn&amp;rsquo;t using Memcached, so I took the opportunity to set it up.&lt;/p></description></item><item><title>🖥️ 🐧 Installing Arch Linux in my new NUC7i3BNH</title><link>https://paapereira.xyz/posts/2020/05/install-arch-linux-new-nuc7i3bnh/</link><pubDate>Sat, 09 May 2020 10:40:10 +0100</pubDate><guid>https://paapereira.xyz/posts/2020/05/install-arch-linux-new-nuc7i3bnh/</guid><description>&lt;p>&lt;img src="https://paapereira.xyz/blog/2020/2020-05-09-install-arch-linux-new-nuc7i3bnh/arch-linux.png" alt="cover">&lt;/p>
&lt;p>Time to setup my new &lt;a href="https://paapereira.xyz/blog/2020/05/new-nuc7i3bnh/">NUC7i3BNH&lt;/a>.&lt;/p>
&lt;p>I will install Arch Linux with no window manager and it will act as my home server with Seafile, Plex, Sickchill, sabnzbd, etc..&lt;/p>
&lt;h2 id="preparation">Preparation&lt;/h2>
&lt;h3 id="upgrade-bios-firmware">Upgrade BIOS Firmware&lt;/h3>
&lt;ol>
&lt;li>Download the latest &lt;a href="https://downloadcenter.intel.com/product/95066/Intel-NUC-Kit-NUC7i3BNH">BIOS&lt;/a>&lt;/li>
&lt;li>Copy the .bios file to a USB drive&lt;/li>
&lt;li>Boot and enter the upgrade page with F7&lt;/li>
&lt;/ol>
&lt;h3 id="burn-iso-to-usb-pen-drive">Burn ISO to USB pen drive&lt;/h3>
&lt;ol>
&lt;li>Download the &lt;a href="https://www.archlinux.org/download/">Arch Linux ISO&lt;/a>&lt;/li>
&lt;li>Burn the iso in the usb pen drive.&lt;/li>
&lt;/ol>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>lsblk
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">2&lt;/span>&lt;span>cd Downloads
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">3&lt;/span>&lt;span>sudo dd bs&lt;span style="color:#f92672">=&lt;/span>4M &lt;span style="color:#66d9ef">if&lt;/span>&lt;span style="color:#f92672">=&lt;/span>archlinux-2020.05.01-x86_64.iso of&lt;span style="color:#f92672">=&lt;/span>/dev/sdc status&lt;span style="color:#f92672">=&lt;/span>progress oflag&lt;span style="color:#f92672">=&lt;/span>sync
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h2 id="installation">Installation&lt;/h2>
&lt;p>Boot from the usb pen drive (setup the boot sequence entering the BIOS with F2).&lt;/p></description></item><item><title>Manage dotfiles using a git bare repository</title><link>https://paapereira.xyz/posts/2020/01/manage-dotfiles/</link><pubDate>Wed, 01 Jan 2020 18:33:15 +0000</pubDate><guid>https://paapereira.xyz/posts/2020/01/manage-dotfiles/</guid><description>&lt;p>I&amp;rsquo;ve been searching the best way to manage my dotfiles using git.&lt;/p>
&lt;p>After seeing this &lt;a href="https://www.youtube.com/watch?v=tBoLDpTWVOM">video&lt;/a> and checking this &lt;a href="https://www.atlassian.com/git/tutorials/dotfiles">tutorial&lt;/a> I decided to give it a go.&lt;/p>
&lt;p>I will be using &lt;a href="https://keybase.io/">keybase&lt;/a> as my (private) git repository.&lt;/p>
&lt;h2 id="create-and-setup-repository">Create and setup repository&lt;/h2>
&lt;ul>
&lt;li>Create a repository in keybase using the application&lt;/li>
&lt;li>Create a bare repository&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>mkdir -p $HOME/.dotfiles
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">2&lt;/span>&lt;span>git init --bare $HOME/.dotfiles
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">3&lt;/span>&lt;span>alias dotfiles&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#e6db74">&amp;#39;/usr/bin/git --git-dir=$HOME/.dotfiles --work-tree=$HOME&amp;#39;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">4&lt;/span>&lt;span>dotfiles config --local status.showUntrackedFiles no
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">5&lt;/span>&lt;span>echo &lt;span style="color:#e6db74">&amp;#34;alias dotfiles=&amp;#39;/usr/bin/git --git-dir=&lt;/span>$HOME&lt;span style="color:#e6db74">/.dotfiles --work-tree=&lt;/span>$HOME&lt;span style="color:#e6db74">&amp;#39;&amp;#34;&lt;/span> &amp;gt;&amp;gt; $HOME/.zshrc
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h2 id="adding-files">Adding files&lt;/h2>
&lt;ul>
&lt;li>Add a first file to test if everything is OK&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>dotfiles status
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">2&lt;/span>&lt;span>dotfiles add .vimrc
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">3&lt;/span>&lt;span>dotfiles commit -m &lt;span style="color:#e6db74">&amp;#34;Add vimrc&amp;#34;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">4&lt;/span>&lt;span>dotfiles remote add origin keybase://private/your_username/dotfiles
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">5&lt;/span>&lt;span>dotfiles push -u origin master
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>Every time you want to add a new file&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>dotfiles add .bashrc
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">2&lt;/span>&lt;span>dotfiles commit -m &lt;span style="color:#e6db74">&amp;#34;Add bashrc&amp;#34;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">3&lt;/span>&lt;span>dotfiles add .zshrc
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">4&lt;/span>&lt;span>dotfiles commit -m &lt;span style="color:#e6db74">&amp;#34;Add zshrc&amp;#34;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">5&lt;/span>&lt;span>dotfiles push
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h2 id="dotfiles-in-a-new-system">Dotfiles in a new system&lt;/h2>
&lt;ul>
&lt;li>In a new system, you can get your dotfiles by:&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 1&lt;/span>&lt;span>alias dotfiles&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#e6db74">&amp;#39;/usr/bin/git --git-dir=$HOME/.dotfiles --work-tree=$HOME&amp;#39;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 2&lt;/span>&lt;span>echo &lt;span style="color:#e6db74">&amp;#34;.dotfiles&amp;#34;&lt;/span> &amp;gt;&amp;gt; .gitignore
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 3&lt;/span>&lt;span>git clone --bare keybase://private/your_username/dotfiles $HOME/.dotfiles
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 4&lt;/span>&lt;span>dotfiles config --local status.showUntrackedFiles no
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 5&lt;/span>&lt;span>mkdir -p $HOME/.dotfiles-backup
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 6&lt;/span>&lt;span>dotfiles checkout
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 7&lt;/span>&lt;span>&lt;span style="color:#66d9ef">if&lt;/span> &lt;span style="color:#f92672">[&lt;/span> $? &lt;span style="color:#f92672">=&lt;/span> &lt;span style="color:#ae81ff">0&lt;/span> &lt;span style="color:#f92672">]&lt;/span>; &lt;span style="color:#66d9ef">then&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 8&lt;/span>&lt;span> echo &lt;span style="color:#e6db74">&amp;#34;Checked out config.&amp;#34;&lt;/span>;
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 9&lt;/span>&lt;span>&lt;span style="color:#66d9ef">else&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">10&lt;/span>&lt;span> echo &lt;span style="color:#e6db74">&amp;#34;Backing up pre-existing dot files.&amp;#34;&lt;/span>;
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">11&lt;/span>&lt;span> dotfiles checkout 2&amp;gt;&amp;amp;&lt;span style="color:#ae81ff">1&lt;/span> | egrep &lt;span style="color:#e6db74">&amp;#34;\s+\.&amp;#34;&lt;/span> | awk &lt;span style="color:#f92672">{&lt;/span>&lt;span style="color:#e6db74">&amp;#39;print $1&amp;#39;&lt;/span>&lt;span style="color:#f92672">}&lt;/span> | xargs -I&lt;span style="color:#f92672">{}&lt;/span> mv &lt;span style="color:#f92672">{}&lt;/span> $HOME/.dotfiles-backup/&lt;span style="color:#f92672">{}&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">12&lt;/span>&lt;span>&lt;span style="color:#66d9ef">fi&lt;/span>;
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">13&lt;/span>&lt;span>dotfiles checkout
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>Then, every time you want to refresh your dotfiles&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>dotfiles pull
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div></description></item><item><title>🖥️ 🐧 Installing Arch Linux in my new Surface Go</title><link>https://paapereira.xyz/posts/2019/11/install-arch-linux-surface-go/</link><pubDate>Sat, 30 Nov 2019 18:01:16 +0000</pubDate><guid>https://paapereira.xyz/posts/2019/11/install-arch-linux-surface-go/</guid><description>&lt;h2 id="surface-go">Surface Go&lt;/h2>
&lt;ul>
&lt;li>Surface Go (10&amp;rsquo;&amp;rsquo; - Intel Pentium Gold 4415Y - RAM: 8 GB - 128 GB SSD - Intel HD 615)&lt;/li>
&lt;li>Surface Go Black Type Cover&lt;/li>
&lt;/ul>
&lt;p>&lt;img src="https://paapereira.xyz/blog/2019/2019-11-30-install-arch-linux-surface-go/surface-go.png" alt="Surface Go">&lt;/p>
&lt;h2 id="final-setup">Final setup&lt;/h2>
&lt;ul>
&lt;li>Run only Linux&lt;/li>
&lt;li>Arch Linux&lt;/li>
&lt;li>Gnome&lt;/li>
&lt;/ul>
&lt;h2 id="preparation">Preparation&lt;/h2>
&lt;h3 id="needed-hardware">Needed hardware&lt;/h3>
&lt;ul>
&lt;li>Surface Go&lt;/li>
&lt;li>Surface Go Keyboard or USB keyboard/mouse&lt;/li>
&lt;li>USB pen drive&lt;/li>
&lt;li>USB Ethernet adapter&lt;/li>
&lt;li>USB-C to USB adapter + USB Hub or USB-C hub&lt;/li>
&lt;/ul>
&lt;h3 id="burn-iso-to-usb-pen-drive">Burn ISO to USB pen drive&lt;/h3>
&lt;ol>
&lt;li>Download the Arch Linux ISO.&lt;/li>
&lt;li>Burn the iso in the pen drive.&lt;/li>
&lt;/ol>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>sudo dd bs&lt;span style="color:#f92672">=&lt;/span>4M &lt;span style="color:#66d9ef">if&lt;/span>&lt;span style="color:#f92672">=&lt;/span>archlinux-2019.10.01-x86_64.iso of&lt;span style="color:#f92672">=&lt;/span>/dev/sdc status&lt;span style="color:#f92672">=&lt;/span>progress oflag&lt;span style="color:#f92672">=&lt;/span>sync
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h3 id="connect-the-dongles">Connect the dongles&lt;/h3>
&lt;p>Depending on your setup make sure you have the USB pen drive with the Arch Linux ISO burned and a Ehternet cable connected.&lt;/p></description></item><item><title>Folder thumbnails in Thunar</title><link>https://paapereira.xyz/posts/2019/08/folder-thumbnails-thunar/</link><pubDate>Tue, 13 Aug 2019 21:12:35 +0000</pubDate><guid>https://paapereira.xyz/posts/2019/08/folder-thumbnails-thunar/</guid><description>&lt;p>My favorite file manager is &lt;a href="https://docs.xfce.org/xfce/thunar/start">Thunar&lt;/a>, but it hasn’t folder thumbnails by default.&lt;/p>
&lt;p>Here’s how to enable it.&lt;/p>
&lt;ul>
&lt;li>Install tumbler and imagemagick&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>yay -S tumbler imagemagick
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>Create the following a folder.thumbnailer file and add the following&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>sudo vi /usr/share/thumbnailers/folder.thumbnailer
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-text" data-lang="text">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>[Thumbnailer Entry]
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">2&lt;/span>&lt;span>Version=1.0
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">3&lt;/span>&lt;span>Encoding=UTF-8
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">4&lt;/span>&lt;span>Type=X-Thumbnailer
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">5&lt;/span>&lt;span>Name=Folder Thumbnailer
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">6&lt;/span>&lt;span>MimeType=inode/directory;
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">7&lt;/span>&lt;span>Exec=/usr/bin/folder-thumbnailer %s %i %o %u
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>Create the folder-thumbnailer script&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>sudo vi /usr/bin/folder-thumbnailer
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-text" data-lang="text">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 1&lt;/span>&lt;span>#!/bin/bash
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 2&lt;/span>&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 3&lt;/span>&lt;span>convert -thumbnail &amp;#34;$1&amp;#34; &amp;#34;$2/folder.jpg&amp;#34; &amp;#34;$3&amp;#34; 1&amp;gt;/dev/null 2&amp;gt;&amp;amp;1 ||\
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 4&lt;/span>&lt;span>convert -thumbnail &amp;#34;$1&amp;#34; &amp;#34;$2/.folder.jpg&amp;#34; &amp;#34;$3&amp;#34; 1&amp;gt;/dev/null 2&amp;gt;&amp;amp;1 ||\
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 5&lt;/span>&lt;span>convert -thumbnail &amp;#34;$1&amp;#34; &amp;#34;$2/folder.png&amp;#34; &amp;#34;$3&amp;#34; 1&amp;gt;/dev/null 2&amp;gt;&amp;amp;1 ||\
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 6&lt;/span>&lt;span>convert -thumbnail &amp;#34;$1&amp;#34; &amp;#34;$2/cover.jpg&amp;#34; &amp;#34;$3&amp;#34; 1&amp;gt;/dev/null 2&amp;gt;&amp;amp;1 ||\
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 7&lt;/span>&lt;span>rm -f &amp;#34;$HOME/.cache/thumbnails/normal/$(echo -n &amp;#34;$4&amp;#34; | md5sum | cut -d &amp;#34; &amp;#34; -f1).png&amp;#34; ||\
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 8&lt;/span>&lt;span>rm -f &amp;#34;$HOME/.thumbnails/normal/$(echo -n &amp;#34;$4&amp;#34; | md5sum | cut -d &amp;#34; &amp;#34; -f1).png&amp;#34; ||\
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 9&lt;/span>&lt;span>rm -f &amp;#34;$HOME/.cache/thumbnails/large/$(echo -n &amp;#34;$4&amp;#34; | md5sum | cut -d &amp;#34; &amp;#34; -f1).png&amp;#34; ||\
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">10&lt;/span>&lt;span>rm -f &amp;#34;$HOME/.thumbnails/large/$(echo -n &amp;#34;$4&amp;#34; | md5sum | cut -d &amp;#34; &amp;#34; -f1).png&amp;#34; ||\
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">11&lt;/span>&lt;span>exit 1
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>sudo chmod +x /usr/bin/folder-thumbnailer
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>To add a thumbnail to a folder you just need to add a &lt;code>.folder.jpg&lt;/code> file and your set. You can decide to use different names in the &lt;code>/usr/bin/folder-thumbnailer&lt;/code> script.&lt;/p></description></item><item><title>pass - the standard unix password manager</title><link>https://paapereira.xyz/posts/2019/06/pass/</link><pubDate>Sat, 22 Jun 2019 18:31:17 +0100</pubDate><guid>https://paapereira.xyz/posts/2019/06/pass/</guid><description>&lt;p>I&amp;rsquo;ve been using &lt;a href="https://www.passwordstore.org/">pass&lt;/a> as my password manager for the last months.&lt;/p>
&lt;p>In Linux, Android and Windows.&lt;/p>
&lt;p>Here&amp;rsquo;s how I set it up and the apps that can be used.&lt;/p>
&lt;h2 id="installation">Installation&lt;/h2>
&lt;h3 id="arch-linux">Arch Linux&lt;/h3>
&lt;p>I installed &lt;code>pass&lt;/code>, &lt;code>pass-otp&lt;/code> for one time password support, &lt;code>dmenu&lt;/code> for an easy way to copy your passwords to the clipboard and if you prefer &lt;code>qtpass&lt;/code> foi a gui application.&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>sudo pacman -S pass pass-otp dmenu qtpass
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>You can use the command &lt;code>passmenu&lt;/code> to open a list of your passwords using &lt;code>dmenu&lt;/code>. For convenience you can assign it to a keyboard shortcut.&lt;/p></description></item><item><title>How to Make Qt Apps Match Dark Themes on Xfce</title><link>https://paapereira.xyz/posts/2019/02/make-qt-apps-match-dark-themes-xfce/</link><pubDate>Sat, 09 Feb 2019 18:40:14 +0000</pubDate><guid>https://paapereira.xyz/posts/2019/02/make-qt-apps-match-dark-themes-xfce/</guid><description>&lt;p>In summary, I prefer dark themes and my QT based applications weren’t matching this preference. I’m using Xfce.&lt;/p>
&lt;p>After some digging around, and this &lt;a href="https://www.youtube.com/watch?v=rP4DWu24ff0">video&lt;/a>, here’s what I did.&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-sh" data-lang="sh">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>$ nano ~/.config/Trolltech.conf
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;blockquote>
&lt;p>[Qt]
style=GTK+&lt;/p>
&lt;/blockquote>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-sh" data-lang="sh">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>$ sudo pacman -S qt5-styleplugins
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-sh" data-lang="sh">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>$ sudo nano /etc/environment
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;blockquote>
&lt;p>QT_QPA_PLATFORMTHEME=gtk2
QT_STYLE_OVERRIDE=gtk2&lt;/p>
&lt;/blockquote></description></item><item><title>Connecting to ProtonVPN in Arch Linux</title><link>https://paapereira.xyz/posts/2018/04/protonvpn/</link><pubDate>Sat, 14 Apr 2018 18:35:36 +0100</pubDate><guid>https://paapereira.xyz/posts/2018/04/protonvpn/</guid><description>&lt;p>I recently signed up with &lt;a href="https://protonvpn.com/support/linux-vpn-setup/">ProtonVPN&lt;/a>.&lt;/p>
&lt;p>Here’s how I connect in Arch Linux.&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>sudo pacman -S openvpn
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">2&lt;/span>&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">3&lt;/span>&lt;span>sudo wget -O protonvpn-cli.sh https://raw.githubusercontent.com/ProtonVPN/protonvpn-cli/master/protonvpn-cli.sh
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">4&lt;/span>&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">5&lt;/span>&lt;span>sudo chmod +x protonvpn-cli.sh
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">6&lt;/span>&lt;span>sudo ./protonvpn-cli.sh --install
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">7&lt;/span>&lt;span>sudo protonvpn-cli -init
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">8&lt;/span>&lt;span>sudo protonvpn-cli -connect
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">9&lt;/span>&lt;span>sudo protonvpn-cli -disconnect
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div></description></item><item><title>Disable the touchpad while typing</title><link>https://paapereira.xyz/posts/2017/11/touchpad-synaptics/</link><pubDate>Tue, 07 Nov 2017 11:45:22 +0000</pubDate><guid>https://paapereira.xyz/posts/2017/11/touchpad-synaptics/</guid><description>&lt;p>Here&amp;rsquo;s how I set things up to automatically disable the touchpad while typing in my laptop, using the driver&amp;rsquo;s automatic palm detection.&lt;/p>
&lt;p>These are just my notes. Check the entire Arch Wiki entry on &lt;a href="https://wiki.archlinux.org/index.php/Touchpad_Synaptics">Touchpad Synaptics&lt;/a>.&lt;/p>
&lt;p>First of all you should test if it works properly for your touchpad and if the settings are accurate. Enable palm detection with &lt;code>synclient PalmDetect=1&lt;/code>.&lt;/p>
&lt;p>Then test the typing. You can tweak the detection by setting the minimum width for the touch to be considered a palm, for example &lt;code>synclient PalmMinWidth=8&lt;/code>.&lt;/p></description></item><item><title>Seafile Installation Notes in Arch Linux</title><link>https://paapereira.xyz/posts/2017/05/seafile-installation/</link><pubDate>Sun, 28 May 2017 18:23:43 +0100</pubDate><guid>https://paapereira.xyz/posts/2017/05/seafile-installation/</guid><description>&lt;p>These are my notes about installing &lt;a href="https://www.seafile.com/">Seafile&lt;/a> in my Arch Linux home server.&lt;/p>
&lt;p>&lt;em>Note:&lt;/em> I have reviewed and added to these notes several times.&lt;/p>
&lt;p>I&amp;rsquo;m using:&lt;/p>
&lt;ul>
&lt;li>Seafile&lt;/li>
&lt;li>A NUC with Arch Linux as my home server&lt;/li>
&lt;li>A WD My Cloud NAS&lt;/li>
&lt;/ul>
&lt;h2 id="setup-a-nas-share">Setup a NAS share&lt;/h2>
&lt;ul>
&lt;li>
&lt;p>Create a new share &lt;code>seafile&lt;/code>&lt;/p>
&lt;/li>
&lt;li>
&lt;p>Create a new directory in the server&lt;/p>
&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>sudo mkdir /home/nas/seafile
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">2&lt;/span>&lt;span>sudo chmod &lt;span style="color:#ae81ff">750&lt;/span> /home/nas/seafile
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">3&lt;/span>&lt;span>sudo chown seafile:seafile /home/nas/seafile
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>Setup a mountpoint in the server&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>sudo vi /etc/fstab
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-text" data-lang="text">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>nas:/nfs/seafile /home/nas/seafile nfs users,noauto,x-systemd.automount,x-systemd.device-timeout=10,timeo=14,soft,intr,noatime,file_mode=0640,dir_mode=0750 0 0
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>Set NO_ROOT_SWASH in the WD My Cloud NFS exports configuration (when I restart my NAS I have to do this again&amp;hellip;)&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>ssh -oHostKeyAlgorithms&lt;span style="color:#f92672">=&lt;/span>+ssh-dss sshd@192.168.0.99
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>vi /etc/exports
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-text" data-lang="text">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>&amp;#34;/nfs/seafile&amp;#34; *(rw,no_root_squash,sync,no_wdelay,insecure_locks,insecure,no_subtree_check,anonuid=501,anongid=1000)
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>exportfs -r
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h2 id="server-installation">Server installation&lt;/h2>
&lt;h3 id="pre-requisites">Pre-requisites&lt;/h3>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 1&lt;/span>&lt;span>sudo pacman -S python-imaging mysql-python
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 2&lt;/span>&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 3&lt;/span>&lt;span>mkdir /tmp/cower
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 4&lt;/span>&lt;span>cd /tmp/cower
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 5&lt;/span>&lt;span>cower -d libsearpc
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 6&lt;/span>&lt;span>cd /tmp/cower/libsearpc
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 7&lt;/span>&lt;span>makepkg -sri
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 8&lt;/span>&lt;span>cower -d libsepol
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 9&lt;/span>&lt;span>cd /tmp/cower/libsepol
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">10&lt;/span>&lt;span>makepkg -sri
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">11&lt;/span>&lt;span>cower -d libselinux
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">12&lt;/span>&lt;span>cd /tmp/cower/libselinux
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">13&lt;/span>&lt;span>makepkg -sri
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h3 id="download-seafile">Download Seafile&lt;/h3>
&lt;p>&lt;a href="https://www.seafile.com/en/download/">https://www.seafile.com/en/download/&lt;/a>&lt;/p></description></item><item><title>Install TagSpaces on Linux</title><link>https://paapereira.xyz/posts/2016/12/install-tagspaces/</link><pubDate>Wed, 14 Dec 2016 21:02:24 +0000</pubDate><guid>https://paapereira.xyz/posts/2016/12/install-tagspaces/</guid><description>&lt;p>I’ve been using &lt;a href="https://www.tagspaces.org/">TagSpaces&lt;/a> from some time now, and I ended up to buy a Pro version.&lt;/p>
&lt;p>You get the Pro version by receiving a download link by email. I’m on Arch Linux and the pro versions provided are not for Arch, but it has a .deb version.&lt;/p>
&lt;p>Here&amp;rsquo;s how to install it on Arch. Updating is basically the same.&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 1&lt;/span>&lt;span>yaourt -S xarchiver electron libgcrypt15
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 2&lt;/span>&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 3&lt;/span>&lt;span>cd ~/Downloads
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 4&lt;/span>&lt;span>mv tagspaces-pro-2.5.0-amd64.deb tagspaces-pro-2.5.0-amd64.ar
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 5&lt;/span>&lt;span>xarchiver -x ./tagspaces tagspaces-pro-2.5.0-amd64.ar
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 6&lt;/span>&lt;span>xarchiver -x . data.tar.xz
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 7&lt;/span>&lt;span>rm -f control.tar.gz
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 8&lt;/span>&lt;span>rm -f debian-binary
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 9&lt;/span>&lt;span>rm -f data.tar.xz
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">10&lt;/span>&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">11&lt;/span>&lt;span>sudo cp -R opt/ /
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">12&lt;/span>&lt;span>rm -rf opt
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">13&lt;/span>&lt;span>sudo cp -R usr/ /
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">14&lt;/span>&lt;span>rm -rf usr/
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">15&lt;/span>&lt;span>rm -f ~/Downloads/tagspaces-pro-2.5.0-amd64.ar
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">16&lt;/span>&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">17&lt;/span>&lt;span>vi ~/.local/share/applications/tagspaces.desktop
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-text" data-lang="text">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>[Desktop Entry]
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">2&lt;/span>&lt;span>Name=tagspaces
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">3&lt;/span>&lt;span>Comment=Offline document organizer and browser for your local files, supporting easy file tagging and document editing.
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">4&lt;/span>&lt;span>Exec=/opt/tagspaces/tagspaces
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">5&lt;/span>&lt;span>Terminal=false
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">6&lt;/span>&lt;span>Type=Application
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">7&lt;/span>&lt;span>Icon=/usr/share/icons/hicolor/512x512/apps/tagspaces.png
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div></description></item><item><title>Gnome Touchpad Issue</title><link>https://paapereira.xyz/posts/2016/12/gnome-touchpad-issue/</link><pubDate>Sun, 04 Dec 2016 22:54:32 +0000</pubDate><guid>https://paapereira.xyz/posts/2016/12/gnome-touchpad-issue/</guid><description>&lt;p>In Gnome 3.20 (I think) Gnome switched to use &lt;code>libinput&lt;/code> over &lt;code>synaptic&lt;/code> for the touchpad lib.&lt;/p>
&lt;p>You need to remove &lt;code>xf86-input-synaptic&lt;/code> and install &lt;code>xf86-input-libinput&lt;/code>. You&amp;rsquo;ll also need to remove the synaptic config file.&lt;/p></description></item><item><title>Use Reflector to update your pacman mirror list</title><link>https://paapereira.xyz/posts/2016/12/reflector-arch-linux/</link><pubDate>Sun, 04 Dec 2016 20:22:12 +0000</pubDate><guid>https://paapereira.xyz/posts/2016/12/reflector-arch-linux/</guid><description>&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>sudo pacman -S reflector
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">2&lt;/span>&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">3&lt;/span>&lt;span>sudo vi /etc/systemd/system/reflector.service
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-text" data-lang="text">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>[Unit]
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">2&lt;/span>&lt;span>Description=Pacman mirrorlist update
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">3&lt;/span>&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">4&lt;/span>&lt;span>[Service]
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">5&lt;/span>&lt;span>Type=oneshot
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">6&lt;/span>&lt;span>ExecStart=/usr/bin/reflector --verbose --country &amp;#39;Portugal&amp;#39; -l 5 -p http --sort rate --save /etc/pacman.d/mirrorlist
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>sudo systemctl start reflector
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div></description></item><item><title>GPG encrypted backups to rsync.net</title><link>https://paapereira.xyz/posts/2016/11/rsyncnet-gpg-backups/</link><pubDate>Mon, 28 Nov 2016 21:02:25 +0000</pubDate><guid>https://paapereira.xyz/posts/2016/11/rsyncnet-gpg-backups/</guid><description>&lt;p>I use &lt;a href="https://rsync.net">rsync.net&lt;/a> for my cloud/offline backups.&lt;/p>
&lt;p>Here’s how to do gpg encrypted backups.&lt;/p>
&lt;ul>
&lt;li>Mount rsync.net using &lt;code>sshfs&lt;/code> and create a backup folder&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>mkdir -p /home/your_user/rsync.net/
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">2&lt;/span>&lt;span>sshfs 99999@server.rsync.net: /home/your_user/rsync.net/
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">3&lt;/span>&lt;span>mkdir -p /home/your_user/rsync.net/backups/
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>Create and encript a directory&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>tar --xattrs -czpvf /tmp/2016-11-28_my_dir.tgz -C /home/your_user/my_dir .
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">2&lt;/span>&lt;span>gpg --cipher-algo aes256 -c -o /home/your_user/rsync.net/backups/2016-11-28_my_dir.tgz.gpg /tmp/2016-11-28_my_dir.tgz
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>Restore and decrypt a directory&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>mkdir -p /tmp/extract
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">2&lt;/span>&lt;span>cd /tmp/extract
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">3&lt;/span>&lt;span>gpg -o- /tmp/2016-11-28_my_dir.tgz.gpg | tar zxvf -
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>Unmount rsync.net&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>fusermount -u /home/your_user/rsync.net/
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div></description></item><item><title>Backups using ecryptfs and rsync.net</title><link>https://paapereira.xyz/posts/2016/11/rsyncnet-ecryptfs-backups/</link><pubDate>Sun, 27 Nov 2016 21:12:33 +0000</pubDate><guid>https://paapereira.xyz/posts/2016/11/rsyncnet-ecryptfs-backups/</guid><description>&lt;p>I use &lt;a href="https://rsync.net">rsync.net&lt;/a> for my cloud/offline backups.&lt;/p>
&lt;p>Here’s how to do encrypted backups using &lt;code>ecryptfs&lt;/code>.&lt;/p>
&lt;ul>
&lt;li>Install &lt;code>ecryptfs-utils&lt;/code>&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>sudo pacman -S ecryptfs-utils
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>Generate a passphrase&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>ecryptfs-setup-private --nopwcheck --noautomount
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>Mount rsync.net using &lt;code>sshfs&lt;/code> and create a backup folder&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>mkdir -p /home/your_user/rsync.net/
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">2&lt;/span>&lt;span>sshfs 99999@server.rsync.net: /home/your_user/rsync.net/
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">3&lt;/span>&lt;span>mkdir -p /home/your_user/rsync.net/backups/
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>Mount the backups folder as an encrypted filesystem and copy some files&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>sudo mount -t ecryptfs ~/.Private /home/your_user/rsync.net/backups -o key&lt;span style="color:#f92672">=&lt;/span>passphrase,ecryptfs_cipher&lt;span style="color:#f92672">=&lt;/span>aes,ecryptfs_key_bytes&lt;span style="color:#f92672">=&lt;/span>24,ecryptfs_passthrough&lt;span style="color:#f92672">=&lt;/span>n,ecryptfs_enable_filename_crypto&lt;span style="color:#f92672">=&lt;/span>n
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>Unmount rsync.net and the encrypted filesystem mount&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>sudo umount ~/Private
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">2&lt;/span>&lt;span>fusermount -u /home/your_user/rsync.net/
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div></description></item><item><title>Remove pacman cache</title><link>https://paapereira.xyz/posts/2016/11/remove-pacman-cache/</link><pubDate>Thu, 10 Nov 2016 21:33:11 +0000</pubDate><guid>https://paapereira.xyz/posts/2016/11/remove-pacman-cache/</guid><description>&lt;p>&lt;code>pacman&lt;/code> keeps a cache of package versions it installs in &lt;code>/var/cache/pacman/pkg/&lt;/code>.&lt;/p>
&lt;p>As you install and upgrade more packages, the more it grows.&lt;/p>
&lt;p>So, it&amp;rsquo;s a good ideia to clean it from time to time.&lt;/p>
&lt;p>If you want to keep the last 2 versions of each package as an example, just execute the following.&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>sudo paccache -rk 2
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">2&lt;/span>&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">3&lt;/span>&lt;span>&lt;span style="color:#f92672">==&lt;/span>&amp;gt; finished: &lt;span style="color:#ae81ff">2670&lt;/span> packages removed &lt;span style="color:#f92672">(&lt;/span>disk space saved: 8.49 GiB&lt;span style="color:#f92672">)&lt;/span>
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div></description></item><item><title>Nextcloud Arch Linux installation</title><link>https://paapereira.xyz/posts/2016/11/nextcloud-arch-linux-install/</link><pubDate>Mon, 07 Nov 2016 22:44:10 +0000</pubDate><guid>https://paapereira.xyz/posts/2016/11/nextcloud-arch-linux-install/</guid><description>&lt;p>There are my notes for installing &lt;a href="https://wiki.archlinux.org/index.php/nextcloud">Nextcloud in Arch Linux&lt;/a> in my home server.&lt;/p>
&lt;h2 id="server-installation">Server installation&lt;/h2>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>sudo pacman -Syu apache php php-apache mariadb
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">2&lt;/span>&lt;span>cower -d nextcloud
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">3&lt;/span>&lt;span>sudo pacman -Syu php-gd php-intl php-mcrypt php-apcu
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h2 id="php-configuration">PHP configuration&lt;/h2>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>sudo nano /etc/php/php.ini
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>Uncomment the following modules:&lt;/p>
&lt;ul>
&lt;li>gd.so&lt;/li>
&lt;li>iconv.so&lt;/li>
&lt;li>xmlrpc.so&lt;/li>
&lt;li>zip.so&lt;/li>
&lt;li>extension=pdo_mysql.so&lt;/li>
&lt;li>bz2.so&lt;/li>
&lt;li>curl.so&lt;/li>
&lt;li>intl.so&lt;/li>
&lt;li>mcrypt.so&lt;/li>
&lt;/ul>
&lt;p>Add the following to open_basedir:&lt;/p>
&lt;p>&lt;code>/tmp:/usr/share/webapps/nextcloud:/dev/urandom&lt;/code>&lt;/p>
&lt;h2 id="mariadb-setup">MariaDB setup&lt;/h2>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>sudo mysql_install_db -–user&lt;span style="color:#f92672">=&lt;/span>mysql -–basedir&lt;span style="color:#f92672">=&lt;/span>/usr -–datadir&lt;span style="color:#f92672">=&lt;/span>/var/lib/mysql
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">2&lt;/span>&lt;span>sudo systemctl enable mariadb.service
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">3&lt;/span>&lt;span>sudo systemctl start mariadb.service
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">4&lt;/span>&lt;span>sudo systemctl status mariadb.service
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">5&lt;/span>&lt;span>sudo mysql_secure_installation
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h2 id="create-nextcloud-database">Create Nextcloud database&lt;/h2>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>mysql -u root -p
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">2&lt;/span>&lt;span> CREATE DATABASE IF NOT EXISTS nextcloud;
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">3&lt;/span>&lt;span> CREATE USER ‘username’@’localhost’ IDENTIFIED BY ‘password’;
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">4&lt;/span>&lt;span> GRANT ALL PRIVILEGES ON nextcloud.* TO ‘username’@’localhost’ IDENTIFIED BY ‘password’;
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">5&lt;/span>&lt;span> quit
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h2 id="apache-setup">Apache setup&lt;/h2>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>sudo cp /etc/webapps/nextcloud/apache.example.conf /etc/httpd/conf/extra/nextcloud.conf
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">2&lt;/span>&lt;span>sudo nano /etc/httpd/conf/httpd.conf
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>Comment the line:&lt;/p></description></item><item><title>Fixing Google with 2-Step Verification Online Account in Gnome 3.8</title><link>https://paapereira.xyz/posts/2013/06/fixing-google-with-2-step-verification/</link><pubDate>Fri, 14 Jun 2013 19:03:00 +0100</pubDate><guid>https://paapereira.xyz/posts/2013/06/fixing-google-with-2-step-verification/</guid><description>&lt;p>In my &lt;a href="https://paapereira.xyz/tags/arch-linux">Arch&lt;/a> adventures I added my Google account in the Online Accounts.&lt;/p>
&lt;p>&lt;img src="https://paapereira.xyz/blog/2013/2013-06-14-fixing-google-with-2-step-verification/settings.png" alt="Settings &amp;gt; Online Accounts">&lt;/p>
&lt;p>Having the 2-Step Verification activated, after I logged in with my password, and entered the token, the account the credentials expired.&lt;/p>
&lt;p>After trying again, same thing.&lt;/p>
&lt;p>I&amp;rsquo;m in Arch with GNOME 3.8.3.&lt;/p>
&lt;p>So, after some googling I found a solution in the &lt;a href="https://bbs.archlinux.org/viewtopic.php?id=152973">Arch forum&lt;/a>.&lt;/p>
&lt;ul>
&lt;li>Generate a Google Application-specific password;&lt;/li>
&lt;li>Go to Passwords and Keys (seahorse);&lt;/li>
&lt;li>Find your Google credentials (something like &amp;ldquo;GOA google credentials&amp;hellip;&amp;rdquo;);&lt;/li>
&lt;li>Right click &amp;gt; Properties;&lt;/li>
&lt;li>Click on Show password;&lt;/li>
&lt;li>Replace your password with the application-specific password you generated:&lt;/li>
&lt;/ul>
&lt;blockquote>
&lt;p>{&amp;lsquo;authorization_code&amp;rsquo;: (&amp;hellip;&amp;hellip;), &amp;lsquo;password&amp;rsquo;: &amp;lt;&amp;rsquo;&lt;strong>YOUR_APPLIC_SPECIFIC_PASS&lt;/strong>&amp;rsquo;&amp;gt;}&lt;/p></description></item><item><title>Adventures in Arch (Part IV): Install extra programs</title><link>https://paapereira.xyz/posts/2013/06/adventures-in-arch-part-iv-install/</link><pubDate>Mon, 10 Jun 2013 18:47:00 +0100</pubDate><guid>https://paapereira.xyz/posts/2013/06/adventures-in-arch-part-iv-install/</guid><description>&lt;p>In this part I will show the extra programs I installed.&lt;/p>
&lt;p>I will keep updating this post in the next weeks, to add more programs installed.&lt;/p>
&lt;p>&lt;img src="https://paapereira.xyz/blog/2013/2013-06-10-adventures-in-arch-part-iv-install/arch-linux.png" alt="Arch Linux">&lt;/p>
&lt;p>This is the list of programs I have installed:&lt;/p>
&lt;ul>
&lt;li>Chrome (download from &lt;a href="https://aur.archlinux.org/packages/google-chrome-beta/">AUR&lt;/a>)&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>mkdir builds
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">2&lt;/span>&lt;span>cd builds
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">3&lt;/span>&lt;span>tar -xzf google-chrome-beta.tar.gz
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">4&lt;/span>&lt;span>cd google-chrome-beta
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">5&lt;/span>&lt;span>makepkg -s
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">6&lt;/span>&lt;span>sudo pacman -U google-chrome-beta-28.0.1500.36-1-x86_64.pkg.tar.xz
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>GNOME Tweak Tool&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>sudo pacman -S gnome-tweak-tool
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>Tomboy&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>sudo pacman -S tomboy
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>To get my notes I recovered the following folders from my /home backup:&lt;/p></description></item><item><title>Adventures in Arch (Part III): Customizing</title><link>https://paapereira.xyz/posts/2013/06/adventures-in-arch-part-iii-customizing/</link><pubDate>Sun, 09 Jun 2013 20:20:00 +0100</pubDate><guid>https://paapereira.xyz/posts/2013/06/adventures-in-arch-part-iii-customizing/</guid><description>&lt;p>In this part I will show the customizations I made in the desktop environment.&lt;/p>
&lt;p>I will keep updating this post in the next weeks, in case I have other tips.&lt;/p>
&lt;p>&lt;img src="https://paapereira.xyz/blog/2013/2013-06-09-adventure-in-arch-part-i-installing/customizing.png" alt="Arch Linux">&lt;/p>
&lt;h2 id="fonts">Fonts&lt;/h2>
&lt;p>I like Ubuntu fonts so:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>sudo pacman -S ttf-ubuntu-font-family
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h2 id="gnome-shell-tweaks">GNOME Shell tweaks&lt;/h2>
&lt;p>&lt;img src="https://paapereira.xyz/blog/2013/2013-06-09-adventure-in-arch-part-i-installing/tweak-tool.png" alt="Tweak Tool">&lt;/p>
&lt;p>Install GNOME Tweak Tool:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>sudo pacman -S gnome-tweak-tool
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>Some changes I made:&lt;/p>
&lt;ul>
&lt;li>Files Menu: activated the option to always use the location entry.&lt;/li>
&lt;li>Fonts: I changed all the fonts to Ubuntu.&lt;/li>
&lt;li>Shell: activated Show Date in clock; chose All in the arrangement of buttons on the titlebar.&lt;/li>
&lt;li>Theme: enabled dark theme.&lt;/li>
&lt;li>Typing: chose Control + Alt + Backspace to kill the X Server.&lt;/li>
&lt;/ul>
&lt;h2 id="gnome-extensions">GNOME extensions&lt;/h2>
&lt;p>Using GNOME&amp;rsquo;s Web browser go to: &lt;a href="https://extensions.gnome.org/">https://extensions.gnome.org/&lt;/a>&lt;/p></description></item><item><title>Adventures in Arch (Part II): Fine Tuning</title><link>https://paapereira.xyz/posts/2013/06/adventures-in-arch-part-ii-fine-tuning/</link><pubDate>Sun, 09 Jun 2013 17:31:00 +0100</pubDate><guid>https://paapereira.xyz/posts/2013/06/adventures-in-arch-part-ii-fine-tuning/</guid><description>&lt;p>In this part I will show the fine tuning I made in the system.
I will keep updating this post in the next weeks, in case I have other tips.&lt;/p>
&lt;p>&lt;img src="https://paapereira.xyz/blog/2013/2013-06-09-adventure-in-arch-part-i-installing/fine-tuning.png" alt="Arch Linux">&lt;/p>
&lt;h2 id="fstab">fstab&lt;/h2>
&lt;p>Since I have the system installed in a &lt;a href="https://wiki.archlinux.org/index.php/SSD">SSD&lt;/a> drive, I changed the mount flags in fstab to trim the drive:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>sudo nano /etc/fstab
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-text" data-lang="text">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>UUID=aee33023-2254-42fc-94ac-612314eeb332 / ext4 noatime,discard,data=ordered,errors=remount-ro 0 1
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">2&lt;/span>&lt;span>UUID=114aaab1-1cb8-4853-bacc-819237d2d063 /boot ext4 noatime,discard,data=ordered,errors=remount-ro 0 2
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>I also mounted /tmp in memory:&lt;/p></description></item><item><title>Adventures in Arch (Part I): Installing</title><link>https://paapereira.xyz/posts/2013/06/adventure-in-arch-part-i-installing/</link><pubDate>Sun, 09 Jun 2013 16:59:00 +0100</pubDate><guid>https://paapereira.xyz/posts/2013/06/adventure-in-arch-part-i-installing/</guid><description>&lt;p>Inspired by the recent &lt;a href="http://www.jupiterbroadcasting.com/">Linux Action Show&lt;/a> experience with &lt;a href="https://www.archlinux.org/">Arch&lt;/a>, I decided to give it a try.&lt;/p>
&lt;p>I have now completely changed from Ubuntu to Arch.&lt;/p>
&lt;p>Any tips or advises please let me know.&lt;/p>
&lt;p>&lt;img src="https://paapereira.xyz/blog/2013/2013-06-09-adventure-in-arch-part-i-installing/installing.png" alt="Arch Linux">&lt;/p>
&lt;p>&lt;strong>Resources&lt;/strong>&lt;/p>
&lt;ul>
&lt;li>&lt;a href="https://www.archlinux.org/">Arch&lt;/a> home page&lt;/li>
&lt;li>Read the &lt;a href="https://wiki.archlinux.org/index.php/The_Arch_Way">Arch Way&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://wiki.archlinux.org/">Arch Wiki&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://wiki.archlinux.org/index.php/Beginners'_Guide">Arch Beginners Guide&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://bbs.archlinux.org/">Arch Forums&lt;/a>&lt;/li>
&lt;/ul>
&lt;p>&lt;strong>Backups&lt;/strong>&lt;/p>
&lt;p>Since I will format and install Arch I need to backup my /home partition.&lt;/p>
&lt;p>I created a Ubuntu USB Live Disk, rebooted into the live environment and backed up all my files.&lt;/p></description></item></channel></rss>