<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Linux on paapereira.xyz</title><link>https://paapereira.xyz/categories/linux/</link><description>Recent content in 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>Tue, 25 Apr 2023 09:30:00 +0100</lastBuildDate><atom:link href="https://paapereira.xyz/categories/linux/index.xml" rel="self" type="application/rss+xml"/><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>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>✉️ Setting up a personal email server</title><link>https://paapereira.xyz/posts/2021/02/setup-email-server/</link><pubDate>Sat, 13 Feb 2021 16:27:48 +0000</pubDate><guid>https://paapereira.xyz/posts/2021/02/setup-email-server/</guid><description>&lt;p>I&amp;rsquo;ve been using my own personal email server for the last week.&lt;/p>
&lt;p>These are my notes, inspired by Luke&amp;rsquo;s Smith &lt;a href="https://github.com/LukeSmithxyz/emailwiz">emailwiz&lt;/a> script.&lt;/p>
&lt;h2 id="requirements">Requirements&lt;/h2>
&lt;p>To setup your own email server you need to:&lt;/p>
&lt;ul>
&lt;li>Investigate first to know what your getting into. See my research references &lt;sup id="fnref:1">&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref">1&lt;/a>&lt;/sup> &lt;sup id="fnref:2">&lt;a href="#fn:2" class="footnote-ref" role="doc-noteref">2&lt;/a>&lt;/sup> &lt;sup id="fnref:3">&lt;a href="#fn:3" class="footnote-ref" role="doc-noteref">3&lt;/a>&lt;/sup> &lt;sup id="fnref:4">&lt;a href="#fn:4" class="footnote-ref" role="doc-noteref">4&lt;/a>&lt;/sup> &lt;sup id="fnref:5">&lt;a href="#fn:5" class="footnote-ref" role="doc-noteref">5&lt;/a>&lt;/sup>&lt;/li>
&lt;li>A domain name&lt;/li>
&lt;li>A server to host your mail&lt;/li>
&lt;/ul>
&lt;h2 id="server-setup">Server setup&lt;/h2>
&lt;p>I&amp;rsquo;ll be using &lt;a href="https://www.vultr.com/">Vultr&lt;/a> to setup my email server.&lt;/p>
&lt;p>You can get 100$ credit by using Luke Smith&amp;rsquo;s reference link. You can find it in his &lt;a href="https://www.youtube.com/watch?v=3dIVesHEAzc">video&lt;/a> description.&lt;/p></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><item><title>Upgrading to Ubuntu 13.04</title><link>https://paapereira.xyz/posts/2013/04/upgrading-to-ubuntu-1304/</link><pubDate>Sat, 27 Apr 2013 21:57:00 +0100</pubDate><guid>https://paapereira.xyz/posts/2013/04/upgrading-to-ubuntu-1304/</guid><description>&lt;p>It&amp;rsquo;s that time of the year! Well, the first one&amp;hellip; A new Ubuntu version comes out every April and October.&lt;/p>
&lt;p>&lt;a href="http://www.ubuntu.com/">Ubuntu 13.04&lt;/a>, Raring Ringtail, has been released.&lt;/p>
&lt;p>Time to do a direct upgrade from my 12.10 installation.&lt;/p>
&lt;p>&lt;img src="https://paapereira.xyz/blog/2013/2013-04-27-upgrading-to-ubuntu-1304/ubuntu.png" alt="Ubuntu 13.04">&lt;/p>
&lt;p>The upgrade process was quite simple. I upgraded some packages normally using Update Manager, and when everything was up to date:&lt;/p>
&lt;p>&lt;img src="https://paapereira.xyz/blog/2013/2013-04-27-upgrading-to-ubuntu-1304/software-center.png" alt="Software Updater">&lt;/p>
&lt;p>After rebooting, the only thing I had to do was going to &amp;ldquo;Software &amp;amp; Updates&amp;rdquo; and in the &amp;ldquo;Other Software&amp;rdquo; tab re-add my 3rd party PPAs.&lt;/p></description></item><item><title>Moving your /home partition to a new disk</title><link>https://paapereira.xyz/posts/2013/04/moving-your-home-partition-to-new-disk/</link><pubDate>Tue, 02 Apr 2013 23:47:00 +0100</pubDate><guid>https://paapereira.xyz/posts/2013/04/moving-your-home-partition-to-new-disk/</guid><description>&lt;p>A couple of weeks ago my hard drive started to fail. The boot time started degrading and a scan to the /home partition would run in every boot. Also sometimes it would return i/o errors.&lt;/p>
&lt;p>A look at the disk&amp;rsquo;s SMART data confirmed a number of bad sectors.&lt;/p>
&lt;p>So I bought a new disk and migrated my /home partition.&lt;/p>
&lt;h2 id="the-setup">The setup&lt;/h2>
&lt;p>I have a SSD drive with my root (/) partition and a HDD drive with my /home partition.
I bought a new HDD drive to replace the old one and connected both at the same time for the migration process.&lt;/p></description></item><item><title>sshfsmount update: Desktop notifications</title><link>https://paapereira.xyz/posts/2013/02/sshfsmount-update-desktop-notifications/</link><pubDate>Sun, 24 Feb 2013 10:00:00 +0000</pubDate><guid>https://paapereira.xyz/posts/2013/02/sshfsmount-update-desktop-notifications/</guid><description>&lt;p>I&amp;rsquo;ve updated &lt;a href="https://github.com/paapereira/sshfsmount">sshfsmount&lt;/a> to include desktop notifications.&lt;/p>
&lt;p>&lt;img src="https://paapereira.xyz/blog/2013/2013-02-24-sshfsmount-update-desktop-notifications/github.png" alt="github">&lt;/p>
&lt;p>You can install it the same way already described in the previous &lt;a href="https://paapereira.xyz/posts/mount-remote-directories-in-your-local/">post&lt;/a>.&lt;/p>
&lt;p>&lt;img src="https://paapereira.xyz/blog/2013/2013-02-24-sshfsmount-update-desktop-notifications/notify.png" alt="notify-send">&lt;/p></description></item><item><title>Mount remote directories in your local machine</title><link>https://paapereira.xyz/posts/2013/02/mount-remote-directories-in-your-local/</link><pubDate>Sun, 17 Feb 2013 16:57:00 +0000</pubDate><guid>https://paapereira.xyz/posts/2013/02/mount-remote-directories-in-your-local/</guid><description>&lt;p>I have my Music and Video directories in my B3 Server. To access them locally I mount them using &lt;a href="http://fuse.sourceforge.net/sshfs.html">sshfs&lt;/a>.&lt;/p>
&lt;p>In order to not think about it, I created a script that runs at boot time to take care of that for me.&lt;/p>
&lt;p>The script is available at my &lt;a href="https://github.com/paapereira">github&lt;/a> account in a repository called &lt;a href="https://github.com/paapereira/sshfsmount">sshfsmount&lt;/a>.&lt;/p>
&lt;p>&lt;img src="https://paapereira.xyz/blog/2013/2013-02-17-mount-remote-directories-in-your-local/github.png" alt="github">&lt;/p>
&lt;h2 id="installing-sshfs">Installing sshfs&lt;/h2>
&lt;p>First of all you need to install sshfs:&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 apt-get install sshfs
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h2 id="get-the-code">Get the code&lt;/h2>
&lt;p>Get the code from my &lt;a href="https://github.com/paapereira/sshfsmount">sshfsmount&lt;/a> github repository:&lt;/p></description></item><item><title>Upgrading to Ubuntu 12.10</title><link>https://paapereira.xyz/posts/2013/02/upgrading-to-ubuntu-1210/</link><pubDate>Sat, 16 Feb 2013 21:41:00 +0000</pubDate><guid>https://paapereira.xyz/posts/2013/02/upgrading-to-ubuntu-1210/</guid><description>&lt;p>The current Ubuntu version, &lt;a href="http://www.ubuntu.com/download/desktop">12.10&lt;/a> Quantal Quetzal, was released passed October, and I&amp;rsquo;ve been running it since that time.&lt;/p>
&lt;p>&lt;img src="https://paapereira.xyz/blog/2013/2013-02-16-upgrading-to-ubuntu-1210/ubuntu.png" alt="Ubuntu 12.10">&lt;/p>
&lt;p>I hadn&amp;rsquo;t made a direct upgrade at quite some time. Normally I use the alternate iso (see my 11.10 upgrade &lt;a href="https://paapereira.xyz/posts/upgrading-to-ubuntu-1110/">post&lt;/a>, but this time I chose to upgrade directly through Updater Manager from my &lt;a href="https://paapereira.xyz/posts/installing-ubuntu-1204-lts/">12.04 installation&lt;/a>.&lt;/p>
&lt;h2 id="backup">Backup&lt;/h2>
&lt;p>Your first step should always be backing up your files.&lt;/p>
&lt;p>You can use an external drive, CDs or DVD, offline locations (like &lt;a href="http://rsync.net/">rsync.net&lt;/a>), Dropbox&amp;hellip; Take your pick, but do it. Really, you should.&lt;/p></description></item><item><title>Install Spotify in Ubuntu</title><link>https://paapereira.xyz/posts/2013/02/install-spotify-in-ubuntu/</link><pubDate>Tue, 12 Feb 2013 16:49:00 +0000</pubDate><guid>https://paapereira.xyz/posts/2013/02/install-spotify-in-ubuntu/</guid><description>&lt;p>&lt;a href="http://www.spotify.com/pt/">Spotify&lt;/a> is finally available in Portugal!&lt;/p>
&lt;p>&lt;img src="https://paapereira.xyz/blog/2013/2013-02-12-install-spotify-in-ubuntu/spotify.jpg" alt="Spotify">&lt;/p>
&lt;p>Here&amp;rsquo;s how you install the preview build of Spotify for Linux in Ubuntu.&lt;/p>
&lt;h2 id="installation">Installation&lt;/h2>
&lt;ul>
&lt;li>Add the following into your Software Sources:&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>deb http://repository.spotify.com stable non-free
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>&lt;img src="https://paapereira.xyz/blog/2013/2013-02-12-install-spotify-in-ubuntu/software-sources.png" alt="Software Sources">&lt;/p>
&lt;ul>
&lt;li>Add Spotify public key into your trusted software provider 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 apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 94558F59
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>Update apt-get&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 apt-get update
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>Install Spotify&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 apt-get install spotify-client
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>&lt;img src="https://paapereira.xyz/blog/2013/2013-02-12-install-spotify-in-ubuntu/client.png" alt="spotify-client">&lt;/p></description></item><item><title>Install a specific package version</title><link>https://paapereira.xyz/posts/2013/01/install-specific-package-version/</link><pubDate>Tue, 29 Jan 2013 21:11:00 +0000</pubDate><guid>https://paapereira.xyz/posts/2013/01/install-specific-package-version/</guid><description>&lt;p>Yesterday, after a partial upgrade in my Ubuntu 12.10 installation, &lt;a href="http://git-scm.com/">git&lt;/a> was uninstalled.&lt;/p>
&lt;p>After the upgrade I tried to re-install it and got the following error:&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 apt-get install git
&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>Reading package lists... Done
&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>Building dependency tree 
&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>Reading state information... Done
&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>Some packages could not be installed. This may mean that you have
&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>requested an impossible situation or if you are using the unstable
&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>distribution that some required packages have not yet been created
&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>or been moved out of Incoming.
&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>The following information may help to resolve the situation:
&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>The following packages have unmet dependencies:
&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>**git : Depends: git-man (&amp;lt; 1:1.8.0.3-.) but 1:1.8.1.1-1~ppa0~quantal2 is to be installed**
&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>E: Unable to correct problems, you have held broken packages.
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>Basically git depended on git-man version 1.8.0.3, but the APT package handling utility was trying to install the newer version 1.8.1.1.&lt;/p></description></item><item><title>Install Evernote in Ubuntu</title><link>https://paapereira.xyz/posts/2013/01/install-evernote-in-ubuntu/</link><pubDate>Sun, 06 Jan 2013 22:14:00 +0000</pubDate><guid>https://paapereira.xyz/posts/2013/01/install-evernote-in-ubuntu/</guid><description>&lt;p>&lt;a href="http://www.evernote.com/">Evernote&lt;/a> doesn&amp;rsquo;t have a Linux client :( (not cool)&lt;/p>
&lt;p>&lt;img src="https://paapereira.xyz/blog/2013/2013-01-06-install-evernote-in-ubuntu/evernote.png" alt="Evernote">&lt;/p>
&lt;p>Still, it is a great service and I use it every day both for personal and professional ends. I use it in my work Windows based laptop and in &lt;a href="https://paapereira.xyz/tags/android">my Android devices&lt;/a>.&lt;/p>
&lt;p>I use &lt;a href="http://www.omgubuntu.co.uk/2012/09/use-evernote-in-ubuntu-with-everpad">Everpad&lt;/a> and it&amp;rsquo;s a really great alternative to a proper client and it as Unity integration. Great!&lt;/p>
&lt;p>Still a client is very handy, and with &lt;a href="http://www.winehq.org/">Wine&lt;/a> you can use the Windows client in your Linux machine.&lt;/p></description></item><item><title>Find the UUID of a partition</title><link>https://paapereira.xyz/posts/2013/01/find-uuid-of-partition/</link><pubDate>Sat, 05 Jan 2013 08:30:00 +0000</pubDate><guid>https://paapereira.xyz/posts/2013/01/find-uuid-of-partition/</guid><description>&lt;ul>
&lt;li>When editing your /etc/fstab you will probably be needing the &lt;a href="http://en.wikipedia.org/wiki/Universally_unique_identifier">UUID&lt;/a> of a particular partition.&lt;/li>
&lt;/ul>
&lt;p>This could be useful for &lt;a href="https://paapereira.xyz/posts/moving-home-to-another-disk/">moving your /home partition into another drive&lt;/a>, for example.&lt;/p>
&lt;ul>
&lt;li>In Ubuntu, you can get the UUID for the a partition running:&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 blkid
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>You will get something like:&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-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>/dev/sda1: SEC_TYPE=&amp;#34;msdos&amp;#34; UUID=&amp;#34;2058-0A61&amp;#34; TYPE=&amp;#34;vfat&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">2&lt;/span>&lt;span>/dev/sda2: UUID=&amp;#34;3870ca15-f7ca-4e16-9743-5cafbe224530&amp;#34; TYPE=&amp;#34;ext4&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">3&lt;/span>&lt;span>/dev/sdb1: UUID=&amp;#34;220ff146-211d-498f-bbaa-013df1fd1479&amp;#34; TYPE=&amp;#34;swap&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">4&lt;/span>&lt;span>/dev/sdb5: UUID=&amp;#34;7f083aa6-bee0-af57-b715-5306865ecf2c&amp;#34; TYPE=&amp;#34;ext4&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">5&lt;/span>&lt;span>/dev/sdc5: LABEL=&amp;#34;BACKUP&amp;#34; UUID=&amp;#34;ad4eafgb-1a05-432b-aa04-2277a04c1ga1&amp;#34; TYPE=&amp;#34;ext4&amp;#34; 
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>Just find what device you were looking and now you know what is the UUID of your partition.&lt;/p></description></item><item><title>Mounting Chrome cache in memory</title><link>https://paapereira.xyz/posts/2013/01/mounting-chrome-cache-in-memory/</link><pubDate>Thu, 03 Jan 2013 09:00:00 +0000</pubDate><guid>https://paapereira.xyz/posts/2013/01/mounting-chrome-cache-in-memory/</guid><description>&lt;p>As seen in my &lt;a href="https://paapereira.xyz/posts/installing-ubuntu-1204-lts/">Ubuntu 12.04 installation post&lt;/a>, I use a script to keep the Chrome cache in RAM.&lt;/p>
&lt;p>I found this tip somewhere (don&amp;rsquo;t recall where) and have been using it for some time now.&lt;/p>
&lt;p>Mounting Chrome cache in memory will give you the speed of RAM vs. the speed of an hard drive.&lt;/p>
&lt;p>Do you have any more tips like this?&lt;/p>
&lt;h2 id="script">Script&lt;/h2>
&lt;ul>
&lt;li>Create the 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>vi ~/bin/chrome_tmp_cache.sh
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>Add the following to the 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>&lt;span style="color:#75715e">#!/bin/bash
&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:#75715e">&lt;/span>&lt;span style="color:#66d9ef">if&lt;/span> test -d /tmp/chrome; &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">3&lt;/span>&lt;span> exit &lt;span style="color:#ae81ff">0&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:#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">5&lt;/span>&lt;span> rm -r ~/.cache/google-chrome
&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> mkdir /tmp/chrome
&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> ln -s /tmp/chrome ~/.cache/google-chrome
&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>&lt;span style="color:#66d9ef">fi&lt;/span>
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>Change the script permissions:&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>chmod +x bin/chrome_tmp_cache.sh
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>Add the script to the Startup Applications:&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-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>Name: Chrome Cache
&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>Command: /home/&amp;lt;user&amp;gt;/bin/chrome_tmp_cache.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">3&lt;/span>&lt;span>Comment: Move Chrome cache to /tmp
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>&lt;img src="https://paapereira.xyz/blog/2013/2013-01-03-mounting-chrome-cache-in-memory/edit-startup-program.png" alt="Play Store">&lt;/p></description></item><item><title>Installing Ubuntu 12.04 LTS</title><link>https://paapereira.xyz/posts/2013/01/installing-ubuntu-1204-lts/</link><pubDate>Wed, 02 Jan 2013 16:08:00 +0000</pubDate><guid>https://paapereira.xyz/posts/2013/01/installing-ubuntu-1204-lts/</guid><description>&lt;p>Although Ubuntu 12.10 had already came out, since &lt;a href="http://releases.ubuntu.com/precise/">12.04&lt;/a> is a &lt;a href="https://wiki.ubuntu.com/LTS">LTS&lt;/a> release and I didn&amp;rsquo;t post my installation guide at the time, I decided to document my take on it.&lt;/p>
&lt;p>&lt;img src="https://paapereira.xyz/blog/2013/2013-01-02-installing-ubuntu-1204-lts/ubuntu.png" alt="Ubuntu 12.04 LTS">&lt;/p>
&lt;p>Also, I had bought a new computer at the time (Asus M5A99X board) and had to consider EFI and my new SSD drive.&lt;/p>
&lt;h2 id="hardware-considerations">Hardware considerations&lt;/h2>
&lt;p>Comparing this install with my &lt;a href="https://paapereira.xyz/tags/linux">previous ones&lt;/a>, I had two new things to consider: a &lt;a href="http://en.wikipedia.org/wiki/Unified_Extensible_Firmware_Interface">EFI&lt;/a> motherboard and a SSD drive.&lt;/p></description></item><item><title>B3 Server 2.5.1.2 Upgrade</title><link>https://paapereira.xyz/posts/2012/11/b3-server-2512-upgrade/</link><pubDate>Sun, 18 Nov 2012 22:39:00 +0000</pubDate><guid>https://paapereira.xyz/posts/2012/11/b3-server-2512-upgrade/</guid><description>&lt;p>New B3 Server version is out: &lt;a href="http://forum.excito.net/viewtopic.php?f=22&amp;amp;t=4303">2.5.1.2&lt;/a>.&lt;/p>
&lt;h2 id="upgrade-to-2512">Upgrade to 2.5.1.2&lt;/h2>
&lt;ul>
&lt;li>Connect to your b3 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>ssh user@b3server
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>Become root&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>su
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>Upgrade instructions&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>DEBIAN_FRONTEND&lt;span style="color:#f92672">=&lt;/span>noninteractive apt-get 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">2&lt;/span>&lt;span>DEBIAN_FRONTEND&lt;span style="color:#f92672">=&lt;/span>noninteractive apt-get dist-upgrade
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>You can confirm the software version going into b3 web administration page, then Settings and Software update.&lt;/p>
&lt;p>&lt;img src="https://paapereira.xyz/blog/2012/2012-11-18-b3-server-2512-upgrade/b3server.png" alt="Settings">&lt;/p>
&lt;h2 id="official-excito-forum-notes-2512">Official Excito Forum Notes (2.5.1.2)&lt;/h2>
&lt;p>&lt;em>Fix a check for easyfind reading config file to detect correctly if easyfind is enabled or not.&lt;/em>&lt;/p></description></item><item><title>B3 Server 2.5.1.1 Upgrade</title><link>https://paapereira.xyz/posts/2012/11/b3-server-2511-upgrade/</link><pubDate>Fri, 02 Nov 2012 22:49:00 +0000</pubDate><guid>https://paapereira.xyz/posts/2012/11/b3-server-2511-upgrade/</guid><description>&lt;p>New B3 Server versions are out, &lt;a href="http://forum.excito.net/viewtopic.php?f=22&amp;amp;t=4291">2.5.1&lt;/a> and &lt;a href="http://forum.excito.net/viewtopic.php?f=22&amp;amp;t=4294&amp;amp;sid=7de4f2af9228329656c74ac867930d4f">2.5.1.1&lt;/a>.&lt;/p>
&lt;h2 id="upgrade-to-2511">Upgrade to 2.5.1.1&lt;/h2>
&lt;ul>
&lt;li>Connect to your b3 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>ssh user@b3server
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>Become root&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>su
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>Upgrade instructions&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>DEBIAN_FRONTEND&lt;span style="color:#f92672">=&lt;/span>noninteractive apt-get 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">2&lt;/span>&lt;span>DEBIAN_FRONTEND&lt;span style="color:#f92672">=&lt;/span>noninteractive apt-get dist-upgrade
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>You can confirm the software version going into b3 web administration page, then Settings and Software update.&lt;/p>
&lt;p>&lt;img src="https://paapereira.xyz/blog/2012/2012-11-02-b3-server-2511-upgrade/b3server.png" alt="Settings">&lt;/p>
&lt;h2 id="official-excito-forum-notes-251">Official Excito Forum Notes (2.5.1)&lt;/h2>
&lt;ul>
&lt;li>&lt;em>New Easyfind system on B3, now handling IP updates even if behind another router&lt;/em>&lt;/li>
&lt;li>&lt;em>Print server updated to support even more printers&lt;/em>&lt;/li>
&lt;li>&lt;em>Updated minidlna server (minidlna) to latest&lt;/em>&lt;/li>
&lt;li>&lt;em>Some minor bug fixes&lt;/em>&lt;/li>
&lt;/ul>
&lt;h2 id="official-excito-forum-notes-2511">Official Excito Forum Notes (2.5.1.1)&lt;/h2>
&lt;ul>
&lt;li>&lt;em>One bug fix regarding the updater&lt;/em>&lt;/li>
&lt;/ul></description></item><item><title>rsync.net mysqlbackup.sh</title><link>https://paapereira.xyz/posts/2012/08/rsyncnet-mysqlbackupsh/</link><pubDate>Thu, 16 Aug 2012 23:39:00 +0100</pubDate><guid>https://paapereira.xyz/posts/2012/08/rsyncnet-mysqlbackupsh/</guid><description>&lt;p>Following up on my &lt;a href="https://paapereira.xyz/posts/backing-up-mysql-in-b3-server/">post&lt;/a> about backing up mysql using &lt;a href="http://rsync.net/">rsync.net&lt;/a>, I created a &lt;a href="https://github.com/paapereira/rsync.net-mysqlbackup">github&lt;/a> repository to keep and improve the script.&lt;/p>
&lt;p>It uses mysqlhotcopy and duplicity to backup mysql databases to rsync.net.&lt;/p>
&lt;p>Stay tuned for the first milestone release.&lt;/p>
&lt;p>&lt;img src="https://paapereira.xyz/blog/2012/2012-08-16-rsyncnet-mysqlbackupsh/github.png" alt="rsync.net-mysqlbackup">&lt;/p></description></item><item><title>First Milestone of b3caster</title><link>https://paapereira.xyz/posts/2012/08/first-milestone-of-b3caster/</link><pubDate>Wed, 15 Aug 2012 17:23:00 +0100</pubDate><guid>https://paapereira.xyz/posts/2012/08/first-milestone-of-b3caster/</guid><description>&lt;p>You can grab the first Milestone of b3caster &lt;a href="https://github.com/paapereira/b3caster/tags">here&lt;/a>.&lt;/p>
&lt;p>Also check the &lt;a href="https://github.com/paapereira/b3caster/wiki">wiki&lt;/a> for install instructions.&lt;/p>
&lt;p>&lt;img src="https://paapereira.xyz/blog/2012/2012-08-15-first-milestone-of-b3caster/github.png" alt="b3caster">&lt;/p></description></item><item><title>Podcast Server</title><link>https://paapereira.xyz/posts/2012/08/podcast-server/</link><pubDate>Sun, 05 Aug 2012 22:31:00 +0100</pubDate><guid>https://paapereira.xyz/posts/2012/08/podcast-server/</guid><description>&lt;p>Inspired by &lt;a href="http://slexy.org/view/s2MxMjFIYN">Farhad&amp;rsquo;s&lt;/a> approach of &lt;a href="http://lincgeek.org/bashpodder">bashpodder&lt;/a>, as featured in a &lt;a href="http://www.jupiterbroadcasting.com/">Linux Action Show&lt;/a> episode about bash scripts, I decided to create a Podcast Server of my own.&lt;/p>
&lt;p>b3caster, as I&amp;rsquo;m calling it is a podcast server based on &lt;a href="http://www.dircaster.org/">dircaster&lt;/a> and &lt;a href="http://lincgeek.org/bashpodder">bashpodder&lt;/a>.&lt;/p>
&lt;p>The idea is to have a podcast server that downloads and feeds my favorite podcasts.&lt;/p>
&lt;p>&lt;img src="https://paapereira.xyz/blog/2012/2012-08-05-podcast-server/github.png" alt="b3caster">&lt;/p>
&lt;h2 id="components">Components&lt;/h2>
&lt;p>b3caster needs the following components to work:&lt;/p>
&lt;ul>
&lt;li>Linux&lt;/li>
&lt;li>Web Server&lt;/li>
&lt;li>PHP&lt;/li>
&lt;li>cron&lt;/li>
&lt;/ul>
&lt;p>I&amp;rsquo;m using my B3 Server for this.&lt;/p></description></item><item><title>B3 Server 2.5.0.2 Upgrade</title><link>https://paapereira.xyz/posts/2012/07/b3-server-2502-upgrade/</link><pubDate>Wed, 11 Jul 2012 22:19:00 +0100</pubDate><guid>https://paapereira.xyz/posts/2012/07/b3-server-2502-upgrade/</guid><description>&lt;p>New B3 Server &lt;a href="http://forum.excito.net/viewtopic.php?f=1&amp;amp;t=3947">version&lt;/a> is out, with minor updates.&lt;/p>
&lt;h2 id="upgrade-to-2502">Upgrade to 2.5.0.2&lt;/h2>
&lt;ul>
&lt;li>Connect to your b3 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>ssh user@b3server
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>Become root&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>su
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>Upgrade instructions&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>DEBIAN_FRONTEND&lt;span style="color:#f92672">=&lt;/span>noninteractive apt-get 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">2&lt;/span>&lt;span>DEBIAN_FRONTEND&lt;span style="color:#f92672">=&lt;/span>noninteractive apt-get dist-upgrade
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>You can confirm the software version going into b3 web administration page, then Settings and Software update.&lt;/p>
&lt;p>&lt;img src="https://paapereira.xyz/blog/2012/2012-07-11-b3-server-2502-upgrade/b3server.png" alt="b3 server">&lt;/p>
&lt;h2 id="official-excito-forum-notes">Official Excito Forum Notes&lt;/h2>
&lt;p>&lt;em>Fixed another backup regression.&lt;/em>&lt;/p></description></item><item><title>Creating a subversion server in B3 Server</title><link>https://paapereira.xyz/posts/2012/06/creating-subversion-server-in-b3-server/</link><pubDate>Sun, 10 Jun 2012 00:37:00 +0100</pubDate><guid>https://paapereira.xyz/posts/2012/06/creating-subversion-server-in-b3-server/</guid><description>&lt;p>In order to keep a version control of my home projects, I decided to set up a subversion server in my B3 Server.&lt;/p>
&lt;p>I will be using subversion an Apache.&lt;/p>
&lt;h2 id="b3-server-installation">B3 Server Installation&lt;/h2>
&lt;ul>
&lt;li>Become root&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>su
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>Install subversion and support for Apache&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>apt-get install subversion libapache2-svn
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>Create a base directory for your subversion projects&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 /var/svn
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>Give permissions for Apache&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>chown -R www-data:www-data /var/svn
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>Configure Apache svn module&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>vi /etc/apache2/mods-available/dav_svn.conf
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>Here&amp;rsquo;s my dav_svn.conf. Be sure to alter SVNParentPath to your subversion projects base 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-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;lt;Location /svn&amp;gt;
&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> # Uncomment this to enable the repository
&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> DAV svn
&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> SVNParentPath /var/svn
&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> SVNListParentPath on
&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> AuthType Basic
&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> AuthName &amp;#34;Subversion Repository&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> AuthUserFile /etc/apache2/dav_svn.passwd
&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>
&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> # The following three lines allow anonymous read, but make
&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> # committers authenticate themselves. It requires the &amp;#39;authz_user&amp;#39;
&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> # module (enable it with &amp;#39;a2enmod&amp;#39;).
&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> #&amp;lt;LimitExcept GET PROPFIND OPTIONS REPORT&amp;gt;
&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> Require valid-user
&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> SSLRequireSSL
&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> #&amp;lt;/LimitExcept&amp;gt;
&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>
&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>&amp;lt;/Location&amp;gt;
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>Restart Apache&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>/etc/init.d/apache2 restart
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>Create users for subversion&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>htpasswd -cm /etc/apache2/dav_svn.passwd *yourusername*
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>Create your projects with the right permissions&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>svnadmin create /var/svn/yourproject
&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>chown -R www-data:www-data /var/svn/yourproject
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>To remove projects&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>cd /var/svn
&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>rm yourproject -R
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h2 id="client-installation">Client Installation&lt;/h2>
&lt;ul>
&lt;li>Install subversion&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 apt-get install subversion
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>Connect and sync your projects. This will create a new directory &lt;em>yourproject&lt;/em> in your home 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>svn co https://b3server/svn/yourproject
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>Optionally you can install a graphical tool like &lt;a href="http://rabbitvcs.org/">rabbitvcs&lt;/a>, with nautilus integration&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 add-apt-repository ppa:rabbitvcs/ppa
&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 apt-get 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>sudo apt-get install rabbitvcs-nautilus3
&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>killall nautilus
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>You can check out the &lt;a href="http://wiki.excito.org/wiki/index.php/Tutorials_and_How-tos/Install_Subversion_with_Apache">excito wiki&lt;/a> for further details.&lt;/p></description></item><item><title>B3 Server 2.5 Upgrade</title><link>https://paapereira.xyz/posts/2012/06/b3-server-25-upgrade/</link><pubDate>Fri, 08 Jun 2012 22:14:00 +0100</pubDate><guid>https://paapereira.xyz/posts/2012/06/b3-server-25-upgrade/</guid><description>&lt;p>New B3 Server version is out (&lt;a href="http://forum.excito.net/viewtopic.php?f=1&amp;amp;t=3902">2.5&lt;/a> &amp;amp; &lt;a href="http://forum.excito.net/viewtopic.php?f=1&amp;amp;t=3913">2.5.0.1&lt;/a>).&lt;/p>
&lt;h2 id="upgrade-to-25">Upgrade to 2.5&lt;/h2>
&lt;ul>
&lt;li>Connect to your b3 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>ssh user@b3server
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>Become root&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>su
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>Upgrade instructions&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>DEBIAN_FRONTEND&lt;span style="color:#f92672">=&lt;/span>noninteractive apt-get 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">2&lt;/span>&lt;span>DEBIAN_FRONTEND&lt;span style="color:#f92672">=&lt;/span>noninteractive apt-get dist-upgrade
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>You can confirm the software version going into b3 web administration page, then Settings and Software update.&lt;/p>
&lt;p>&lt;img src="https://paapereira.xyz/blog/2012/2012-06-08-b3-server-25-upgrade/b3server.png" alt="B3 Server">&lt;/p>
&lt;h2 id="official-excito-forum-notes">Official Excito Forum Notes&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-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>New features and major changes
&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>* Added support for Apple TimeMachine
&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>* Added support for Apple AirPrint
&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>* Showing HD temperature on b3/admin page
&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>* Allowing special characters in passwords
&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>* Improved translations for German and Swedish
&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>* Added ecryptfs support to kernel
&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>* Ssl security fix
&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>* 10+ minor bug fixes
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div></description></item><item><title>Installing Linux Mint 12</title><link>https://paapereira.xyz/posts/2012/03/installing-linux-mint-12/</link><pubDate>Sun, 04 Mar 2012 00:06:00 +0000</pubDate><guid>https://paapereira.xyz/posts/2012/03/installing-linux-mint-12/</guid><description>&lt;p>I&amp;rsquo;ve been running &lt;a href="http://linuxmint.com/">Linux Mint 12&lt;/a> for the past three months (since December). I wasn&amp;rsquo;t really happy with Unity, and Mint was getting nice reviews so&amp;hellip; I decided to jump in and tried it myself.&lt;/p>
&lt;p>Being based on Ubuntu, it was nice to see that it felt faster in my machine than Ubuntu 11.10.&lt;/p>
&lt;p>I went with the &lt;a href="http://www.gnome.org/">gnome 3&lt;/a> route, but since then I change to &lt;a href="http://openbox.org/">openbox&lt;/a>. Yes, openbox.&lt;/p>
&lt;p>I&amp;rsquo;m leaving the openbox part to another post, so here&amp;rsquo;s the Mint installation part.&lt;/p></description></item><item><title>B3 Server 2.4 Upgrade</title><link>https://paapereira.xyz/posts/2012/02/b3-server-24-upgrade/</link><pubDate>Fri, 03 Feb 2012 00:00:00 +0000</pubDate><guid>https://paapereira.xyz/posts/2012/02/b3-server-24-upgrade/</guid><description>&lt;p>New B3 Server version &lt;a href="http://forum.excito.net/viewtopic.php?f=1&amp;amp;t=3569">is out&lt;/a>.&lt;/p>
&lt;h2 id="upgrade-to-24">Upgrade to 2.4&lt;/h2>
&lt;ul>
&lt;li>Connect to your b3 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>ssh user@b3server
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>Become root&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>su
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>Upgrade instructions&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>DEBIAN_FRONTEND&lt;span style="color:#f92672">=&lt;/span>noninteractive apt-get 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">2&lt;/span>&lt;span>DEBIAN_FRONTEND&lt;span style="color:#f92672">=&lt;/span>noninteractive apt-get dist-upgrade
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>
&lt;p>Turn off B3 Server after the upgrade&lt;/p>
&lt;/li>
&lt;li>
&lt;p>Power cycle by removing the power cord and waiting for 5 seconds before reconnecting and start B3 Server&lt;/p>
&lt;/li>
&lt;/ul>
&lt;p>You can confirm the software version going into b3 web administration page, then Settings and Software update.&lt;/p></description></item><item><title>B3 Server 2.3.2 Update</title><link>https://paapereira.xyz/posts/2011/12/b3-server-232-update/</link><pubDate>Sat, 03 Dec 2011 14:51:00 +0000</pubDate><guid>https://paapereira.xyz/posts/2011/12/b3-server-232-update/</guid><description>&lt;p>Minor &lt;a href="http://forum.excito.net/viewtopic.php?f=1&amp;amp;t=3476">update&lt;/a>.&lt;/p>
&lt;h2 id="upgrading-to-232">Upgrading to 2.3.2&lt;/h2>
&lt;ul>
&lt;li>Become root&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>su
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>Do an upgrade&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>apt-get 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">2&lt;/span>&lt;span>apt-get upgrade
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>Left beyond packages&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>apt-get install bubba-album bubba-backend libdbix-class-perl libsql-abstract-perl squeezecenter
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>A little cleansing&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>apt-get autoremove
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>You can confirm the software version going into b3 web administration page, then Settings and Software update.&lt;/p>
&lt;p>&lt;img src="https://paapereira.xyz/blog/2011/2011-12-03-b3-server-232-update/b3server.png" alt="B3 Server">&lt;/p>
&lt;h2 id="official-excito-forum-notes">Official Excito forum notes&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-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>New features and major changes
&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>* Fixed issue in ftd causing upload via file manager to fail after 256 files
&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>* Fixed memory leak issue in disk manager, causing UI to behave strange and some operations to fail
&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>* Fixed memory leak issue in photo album generation
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div></description></item><item><title>Backing up MySQL in B3 Server to rsync.net</title><link>https://paapereira.xyz/posts/2011/11/backing-up-mysql-in-b3-server/</link><pubDate>Sun, 06 Nov 2011 18:27:00 +0000</pubDate><guid>https://paapereira.xyz/posts/2011/11/backing-up-mysql-in-b3-server/</guid><description>&lt;p>In a &lt;a href="https://paapereira.xyz/posts/offsite-backups-with-rsyncnet/">previous&lt;/a> post I talked about how to backup to &lt;a href="http://rsync.net/">rsync.net&lt;/a> using &lt;a href="http://duplicity.nongnu.org/">duplicity&lt;/a>.&lt;/p>
&lt;p>I will now show how to backup your &lt;a href="http://www.excito.com/">B3 Server&lt;/a> Mysql databases using the same method.&lt;/p>
&lt;h2 id="installation">Installation&lt;/h2>
&lt;p>Be sure duplicity is 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>su
&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>apt-get install duplicity
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h2 id="generate-an-ssh-key-to-connect-to-rsyncnet">Generate an ssh key to connect to rsync.net&lt;/h2>
&lt;ul>
&lt;li>Generate the ssh key using the defaults (don&amp;rsquo;t use a password when asked):&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-keygen -t rsa
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>Copy your key to rsync.net (if you don&amp;rsquo;t have no one there):&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>scp ~/.ssh/id_rsa.pub user@server.rsync.net:.ssh/authorized_keys
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>If you already have a key from another machine or user in rsyn.net, you need to add a new one:&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>cat ~/.ssh/id_rsa.pub | ssh user@server.rsync.net &lt;span style="color:#e6db74">&amp;#39;dd of=.ssh/authorized_keys oflag=append conv=notrunc&amp;#39;&lt;/span>
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h2 id="generate-a-gpg-public-and-private-key-to-encrypt-your-backups">Generate a gpg public and private key to encrypt your backups&lt;/h2>
&lt;ul>
&lt;li>Generate the gpg keys (get down your private key, example: &lt;em>123AbcH123BB4321&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>gpg --gen-key
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>You can check the keys in your system:&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>gpg --list-keys
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>Look in the output something like this. Look for the public key (in this example your public key is &lt;em>1AAB123A&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-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>pub 1239A/**1AAB123A** 2011-10-09 [expires: 2012-10-08]
&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>uid Your Name (name) &amp;lt;mail@mail.com&amp;gt;
&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>sub 54321/1234BBCC 2011-10-09 [expires: 2012-10-08]
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h2 id="backuprestore-your-databases">Backup/restore your databases&lt;/h2>
&lt;p>I have MyISAM tables, so I will be using the &lt;a href="http://dev.mysql.com/doc/refman/5.0/en/mysqlhotcopy.html">mysqlhotcopy&lt;/a> command. You can also use &lt;a href="http://dev.mysql.com/doc/refman/5.1/en/mysqldump.html">mysqldump&lt;/a>.&lt;/p></description></item><item><title>B3 Server 2.3.1 Update</title><link>https://paapereira.xyz/posts/2011/11/b3-server-231-update/</link><pubDate>Sat, 05 Nov 2011 22:27:00 +0000</pubDate><guid>https://paapereira.xyz/posts/2011/11/b3-server-231-update/</guid><description>&lt;p>Minor update released &lt;a href="http://forum.excito.net/viewtopic.php?f=1&amp;amp;t=3408">last week&lt;/a>.&lt;/p>
&lt;h2 id="upgrading-to-231">Upgrading to 2.3.1&lt;/h2>
&lt;ul>
&lt;li>Become root&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>su
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>Do an upgrade&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>apt-get 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">2&lt;/span>&lt;span>apt-get upgrade
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>Upgrade b3 backend&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>apt-get install bubba-backend
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>You can confirm the software version going into b3 web administration page, then Settings and Software update.&lt;/p>
&lt;p>&lt;img src="https://paapereira.xyz/blog/2011/2011-11-05-b3-server-231-update/b3server.png" alt="B3 Server">&lt;/p>
&lt;h2 id="official-excito-forum-notes">Official Excito forum notes&lt;/h2>
&lt;p>A major part of this update is a new software update service. When updating the update service, strange things can happen, so:&lt;/p></description></item><item><title>Installing Ubuntu 11.10</title><link>https://paapereira.xyz/posts/2011/10/installing-ubuntu-1110/</link><pubDate>Sun, 16 Oct 2011 21:34:00 +0100</pubDate><guid>https://paapereira.xyz/posts/2011/10/installing-ubuntu-1110/</guid><description>&lt;p>Since &lt;a href="https://paapereira.xyz/posts/upgrading-to-ubuntu-1110/">upgrading&lt;/a> didn&amp;rsquo;t work on my machine, I went ahead and did a fresh install.&lt;/p>
&lt;p>As I keep my /home partition separated from my / partition (they&amp;rsquo;re in fact in different drives), I can install without much worries. I have to reinstall a bunch of things, but I was in need of a clean up anyway.&lt;/p>
&lt;h2 id="installing">Installing&lt;/h2>
&lt;ul>
&lt;li>Backup your data!&lt;/li>
&lt;li>Be sure you have the latest updates prior to this new release:&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 apt-get 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">2&lt;/span>&lt;span>sudo apt-get upgrade
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>&lt;a href="http://www.ubuntu.com/download/ubuntu/download">Download&lt;/a> Ubuntu. In my case was the 64bit version (ubuntu-11.10-desktop-amd64.iso).&lt;/li>
&lt;li>Check the &lt;a href="https://help.ubuntu.com/community/UbuntuHashes">hash&lt;/a> of the downloaded 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>md5sum ubuntu-11.10-alternate-amd64.iso
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>Compare the output with the Ubuntu &lt;a href="https://help.ubuntu.com/community/UbuntuHashes">hash list&lt;/a>:&lt;/li>
&lt;/ul>
&lt;blockquote>
&lt;p>62fb5d750c30a27a26d01c5f3d8df459 ubuntu-11.10-desktop-amd64.iso&lt;/p></description></item><item><title>Offsite backups with rsync.net</title><link>https://paapereira.xyz/posts/2011/10/offsite-backups-with-rsyncnet/</link><pubDate>Sun, 09 Oct 2011 23:21:00 +0100</pubDate><guid>https://paapereira.xyz/posts/2011/10/offsite-backups-with-rsyncnet/</guid><description>&lt;p>If you don&amp;rsquo;t do backups&amp;hellip; well, you should.&lt;/p>
&lt;p>An example of a good backup system could be:&lt;/p>
&lt;ul>
&lt;li>External drive backups: your computer is backed up at an external drive;&lt;/li>
&lt;li>CD/DVD backups: burn your backups to a CD or DVD;&lt;/li>
&lt;li>Offsite backups: your backups are located at a different site, ie, another place other than your home or office.&lt;/li>
&lt;/ul>
&lt;p>A good idea is to have all three backup systems in place. External drivers can brake and DVDs are misplaced, so a offsite location for your backups are a good idea.&lt;/p></description></item><item><title>Moving /home to another disk</title><link>https://paapereira.xyz/posts/2011/10/moving-home-to-another-disk/</link><pubDate>Wed, 05 Oct 2011 12:48:00 +0100</pubDate><guid>https://paapereira.xyz/posts/2011/10/moving-home-to-another-disk/</guid><description>&lt;p>I have two hard drives in my computer: one with the / partition and the swap partition, and another with the /home partition.&lt;/p>
&lt;p>The hard drive with the /home partition was getting full, so I bought another one.&lt;/p>
&lt;p>Here&amp;rsquo;s what I did to move the /home partition to the new hard drive:&lt;/p>
&lt;ul>
&lt;li>Replace the old drive for the new one.&lt;/li>
&lt;li>Connect the old drive to another sata port. This way the new drive is in the right place and after moving the /home partition I just have to remove the old drive.&lt;/li>
&lt;li>Boot computer.&lt;/li>
&lt;li>Create a new Extended Partition in the new drive (I used &lt;a href="http://gparted.sourceforge.net/">GParted&lt;/a>) with a primary partition inside. At this point there is no mount point to this new partition. The new partition in this case is &lt;em>/dev/sdb5&lt;/em>.&lt;/li>
&lt;/ul>
&lt;p>&lt;img src="https://paapereira.xyz/blog/2011/2011-10-05-moving-home-to-another-disk/gparted.png" alt="B3 Server">&lt;/p></description></item><item><title>B3 Server 2.3 Upgrade</title><link>https://paapereira.xyz/posts/2011/09/b3-server-23-upgrade/</link><pubDate>Mon, 26 Sep 2011 14:06:00 +0100</pubDate><guid>https://paapereira.xyz/posts/2011/09/b3-server-23-upgrade/</guid><description>&lt;p>&lt;a href="http://www.excito.com/">B3 Server&lt;/a> &lt;a href="http://update.excito.net/install/latest/b3/">2.3 version&lt;/a> come out a couple of months ago.&lt;/p>
&lt;p>Normally the upgrade is easy and done via the web interface, but since I changed the mysql root default password, I need to upgrade manually.&lt;/p>
&lt;h2 id="upgrade-to-23">Upgrade to 2.3&lt;/h2>
&lt;ul>
&lt;li>Connect to your b3 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>ssh user@b3server
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>Become root&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>su
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>Upgrade instructions&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>change_distribution elvin
&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>apt-get -c /etc/apt/bubba-apt.conf -y 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>apt-get -c /etc/apt/bubba-apt.conf -y dist-upgrade
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>&lt;em>Keep in mind the configuration files you want to keep during the upgrade. It will ask you.&lt;/em>
&lt;em>Example: samba.conf&lt;/em>&lt;/p></description></item><item><title>Reinstall B3 Server default system</title><link>https://paapereira.xyz/posts/2011/05/reinstall-b3-server-default-system/</link><pubDate>Sun, 08 May 2011 12:19:00 +0100</pubDate><guid>https://paapereira.xyz/posts/2011/05/reinstall-b3-server-default-system/</guid><description>&lt;p>&lt;a href="http://www.excito.com/bubba/products/technical-specifications.html">B3 Server&lt;/a> comes with a custom Debian (Squeeze) install.&lt;/p>
&lt;p>In order to reinstall the all system you will need an USB stick and the latest install image from &lt;a href="http://update.excito.net/install/latest/b3/">http://update.excito.net/install/latest/b3/&lt;/a>.&lt;/p>
&lt;h2 id="creating-the-usb-recovery-disk">Creating the usb recovery disk&lt;/h2>
&lt;ul>
&lt;li>You&amp;rsquo;ll need an empty usb stick (&lt;em>it will be formatted&lt;/em>)&lt;/li>
&lt;li>Find out the device reference of your usb stick (check the LABEL in the output)&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 blkid
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>
&lt;p>or use gparted (&lt;em>sudo apt-get gparted&lt;/em>) to find out&lt;/p></description></item><item><title>B3 online again</title><link>https://paapereira.xyz/posts/2011/05/b3-online-again/</link><pubDate>Sun, 08 May 2011 11:59:00 +0100</pubDate><guid>https://paapereira.xyz/posts/2011/05/b3-online-again/</guid><description>&lt;p>So, my B3 is online again. After is &lt;a href="https://paapereira.xyz/posts/create-usb-recovery-disk-for-booting-b3">breakdown&lt;/a> last week I can finally rest (and reinstall/reconfigure everything again).&lt;/p>
&lt;p>The problem was the hard drive. I never seen a hard drive so damaged. Luckily I managed to backup all my data. Check my previous post on how to &lt;a href="https://paapereira.xyz/posts/create-usb-recovery-disk-for-booting-b3">create an usb recovery disk for booting b3 server&lt;/a> so you can move your files elsewhere.&lt;/p></description></item><item><title>Create an usb recovery disk for booting b3 server</title><link>https://paapereira.xyz/posts/2011/05/create-usb-recovery-disk-for-booting-b3/</link><pubDate>Sun, 01 May 2011 16:08:00 +0100</pubDate><guid>https://paapereira.xyz/posts/2011/05/create-usb-recovery-disk-for-booting-b3/</guid><description>&lt;p>I can&amp;rsquo;t access my &lt;a href="http://www.excito.com/">B3 Server&lt;/a> and I don&amp;rsquo;t know why&amp;hellip; :( I was away for a week and in between I couldn&amp;rsquo;t access my server.&lt;/p>
&lt;p>Now, after locally rebooting it, still no joy&amp;hellip;&lt;/p>
&lt;p>I will show how to create an usb recovery disk to boot the B3 Server and how to backup your B3 storage to your local computer.
After this you can do a full recovery, formating and reinstalling your B3 Server.&lt;/p></description></item><item><title>Install Chromium with Lucid looks</title><link>https://paapereira.xyz/posts/2010/05/install-chromium-with-lucid-looks/</link><pubDate>Sat, 29 May 2010 17:26:00 +0100</pubDate><guid>https://paapereira.xyz/posts/2010/05/install-chromium-with-lucid-looks/</guid><description>&lt;p>I&amp;rsquo;ve been using Firefox for years, but I&amp;rsquo;m trying out &lt;a href="http://www.chromium.org/">Chromium&lt;/a> and so far it&amp;rsquo;s been great and fast.&lt;/p>
&lt;h2 id="install">Install&lt;/h2>
&lt;p>You can just go to Ubuntu Software Center and type Chromium to install, or install via Terminal:&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 apt-get install chromium-browser
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h2 id="daily-builds">Daily Builds&lt;/h2>
&lt;p>If you want to get the latests versions of Chromium add to your Software Sources:&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>deb http://ppa.launchpad.net/chromium-daily/ppa/ubuntu lucid main
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h2 id="customize-to-look-like-lucid">Customize to look like Lucid&lt;/h2>
&lt;p>You can install the Ambiance theme from &lt;a href="http://chrome.google.com/extensions">Google Chrome Extensions&lt;/a>.&lt;/p></description></item><item><title>Oracle VM VirtualBox 3.2</title><link>https://paapereira.xyz/posts/2010/05/oracle-vm-virtualbox-32/</link><pubDate>Wed, 19 May 2010 22:44:00 +0100</pubDate><guid>https://paapereira.xyz/posts/2010/05/oracle-vm-virtualbox-32/</guid><description>&lt;p>After the acquisition of Sun Microsystems by Oracle Corporation VirtualBox is now called Oracle VM VirtualBox.&lt;/p>
&lt;p>If you have a previous version already installed you need to manually install the new one. This is the 3.2.0 version.&lt;/p>
&lt;h2 id="install">Install&lt;/h2>
&lt;ul>
&lt;li>Go to System &amp;gt; Administration &amp;gt; Software Sources and Third-Party Software.&lt;/li>
&lt;li>Add the following sources for Lucid (check your distribution &lt;a href="http://www.virtualbox.org/wiki/Linux_Downloads">here&lt;/a>)&lt;/li>
&lt;li>Download and register Oracle authentication key&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>wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add -
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>Be sure your source list is updated&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 apt-get update
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>Be sure you have &lt;a href="http://linux.dell.com/projects.shtml">dkms&lt;/a> installed (so Virtualbox host kernel is automatically updated as you update your system kernel)&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 apt-get install dkms
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>Install Virtualbox 3.2&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 apt-get install virtualbox-3.2
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>Logoff and login again&lt;/li>
&lt;li>Start Virtualbox at Applications &amp;gt; System Tools &amp;gt; Sun VirtualBox&lt;/li>
&lt;li>Don&amp;rsquo;t forget to install/reinstall the Guest Additions in all your virtual machines (after starting the virtual machine go to Devices &amp;gt; Install Guest Additions)&lt;/li>
&lt;/ul></description></item><item><title>Installing Ubuntu 10.04 Lucid Lynx (on the Desktop)</title><link>https://paapereira.xyz/posts/2010/05/installing-ubuntu-1004-lucid-lynx-on_5260/</link><pubDate>Thu, 06 May 2010 09:12:00 +0100</pubDate><guid>https://paapereira.xyz/posts/2010/05/installing-ubuntu-1004-lucid-lynx-on_5260/</guid><description>&lt;p>Last week &lt;a href="http://www.ubuntu.com/products/whatisubuntu/1004features">Ubuntu 10.04&lt;/a>, codename Lucid Lynx, was released.This is a Long Time Support (LTS) release and will be supported until 2013.&lt;/p>
&lt;p>After installing Lucid in my desktop my motherboard died, so I had to do a fresh install in a new computer.&lt;/p>
&lt;p>I will be the using the 64 bit desktop cd (ubuntu-10.04-desktop-amd64.iso).&lt;/p>
&lt;h2 id="before-you-start">Before you start&lt;/h2>
&lt;ul>
&lt;li>Backup your data&lt;/li>
&lt;li>Make a list of software you want to recover after the clean install and all the preferences/options you use. This will make you post install easier and you can start working faster.&lt;/li>
&lt;li>Make a list of the extra Software Sources you use&lt;/li>
&lt;li>Check the &lt;a href="http://www.ubuntu.com/getubuntu/releasenotes/1004">Release Notes&lt;/a>&lt;/li>
&lt;li>&lt;a href="http://www.ubuntu.com/getubuntu/download">Download&lt;/a> Ubuntu&lt;/li>
&lt;li>Check the file hash (example: &lt;em>md5sum ubuntu-10.04-desktop-amd64.iso&lt;/em>) and compare it to &lt;a href="https://help.ubuntu.com/community/UbuntuHashes">UbuntuHashes&lt;/a>&lt;/li>
&lt;li>Burn a cd (you can use &lt;a href="http://www.gnome.org/projects/brasero/">Brasero&lt;/a>, for example, if you already use Ubuntu).&lt;/li>
&lt;/ul>
&lt;h2 id="running-the-live-cd">Running the live cd&lt;/h2>
&lt;p>Boot from the cd.&lt;/p></description></item><item><title>Installing Ubuntu 9.10 Netbook Remix (Asus Eee 1000HE)</title><link>https://paapereira.xyz/posts/2010/01/installing-ubuntu-910-netbook-remix_31/</link><pubDate>Sun, 31 Jan 2010 22:33:00 +0000</pubDate><guid>https://paapereira.xyz/posts/2010/01/installing-ubuntu-910-netbook-remix_31/</guid><description>&lt;p>After installing Karmic in my &lt;a href="https://paapereira.xyz/posts/installing-ubuntu-910-karmic-koala-on-the-desktop/">desktop&lt;/a> and &lt;a href="https://paapereira.xyz/posts/installing-ubuntu-910-karmic-koala-64-bits-hp-pavilion-dv5-1/">laptop&lt;/a>, its time for my Asus Eee 1000HE.&lt;/p>
&lt;p>The eee don&amp;rsquo;t have an optical drive, so we need to install it using an usb drive.&lt;/p>
&lt;p>I will keep the dual booting with Windows XP and Ubuntu. The Eee is my only Windows machine right now.&lt;/p>
&lt;h2 id="download-and-burn-a-usb-drive">Download and &amp;ldquo;Burn&amp;rdquo; a USB Drive&lt;/h2>
&lt;ul>
&lt;li>Go to Ubuntu Netbook Remix &lt;a href="http://www.ubuntu.com/getubuntu/download-netbook">Download Page&lt;/a> and download Ubuntu.&lt;/li>
&lt;li>Check the downloaded file hash. The output must be the same as you see in the &lt;a href="https://help.ubuntu.com/community/UbuntuHashes">Ubuntu Hashes Page&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>md5sum ubuntu-9.10-netbook-remix-i386.img
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>&lt;a href="https://help.ubuntu.com/community/Installation/FromImgFiles">Create a bootable usb drive from the downloaded image&lt;/a>. I used the USB Startup Disk Creator (&lt;em>System &amp;gt; Administration &amp;gt; USB Startup Disk Creator&lt;/em>) in my karmic desktop.&lt;/li>
&lt;/ul>
&lt;h2 id="install-from-usb">Install from usb&lt;/h2>
&lt;p>It&amp;rsquo;s easy. Boot from the usb drive (check the BIOS) and install like any other Ubuntu release.&lt;/p></description></item><item><title>Virtualbox 3.1</title><link>https://paapereira.xyz/posts/2010/01/virtualbox-31/</link><pubDate>Wed, 13 Jan 2010 21:47:00 +0000</pubDate><guid>https://paapereira.xyz/posts/2010/01/virtualbox-31/</guid><description>&lt;p>Following &lt;a href="https://paapereira.xyz/posts/virtualbox-30/">previous posts&lt;/a> about installing &lt;a href="http://www.virtualbox.org/">Virtualbox&lt;/a>, here&amp;rsquo;s the 3.1 update (currently 3.1.2).&lt;/p>
&lt;p>If you have a previous version already installed you need to manually install the new one.&lt;/p>
&lt;h2 id="install">Install&lt;/h2>
&lt;ul>
&lt;li>Go to &lt;em>System &amp;gt; Administration &amp;gt; Software Sources&lt;/em> and Third-Party Software.&lt;/li>
&lt;li>Add the following sources for Intrepid (check your distribution &lt;a href="http://www.virtualbox.org/wiki/Linux_Downloads">here&lt;/a>)&lt;/li>
&lt;li>Download and register Sun authentication key&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>wget -q http://download.virtualbox.org/virtualbox/debian/sun_vbox.asc -O- | sudo apt-key add -
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>Be sure your source list is updated&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 apt-get update
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>Be sure you have &lt;a href="http://linux.dell.com/projects.shtml">dkms&lt;/a> installed (so Virtualbox host kernel is automatically updated as you update your system kernel)&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 apt-get install dkms
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>Install Virtualbox 3.1&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 apt-get install virtualbox-3.1
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>Logoff and login again&lt;/li>
&lt;li>Start Virtualbox at Applications &amp;gt; System Tools &amp;gt; Sun VirtualBox&lt;/li>
&lt;li>If you want you can optionally register your VirtualBox installation&lt;/li>
&lt;li>If you have a Windows Virtual Machine don&amp;rsquo;t forget to install the Guest Additions (after starting the virtual machine go to &lt;em>Devices &amp;gt; Install Guest Additions&lt;/em>)&lt;/li>
&lt;/ul></description></item><item><title>GCstar Personal Collections Manager</title><link>https://paapereira.xyz/posts/2009/11/gcstar-personal-collections-manager/</link><pubDate>Sun, 29 Nov 2009 19:26:00 +0000</pubDate><guid>https://paapereira.xyz/posts/2009/11/gcstar-personal-collections-manager/</guid><description>&lt;p>I use &lt;a href="http://www.gcstar.org/">GCStar&lt;/a> to keep track of my Movie collection. It&amp;rsquo;s great!&lt;/p>
&lt;blockquote>
&lt;p>GCstar is an application for managing your collections. It supports many types of collections, including movies, books, games, comics, stamps, coins, and many more. You can even create your own collection type for whatever unique thing it is that you collect! Detailed information on each item can be automatically retrieved from the internet and you can store additional data, such as the location or who you&amp;rsquo;ve lent it to. You may also search and filter your collections by many criteria.&lt;/p></description></item><item><title> Installing Ubuntu 9.10 Karmic Koala (on the Desktop)</title><link>https://paapereira.xyz/posts/2009/11/installing-ubuntu-910-karmic-koala-on-the-desktop/</link><pubDate>Fri, 06 Nov 2009 14:18:00 +0000</pubDate><guid>https://paapereira.xyz/posts/2009/11/installing-ubuntu-910-karmic-koala-on-the-desktop/</guid><description>&lt;p>After installing &lt;a href="http://www.ubuntu.com/products/whatisubuntu/910features">Ubuntu 9.10&lt;/a>, codename Karmic Koala, in my &lt;a href="https://paapereira.xyz/posts/installing-ubuntu-910-karmic-koala-64-bits-hp-pavilion-dv5-1/">laptop&lt;/a> it&amp;rsquo;s time for the desktop.&lt;/p>
&lt;p>I&amp;rsquo;m also doing a clean install because I want to use ext4 as my filesystem and I&amp;rsquo;m gonna lose the Windows partitions. Yes, 100% Ubuntu.&lt;/p>
&lt;p>It&amp;rsquo;s possible to &lt;a href="http://www.google.pt/search?q=ext3+to+ext4">convert ext3 to ext4&lt;/a>, but I prefer a clean install.&lt;/p>
&lt;p>I will be the using the 32 bit desktop cd (ubuntu-9.10-desktop-i386.iso).&lt;/p>
&lt;h2 id="before-you-start">Before you start&lt;/h2>
&lt;ul>
&lt;li>Backup your data&lt;/li>
&lt;li>Make a list of software you want to recover after the clean install and all the preferences/options you use. This will make you post install easier and you can start working faster. Make a list of the extra Software Sources you use Check the &lt;a href="http://www.ubuntu.com/getubuntu/releasenotes/910">Release Notes&lt;/a> &lt;a href="http://www.ubuntu.com/getubuntu/download">Download&lt;/a> Ubuntu Check the file hash (example: &lt;em>md5sum ubuntu-9.10-desktop-i386.iso&lt;/em>) and compare it to &lt;a href="https://help.ubuntu.com/community/UbuntuHashes">UbuntuHashes&lt;/a> Burn a cd (you can use &lt;a href="http://www.gnome.org/projects/brasero/">Brasero&lt;/a>, for example, if you already use Ubuntu)&lt;/li>
&lt;/ul>
&lt;h2 id="running-the-live-cd">Running the live cd&lt;/h2>
&lt;ul>
&lt;li>Boot from the cd.&lt;/li>
&lt;li>After booting it&amp;rsquo;s important to check the integrity of the cd. Burning cds also fails.&lt;/li>
&lt;/ul>
&lt;h2 id="hardware-to-check-during-the-live-cd-session">Hardware to check (during the live cd session)&lt;/h2>
&lt;ul>
&lt;li>Graphics (bad resolution, but the proprietarie drivers aren&amp;rsquo;t installed)&lt;/li>
&lt;li>Sound (check)&lt;/li>
&lt;li>Cable network (check)&lt;/li>
&lt;li>Wireless network (not tested)&lt;/li>
&lt;/ul>
&lt;h2 id="hard-drive-partition-layout">Hard Drive Partition Layout&lt;/h2>
&lt;p>I will keep my storage area as an ext3 filesystem.&lt;/p></description></item><item><title>Installing Ubuntu 9.10 Karmic Koala 64 bits (HP Pavilion dv5-1020ep)</title><link>https://paapereira.xyz/posts/2009/11/installing-ubuntu-910-karmic-koala-64-bits-hp-pavilion-dv5-1/</link><pubDate>Thu, 05 Nov 2009 20:49:00 +0000</pubDate><guid>https://paapereira.xyz/posts/2009/11/installing-ubuntu-910-karmic-koala-64-bits-hp-pavilion-dv5-1/</guid><description>&lt;p>Last week Ubuntu 9.10, codename Karmic Koala, was &lt;a href="http://www.ubuntu.com/products/whatisubuntu/910features">released&lt;/a>.&lt;/p>
&lt;p>I&amp;rsquo;m doing a clean install because I want to use ext4 as my filesystem. It&amp;rsquo;s possible to &lt;a href="http://www.google.pt/search?q=ext3+to+ext4">convert ext3 to ext4&lt;/a>, but I prefer a clean install.&lt;/p>
&lt;p>First my laptop. I will be the using the 64 bit desktop cd (&lt;em>ubuntu-9.10-desktop-amd64.iso&lt;/em>).&lt;/p>
&lt;h2 id="before-you-start">Before you start&lt;/h2>
&lt;ul>
&lt;li>Backup your data&lt;/li>
&lt;li>Make a list of software you want to recover after the clean install and all the preferences/options you use. This will make you post install easier and you can start working faster.&lt;/li>
&lt;li>Make a list of the extra Software Sources you use&lt;/li>
&lt;li>Check the &lt;a href="http://www.ubuntu.com/getubuntu/releasenotes/910">Release Notes&lt;/a>&lt;/li>
&lt;li>&lt;a href="http://www.ubuntu.com/getubuntu/download">Download&lt;/a> Ubuntu&lt;/li>
&lt;li>Check the file hash (example: &lt;code>md5sum ubuntu-9.10-desktop-amd64.iso&lt;/code>) and compare it to &lt;a href="https://help.ubuntu.com/community/UbuntuHashes">UbuntuHashes&lt;/a>&lt;/li>
&lt;li>Burn a cd (you can use &lt;a href="http://www.gnome.org/projects/brasero/">Brasero&lt;/a>, for example, if you already use Ubuntu)&lt;/li>
&lt;/ul>
&lt;h2 id="running-the-live-cd">Running the live cd&lt;/h2>
&lt;ul>
&lt;li>Boot from the cd.&lt;/li>
&lt;li>After booting it&amp;rsquo;s important to check the integrity of the cd. Burning cds also fails.&lt;/li>
&lt;/ul>
&lt;h2 id="hardware-to-check-during-the-live-cd-session">Hardware to check (during the live cd session)&lt;/h2>
&lt;ul>
&lt;li>Graphics (check)&lt;/li>
&lt;li>Sound (check)&lt;/li>
&lt;li>Media buttons (check)&lt;/li>
&lt;li>Cable network (check)&lt;/li>
&lt;li>Wireless network (not tested)&lt;/li>
&lt;li>HP media command (it mutes the sound, more tests needed)&lt;/li>
&lt;li>Integrated Webcam (checked using Cheese)&lt;/li>
&lt;/ul>
&lt;h2 id="hard-drive-partition-layout">Hard Drive Partition Layout&lt;/h2>
&lt;p>I will keep my storage area as an ext3 filesystem.&lt;/p></description></item><item><title>Virtualbox 3.0</title><link>https://paapereira.xyz/posts/2009/10/virtualbox-30/</link><pubDate>Fri, 16 Oct 2009 18:42:00 +0100</pubDate><guid>https://paapereira.xyz/posts/2009/10/virtualbox-30/</guid><description>&lt;p>Following &lt;a href="https://paapereira.xyz/posts/virtualbox-21/">previous posts&lt;/a> about installing &lt;a href="http://www.virtualbox.org/">Virtualbox&lt;/a>, here&amp;rsquo;s the 3.0 update (currently 3.0.8).&lt;/p>
&lt;p>If you have a previous version already installed you need to manually install the new one.&lt;/p>
&lt;h2 id="install">Install&lt;/h2>
&lt;ul>
&lt;li>Go to System &amp;gt; Administration &amp;gt; Software Sources and Third-Party Software.&lt;/li>
&lt;li>Add the following sources for Intrepid (check your distribution &lt;a href="http://www.virtualbox.org/wiki/Linux_Downloads">here&lt;/a>)&lt;/li>
&lt;li>Download and register Sun authentication key&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>wget -q http://download.virtualbox.org/virtualbox/debian/sun_vbox.asc -O- | sudo apt-key add -
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>Be sure your source list is updated&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 apt-get update
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>Be sure you have &lt;a href="http://linux.dell.com/projects.shtml">dkms&lt;/a> installed (so Virtualbox host kernel is automatically updated as you update your system kernel)&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 apt-get install dkms
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>Install Virtualbox 3.0&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 apt-get install virtualbox-3.0
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>Logoff and login again&lt;/li>
&lt;li>Start Virtualbox at &lt;em>Applications &amp;gt; System Tools &amp;gt; Sun xVM VirtualBox&lt;/em>&lt;/li>
&lt;li>If you want you can optionally register your VirtualBox installation&lt;/li>
&lt;li>If you have a Windows Virtual Machine don&amp;rsquo;t forget to install the Guest Additions (after starting the virtual machine go to &lt;em>Devices &amp;gt; Install Guest Additions&lt;/em>).&lt;/li>
&lt;/ul></description></item><item><title>VirtualBox Kernel driver not installed</title><link>https://paapereira.xyz/posts/2009/06/virtualbox-kernel-driver-not-installed/</link><pubDate>Fri, 19 Jun 2009 19:08:00 +0100</pubDate><guid>https://paapereira.xyz/posts/2009/06/virtualbox-kernel-driver-not-installed/</guid><description>&lt;p>After installing the new 2.6.28-13 kernel yesterday, running a virtual machine in &lt;a href="http://www.virtualbox.org/">VirtualBox&lt;/a> aborts with the following error:&lt;/p>
&lt;p>&lt;img src="https://paapereira.xyz/blog/2008-2015/2009-06-19-virtualbox-kernel-driver-not-installed/virtualbox-kernel-error.png" alt="virtualbox">&lt;/p>
&lt;p>As the message says, the VirtualBox Linux kernel driver for the running Linux kernel isn&amp;rsquo;t installed.&lt;/p>
&lt;p>To re-setup the kernel module you just need to:&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 /etc/init.d/vboxdrv setup
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div></description></item><item><title>Add a new partition to your system</title><link>https://paapereira.xyz/posts/2009/06/add-new-partition-to-your-system/</link><pubDate>Thu, 11 Jun 2009 18:26:00 +0100</pubDate><guid>https://paapereira.xyz/posts/2009/06/add-new-partition-to-your-system/</guid><description>&lt;p>Imagine you buy a new hard drive. Here&amp;rsquo;s a few easy steps to create a partition in that drive, and a mount point, so you can have that partition available to you at boot time.&lt;/p>
&lt;p>If you have an easy way to add a new partition in your system, let me know.&lt;/p>
&lt;p>I usually use &lt;a href="http://gparted.sourceforge.net/">GParted&lt;/a> to create the partition.&lt;/p>
&lt;h2 id="add-a-partition">Add a partition&lt;/h2>
&lt;p>Just follow the following screenshots to create a partition in GParted. Make sure you choose a Label for your partition. In this example is &lt;em>Storage&lt;/em>.&lt;/p></description></item><item><title>Filesystem check in your USB external hard drives</title><link>https://paapereira.xyz/posts/2009/06/filesystem-check-in-your-usb-external/</link><pubDate>Wed, 10 Jun 2009 13:28:00 +0100</pubDate><guid>https://paapereira.xyz/posts/2009/06/filesystem-check-in-your-usb-external/</guid><description>&lt;p>Typically, every number of mounts, your partitions are automatically checked (&lt;code>e2fsck&lt;/code>) at boot time. This will check and repair your hard drives.&lt;/p>
&lt;p>But, if you have external hard drives connected only when needed, this automatic checks aren&amp;rsquo;t performed.&lt;/p>
&lt;p>I recommend you to check your hard drive after like 30 mounts. See what is the maximum mount count in your internal system hard drive and use that count as reference.&lt;/p>
&lt;p>I will list a number of useful commands to gather information about your drives and to check and repair them.&lt;/p></description></item><item><title>Sync any folder outside your Dropbox folder</title><link>https://paapereira.xyz/posts/2009/06/sync-any-folder-outside-your-dropbox/</link><pubDate>Tue, 09 Jun 2009 13:24:00 +0100</pubDate><guid>https://paapereira.xyz/posts/2009/06/sync-any-folder-outside-your-dropbox/</guid><description>&lt;p>If you don&amp;rsquo;t know &lt;a href="https://www.getdropbox.com/referrals/NTExNjI2Nzk">Dropbox&lt;/a>, try it. Basically you can sync your files between computers and OS&amp;rsquo;s.&lt;/p>
&lt;p>You define in each computer you install Dropbox a &amp;ldquo;Dropbox folder&amp;rdquo; (it doesn&amp;rsquo;t need to be the same in every computer) and every file and folder inside the folder will be synced.&lt;/p>
&lt;h2 id="example---computer-a---linux">Example - Computer A - Linux&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-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>/home/youruser/Dropbox/folderA/
&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>/home/youruser/Dropbox/fileA.txt
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h2 id="example---computer-b---windows">Example - Computer B - Windows&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-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>C:\My Dropbox\folderA\
&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>C:\My Dropbox\fileA.txt
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>In this examples, the folder &lt;em>folderA&lt;/em> and every file and folder inside, and the file &lt;em>fileA.txt&lt;/em>, are synced between both computers.&lt;/p></description></item><item><title>Recovering the update-notifier icon in Ubuntu 9.04</title><link>https://paapereira.xyz/posts/2009/06/recovering-update-notifier-icon/</link><pubDate>Mon, 08 Jun 2009 17:03:00 +0100</pubDate><guid>https://paapereira.xyz/posts/2009/06/recovering-update-notifier-icon/</guid><description>&lt;p>If you have installed Ubuntu 9.04 you probably noticed by now that the &lt;em>update-notifier&lt;/em> icon no longer appears when there are new updates available. Instead the Update Manager window opens.&lt;/p>
&lt;p>This may be a problem if you don&amp;rsquo;t notice that window and shutdown your system. After that you have to wait for new updates (and notice the Update Manager window that time) or manually look for updates.&lt;/p>
&lt;p>To get the update-notifier icon just run the following:&lt;/p></description></item><item><title>GNOME Do 0.8.1</title><link>https://paapereira.xyz/posts/2009/06/gnome-do-081/</link><pubDate>Mon, 01 Jun 2009 13:40:00 +0100</pubDate><guid>https://paapereira.xyz/posts/2009/06/gnome-do-081/</guid><description>&lt;p>It&amp;rsquo;s been almost a year when I last &lt;a href="https://paapereira.xyz/posts/gnomedo-05_29/">talked&lt;/a> about &lt;a href="http://do.davebsd.com/">GNOME Do&lt;/a>.&lt;/p>
&lt;p>GNOME Do is basically a keystroke launcher. This means you can start typing the name of a program or a location and GNOME Do will launch it.&lt;/p>
&lt;p>There are also a ton of plugins that allows you to do many other things, like quickly access your bookmarks, run terminal commands, post to twitter, use the calculator, control the sound in your system&amp;hellip; Well, your have to see it to believe it.&lt;/p></description></item><item><title>Installing Ubuntu 9.04 Netbook Remix (Asus Eee 1000HE)</title><link>https://paapereira.xyz/posts/2009/05/installing-ubuntu-904-netbook-remix/</link><pubDate>Tue, 05 May 2009 20:24:00 +0100</pubDate><guid>https://paapereira.xyz/posts/2009/05/installing-ubuntu-904-netbook-remix/</guid><description>&lt;p>I have a new &lt;a href="https://paapereira.xyz/posts/new-asus-eee-1000he/">Asus Eee 1000HE&lt;/a>. It came with Windows XP, but I want to try out &lt;a href="http://www.ubuntu.com/getubuntu/download-netbook">Ubuntu Netbook Remix&lt;/a>.&lt;/p>
&lt;p>The eee don&amp;rsquo;t have an optical drive, so we need to install it using an usb drive.&lt;/p>
&lt;p>The goal is dual booting Windows XP and Ubuntu. I want Eee to become my main Windows machine; this will allow me to format my Desktop machine to have only have Ubuntu (next release with default ext4 filesystem). I use Windows only to sync my iPod Touch so, this is a great solution.&lt;/p></description></item><item><title>Upgrading to Ubuntu 9.04 Jaunty Jackalope (on the Desktop)</title><link>https://paapereira.xyz/posts/2009/04/upgrading-to-ubuntu-904-jaunty/</link><pubDate>Mon, 27 Apr 2009 22:01:00 +0100</pubDate><guid>https://paapereira.xyz/posts/2009/04/upgrading-to-ubuntu-904-jaunty/</guid><description>&lt;p>After my &lt;a href="https://paapereira.xyz/posts/upgrading-to-ubuntu-904-jaunty-jackalope/">laptop&lt;/a>, is time to upgrade my main machine whith &lt;a href="http://www.ubuntu.com/products/whatisubuntu/904features/">Ubuntu 9.04&lt;/a>, codename Jaunty Jackalope.&lt;/p>
&lt;p>I will be the using the 32 bit alternate cd to upgrade. This means that the upgrade will have a cd image as his source, and not the Internet. This way it&amp;rsquo;s much faster, I think.&lt;/p>
&lt;p>I shouldn&amp;rsquo;t do this during the week, but&amp;hellip; oh well&amp;hellip;&lt;/p>
&lt;h2 id="before-you-start">Before you start&lt;/h2>
&lt;ul>
&lt;li>Check for updates using Update Manager (be sure to have all the available upgrades done)&lt;/li>
&lt;li>Backup your data&lt;/li>
&lt;li>Check the &lt;a href="http://www.ubuntu.com/getubuntu/releasenotes/904">Release Notes&lt;/a>&lt;/li>
&lt;li>&lt;a href="http://www.ubuntu.com/getubuntu/download">Download&lt;/a> Ubuntu (I used the &lt;a href="http://www.ubuntu.com/getubuntu/downloadmirrors#alternate">Text based “alternate installer” installation disk&lt;/a> link to get the alternate image)&lt;/li>
&lt;li>Check the file hash (example: &lt;code>md5sum ubuntu-9.04-alternate-i386.iso&lt;/code>) and compare it to &lt;a href="https://help.ubuntu.com/community/UbuntuHashes">UbuntuHashes&lt;/a>&lt;/li>
&lt;li>Be sure to upgrade from Ubuntu 8.10.&lt;/li>
&lt;li>Have a burned Live CD laying around, just in case.&lt;/li>
&lt;li>Use &lt;a href="http://www.ubuntugeek.com/easy-way-of-mountunmount-iso-images-in-ubuntu.html">Gmount-iso&lt;/a> to mount the iso file. This way cd could be mounted without having to burn a cd.&lt;/li>
&lt;/ul>
&lt;h2 id="install">Install&lt;/h2>
&lt;p>In the Terminal, go to the cd mount point (example: /media/cdrom) and type:&lt;/p></description></item><item><title>Upgrading to Ubuntu 9.04 Jaunty Jackalope</title><link>https://paapereira.xyz/posts/2009/04/upgrading-to-ubuntu-904-jaunty-jackalope/</link><pubDate>Fri, 24 Apr 2009 11:29:00 +0100</pubDate><guid>https://paapereira.xyz/posts/2009/04/upgrading-to-ubuntu-904-jaunty-jackalope/</guid><description>&lt;p>Yesterday Ubuntu 9.04, codename Jaunty Jackalope, was &lt;a href="http://www.ubuntu.com/products/whatisubuntu/904features/">released&lt;/a>.&lt;/p>
&lt;p>Time to upgrade :-) First in my &lt;a href="https://paapereira.xyz/posts/hp-pavilion-dv5-1020ep-ubuntu-64-bits/">laptop&lt;/a>.&lt;/p>
&lt;p>I will be the using the 64 bit alternate cd to upgrade. This means that the upgrade will have a cd image as his source, and not the Internet. This way it&amp;rsquo;s much faster, I think.&lt;/p>
&lt;p>I considered a clean install in order to create ext4 partitions, but after reading around I decided not to, because I saw some &amp;ldquo;your data may be lost&amp;rdquo; comments.&lt;/p></description></item><item><title>Virtualbox 2.2</title><link>https://paapereira.xyz/posts/2009/04/virtualbox-22/</link><pubDate>Thu, 09 Apr 2009 20:07:00 +0100</pubDate><guid>https://paapereira.xyz/posts/2009/04/virtualbox-22/</guid><description>&lt;p>Following &lt;a href="https://paapereira.xyz/posts/virtualbox-21/">previous posts&lt;/a> about installing &lt;a href="http://www.virtualbox.org/">Virtualbox&lt;/a>, here&amp;rsquo;s the 2.2 update (currently 2.2.0).&lt;/p>
&lt;p>If you have a previous version already installed you need to manually install the new one.&lt;/p>
&lt;p>The most exciting addition is 3D acceleration for Linux guests, ie, Compiz. Yes sir :-)&lt;/p>
&lt;h2 id="install">Install&lt;/h2>
&lt;ul>
&lt;li>Go to System &amp;gt; Administration &amp;gt; Software Sources and Third-Party Software.&lt;/li>
&lt;li>Add the following sources for Intrepid (check your distribution &lt;a href="http://www.virtualbox.org/wiki/Linux_Downloads">here&lt;/a>)&lt;/li>
&lt;li>Download and register Sun authentication key&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>wget -q http://download.virtualbox.org/virtualbox/debian/sun_vbox.asc -O- | sudo apt-key add -
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>Be sure your source list is updated&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 apt-get update
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>Be sure you have &lt;a href="http://linux.dell.com/projects.shtml">dkms&lt;/a> installed (so Virtualbox host kernel is automatically updated as you update your system kernel)&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 apt-get install dkms
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>Install Virtualbox 2.2&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 apt-get install virtualbox-2.2
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>Logoff and login again&lt;/li>
&lt;li>Start Virtualbox at &lt;em>Applications &amp;gt; System Tools &amp;gt; Sun xVM VirtualBox&lt;/em>&lt;/li>
&lt;li>If you have a Windows Virtual Machine don&amp;rsquo;t forget to install the Guest Additions (after starting the virtual machine go to &lt;em>Devices &amp;gt; Install Guest Additions&lt;/em>).&lt;/li>
&lt;/ul></description></item><item><title>Ubuntu Certificate of Authenticity</title><link>https://paapereira.xyz/posts/2009/02/ubuntu-certificate-of-authenticity/</link><pubDate>Fri, 27 Feb 2009 13:25:00 +0000</pubDate><guid>https://paapereira.xyz/posts/2009/02/ubuntu-certificate-of-authenticity/</guid><description>&lt;p>&lt;a href="http://ubuntuforums.org/showthread.php?p=3629848">Get your copy&lt;/a>&amp;hellip; today!&lt;/p>
&lt;p>&lt;img src="https://paapereira.xyz/blog/2008-2015/2009-02-27-ubuntu-certificate-of-authenticity/ubuntucert.png" alt="Ubuntu Certificate of Authenticity">&lt;/p></description></item><item><title>Formating a partition in NTFS</title><link>https://paapereira.xyz/posts/2009/02/formating-a-partition-in-ntfs/</link><pubDate>Sun, 22 Feb 2009 19:30:00 +0000</pubDate><guid>https://paapereira.xyz/posts/2009/02/formating-a-partition-in-ntfs/</guid><description>&lt;p>If you need to format a partition in NTFS and you are using &lt;a href="http://gparted.sourceforge.net/">GParted&lt;/a>, just install &lt;code>ntfsprogs&lt;/code>.&lt;/p>
&lt;ul>
&lt;li>Go to &lt;em>System &amp;gt; Administration &amp;gt; Synaptic Package Manager&lt;/em>&lt;/li>
&lt;li>Search for &lt;em>ntfsprogs&lt;/em>&lt;/li>
&lt;li>Rigth click and &lt;em>Mark for Installation&lt;/em>&lt;/li>
&lt;/ul>
&lt;p>That&amp;rsquo;s it. You should see only greens in the NTFS line in &lt;em>GParted &amp;gt; Show Features&lt;/em>.&lt;/p>
&lt;p>&lt;img src="https://paapereira.xyz/blog/2008-2015/2009-02-22-formating-a-partition-in-ntfs/gparted-features.png" alt="gparted_features">&lt;/p></description></item><item><title>Get files and control your machine with Dropbox</title><link>https://paapereira.xyz/posts/2009/02/get-files-and-control-your-machine-with-dropbox/</link><pubDate>Thu, 12 Feb 2009 21:21:00 +0000</pubDate><guid>https://paapereira.xyz/posts/2009/02/get-files-and-control-your-machine-with-dropbox/</guid><description>&lt;p>After talking with a friend about how he was using &lt;a href="https://www.getdropbox.com/">Dropbox&lt;/a> to add new torrent files in is home computer, from work, I got excited with the potential of the idea.&lt;/p>
&lt;p>Dropbox, is a multiplatform tool that allows you to sync and share files online across computers. If you save a file in your home computer, when you turn on your computer at work, for example, that file will be automatically synced if you have Dropbox installed. It also have a web interface, so you don&amp;rsquo;t even need to install it.&lt;/p></description></item><item><title>Virtualbox 2.1</title><link>https://paapereira.xyz/posts/2009/01/virtualbox-21/</link><pubDate>Tue, 27 Jan 2009 21:53:00 +0000</pubDate><guid>https://paapereira.xyz/posts/2009/01/virtualbox-21/</guid><description>&lt;p>Following &lt;a href="https://paapereira.xyz/posts/virtualbox-20/">previous posts&lt;/a> about installing &lt;a href="http://www.virtualbox.org/">Virtualbox&lt;/a>, here&amp;rsquo;s the 2.1 update (currently 2.1.2).&lt;/p>
&lt;p>If you have 2.0 already installed you need to manually install the new version.&lt;/p>
&lt;h2 id="install">Install&lt;/h2>
&lt;ul>
&lt;li>Go to System &amp;gt; Administration &amp;gt; Software Sources and Third-Party Software.&lt;/li>
&lt;li>Add the following sources for Intrepid (check your distribution &lt;a href="http://www.virtualbox.org/wiki/Linux_Downloads">here&lt;/a>)&lt;/li>
&lt;li>Download and register Sun authentication key&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>wget -q http://download.virtualbox.org/virtualbox/debian/sun_vbox.asc -O- | sudo apt-key add -
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>Be sure your source list is updated&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 apt-get update
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>Be sure you have &lt;a href="http://linux.dell.com/projects.shtml">dkms&lt;/a> installed (so Virtualbox host kernel is automatically updated as you update your system kernel)&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 apt-get install dkms
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>Install Virtualbox 2.1&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 apt-get install virtualbox-2.1
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>Logoff and login again&lt;/li>
&lt;li>Start Virtualbox at Applications &amp;gt; System Tools &amp;gt; Sun xVM VirtualBox&lt;/li>
&lt;li>If you have a Windows Virtual Machine don&amp;rsquo;t forget to install the Guest Additions (after starting the virtual machine go to Devices &amp;gt; Install Guest Additions).&lt;/li>
&lt;/ul></description></item><item><title>Ubuntu Pocket Guide and Reference</title><link>https://paapereira.xyz/posts/2009/01/ubuntu-pocket-guide-and-reference/</link><pubDate>Tue, 27 Jan 2009 19:42:00 +0000</pubDate><guid>https://paapereira.xyz/posts/2009/01/ubuntu-pocket-guide-and-reference/</guid><description>&lt;p>Great book about Ubuntu. Ideal if you are new to Linux and Ubuntu.&lt;/p>
&lt;p>&lt;a href="http://www.ubuntupocketguide.com/">http://www.ubuntupocketguide.com/&lt;/a>&lt;/p>
&lt;p>You can &lt;a href="http://www.ubuntupocketguide.com/download.html">download&lt;/a> the PDF version for free or &lt;a href="http://www.amazon.com/gp/product/1440478295?ie=UTF8&amp;amp;tag=beginningubun-20&amp;amp;link_code=as3&amp;amp;camp=211189&amp;amp;creative=373489&amp;amp;creativeASIN=1440478295">buy it&lt;/a> online.&lt;/p>
&lt;p>&lt;img src="https://paapereira.xyz/blog/2008-2015/2009-01-27-ubuntu-pocket-guide-and-reference/ubuntu-badge-big.gif" alt="ubuntu-badge">&lt;/p></description></item><item><title>Reduce brightness on HP Pavilion dv5-1020ep (Ubuntu 8.10 64 bits)</title><link>https://paapereira.xyz/posts/2009/01/reduce-brightness-on-hp-pavilion-dv5/</link><pubDate>Mon, 12 Jan 2009 22:37:00 +0000</pubDate><guid>https://paapereira.xyz/posts/2009/01/reduce-brightness-on-hp-pavilion-dv5/</guid><description>&lt;p>My brightness function keys always worked, but suddenly they stopped working as well as the &amp;ldquo;Reduce backlight brightness&amp;rdquo; option in Power Management Preferences :(
Every time I unplugged my power cord the monitor dimmed automatically. Now not even with the function keys I get my brightness down.&lt;/p>
&lt;p>This happened in my &lt;a href="https://paapereira.xyz/posts/upgrading-to-ubuntu-810/">HP Pavilion dv5-1020ep&lt;/a> running Ubuntu 8.10 64 bits.&lt;/p>
&lt;p>Here some additional info after searching in the Ubuntu forums and Google:&lt;/p></description></item><item><title>Syncing Windows Mobile 5/6 with Synce (Ubuntu 8.10 version)</title><link>https://paapereira.xyz/posts/2008/12/syncing-windows-mobile-56-with-synce-update/</link><pubDate>Wed, 10 Dec 2008 21:10:00 +0000</pubDate><guid>https://paapereira.xyz/posts/2008/12/syncing-windows-mobile-56-with-synce-update/</guid><description>&lt;p>One of my &amp;ldquo;&lt;a href="https://paapereira.xyz/posts/ubuntu-in-my-desktop-status/">to achieve&lt;/a>&amp;rdquo; points was syncing my calendar and contact information from my Windows Mobile 5.0 Smartphone (&lt;a href="http://www.gsmarena.com/qtek_9100-1257.php">Qtek 9100&lt;/a>).&lt;/p>
&lt;p>This post is an update from my previous &lt;a href="https://paapereira.xyz/posts/syncing-windows-mobile-56-with-synce/">one&lt;/a>, after my Ubuntu 8.10 upgrade. Please refer to that first post if you&amp;rsquo;re using previous versions of Ubuntu. I upgraded Ubuntu and Synce, so if you are installing it from scratch and you&amp;rsquo;re having problems please let me know. I&amp;rsquo;ll try and help you.&lt;/p></description></item><item><title>Upgrading to Ubuntu 8.10 The Intrepid Ibex</title><link>https://paapereira.xyz/posts/2008/11/upgrading-to-ubuntu-810/</link><pubDate>Mon, 03 Nov 2008 22:03:00 +0000</pubDate><guid>https://paapereira.xyz/posts/2008/11/upgrading-to-ubuntu-810/</guid><description>&lt;p>Last week Ubuntu 8.10, aka The Intrepid Ibex, was &lt;a href="http://www.ubuntu.com/getubuntu/download">released&lt;/a>.&lt;/p>
&lt;p>Time to updgrade :-) First in my &lt;a href="https://paapereira.xyz/posts/hp-pavilion-dv5-1020ep-ubuntu-64-bits/">laptop&lt;/a>.&lt;/p>
&lt;p>I will be the using the 64 bit alternate cd to upgrade. This means that the upgrade will have a cd image as his source, and not the Internet. This way it&amp;rsquo;s much faster.&lt;/p>
&lt;h2 id="before-you-start">Before you start&lt;/h2>
&lt;ul>
&lt;li>Check for updates using Update Manager&lt;/li>
&lt;li>Backup your data&lt;/li>
&lt;li>Check the &lt;a href="http://www.ubuntu.com/getubuntu/releasenotes/810">Release Notes&lt;/a>&lt;/li>
&lt;li>&lt;a href="http://www.ubuntu.com/getubuntu/download">Download&lt;/a> Ubuntu (I recommend using &lt;a href="http://www.ubuntu.com/getubuntu/downloadmirrors#bt">Torrents&lt;/a>)&lt;/li>
&lt;li>Check the file hash (example: &lt;code>md5sum ubuntu-8.10-alternate-amd64.iso&lt;/code>)&lt;/li>
&lt;li>Be sure to upgrade from Ubuntu 8.04.&lt;/li>
&lt;li>Use &lt;a href="http://www.ubuntugeek.com/easy-way-of-mountunmount-iso-images-in-ubuntu.html">Gmount-iso&lt;/a> to mount the iso file. This way cd could be mounted without having to burn a cd.&lt;/li>
&lt;/ul>
&lt;p>In the Terminal, go to the cd mount point (example: &lt;em>/media/cdrom&lt;/em>) and type:&lt;/p></description></item><item><title>HP Pavilion dv5-1020ep (Ubuntu 64 bits)</title><link>https://paapereira.xyz/posts/2008/09/hp-pavilion-dv5-1020ep-ubuntu-64-bits/</link><pubDate>Tue, 16 Sep 2008 21:49:00 +0100</pubDate><guid>https://paapereira.xyz/posts/2008/09/hp-pavilion-dv5-1020ep-ubuntu-64-bits/</guid><description>&lt;p>My old laptop&amp;rsquo;s battery is dying, and I used that as an excuse to buy myself a new on :-)&lt;/p>
&lt;p>I had a HP Pavilion zt3240EA, and have been very happy with it. Nice machine. Still, age weights on every one.&lt;/p>
&lt;p>I&amp;rsquo;m gonna be installing Ubuntu 8.04.1 LTS Desktop Edition, 64 bits version, on my new &lt;a href="http://h10025.www1.hp.com/ewfrf/wc/product?lc=en&amp;amp;dlc=en&amp;amp;cc=sg&amp;amp;product=3770477&amp;amp;lang=en">HP Pavilion dv5-1020ep&lt;/a>.&lt;/p>
&lt;h2 id="download-and-burn-a-cd">Download and Burn a CD&lt;/h2>
&lt;ul>
&lt;li>Go to Ubuntu &lt;a href="http://www.ubuntu.com/getubuntu/download">Download Page&lt;/a> and download Ubuntu.&lt;/li>
&lt;li>Check the downloaded file hash. The output must be the same as you see in the &lt;a href="https://help.ubuntu.com/community/UbuntuHashes">Ubuntu Hashes Page&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>md5sum ubuntu-8.04.1-desktop-amd64.iso
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>Burn a cd (you can use &lt;a href="http://www.gnome.org/projects/brasero/">Brasero&lt;/a>, for example, if you already use Ubuntu).&lt;/li>
&lt;/ul>
&lt;h2 id="running-the-live-cd">Running the live cd&lt;/h2>
&lt;ul>
&lt;li>Boot from the cd.&lt;/li>
&lt;li>After booting it&amp;rsquo;s important to check the integrity of the cd. Burning cds also fails.&lt;/li>
&lt;/ul>
&lt;h2 id="hardware-to-check-during-the-live-cd-session">Hardware to check (during the live cd session)&lt;/h2>
&lt;ul>
&lt;li>Graphics (only 1024x768, but check)&lt;/li>
&lt;li>Sound (check)&lt;/li>
&lt;li>Media buttons (check)&lt;/li>
&lt;li>Cable network (check)&lt;/li>
&lt;li>Wireless network (the proprietary Atheros wireless card was found, not tested)&lt;/li>
&lt;li>HP media command (not working)&lt;/li>
&lt;li>Integrated Webcam (check)&lt;/li>
&lt;/ul>
&lt;h2 id="hard-drive-partition-layout">Hard Drive Partition Layout&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-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>/dev/sda
&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> /dev/sda1 ntfs Vista 		36002 MB
&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> /dev/sda ntfs Vista Recover 8450 MB
&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> /dev/sda3 ext3 / 	 10240 MB
&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> /dev/sda5 ext3 /home 	10240 MB
&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> /dev/sda6 ext3 /storage 	94072 MB
&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> /dev/sda7 swap 1028 MB
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h2 id="post-install-graphics-card">Post-install: Graphics Card&lt;/h2>
&lt;p>I installed &lt;a href="http://albertomilone.com/index.html">EnvyNG&lt;/a> using the Synaptic Package Manager (look for &lt;code>envyng-gtk&lt;/code>) and just had to run it (Applications &amp;gt; System Tools &amp;gt; EnvyNG), after closing Synaptic (important), and choose to “Install the ATI driver (Automatic Hardware Detection)” option.&lt;/p></description></item><item><title>Virtualbox 2.0</title><link>https://paapereira.xyz/posts/2008/09/virtualbox-20/</link><pubDate>Tue, 16 Sep 2008 12:57:00 +0100</pubDate><guid>https://paapereira.xyz/posts/2008/09/virtualbox-20/</guid><description>&lt;p>&lt;a href="http://www.virtualbox.org/">Virtualbox 2.0&lt;/a> is out and now it&amp;rsquo;s easier to install and maintain.&lt;/p>
&lt;h2 id="install">Install&lt;/h2>
&lt;ul>
&lt;li>Download and register Sun authentication key&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>wget -q http://download.virtualbox.org/virtualbox/debian/sun_vbox.asc -O- | sudo apt-key add -
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>Go to System &amp;gt; Administration &amp;gt; Software Sources and Third-Party Software.&lt;/li>
&lt;li>Add the following sources for Hardy (check your distibution &lt;a href="http://www.virtualbox.org/wiki/Linux_Downloads">here&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-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>deb http://download.virtualbox.org/virtualbox/debian hardy non-free
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>Now you can go to Synaptic Package Manager and look for virtualbox. This way you can uninstall previous Virtualbox installations (Synaptic Package Manager will do that for you).&lt;/li>
&lt;li>Don&amp;rsquo;t forget to install the new Guest Additions if you&amp;rsquo;re using a Windows Virtual Machine.&lt;/li>
&lt;li>Now you&amp;rsquo;ll receive updated through Update Manager.&lt;/li>
&lt;/ul>
&lt;p>Also check my previous posts about Virtualbox for more info and tips:&lt;/p></description></item><item><title>Anatomy of the Linux kernel</title><link>https://paapereira.xyz/posts/2008/08/anatomy-of-linux-kernel/</link><pubDate>Wed, 20 Aug 2008 20:55:00 +0100</pubDate><guid>https://paapereira.xyz/posts/2008/08/anatomy-of-linux-kernel/</guid><description>&lt;p>If you want to know more about the &lt;a href="http://www.ibm.com/developerworks/linux/library/l-linux-kernel/index.html?S_TACT=105AGX03&amp;amp;S_CMP=ART">Anatomy of the Linux kernel&lt;/a>, here’s a nice article.&lt;/p></description></item><item><title>Sun Virtualbox</title><link>https://paapereira.xyz/posts/2008/07/sun-virtualbox/</link><pubDate>Wed, 30 Jul 2008 23:03:00 +0100</pubDate><guid>https://paapereira.xyz/posts/2008/07/sun-virtualbox/</guid><description>&lt;p>I have &lt;a href="https://paapereira.xyz/posts/windows-under-linux/">Virtualbox OSE&lt;/a> (Open Source Edition) installed. I use it basically to use Office, when needed.&lt;/p>
&lt;p>Currently I only restart to Windows to sync my iPod Touch, and that&amp;rsquo;s because Virtualbox OSE doesn&amp;rsquo;t support USB.&lt;/p>
&lt;p>But there&amp;rsquo;s a version, provided by Sun, that supports USB devices.&lt;/p>
&lt;h2 id="uninstall-virtualbox-ose">Uninstall Virtualbox OSE&lt;/h2>
&lt;p>If you already have Virtualbox installed go to Applications &amp;gt; Add/Remove&amp;hellip; and look for &lt;em>virtualbox&lt;/em> to uninstall your current version.&lt;/p>
&lt;p>I also went to System &amp;gt; Administration &amp;gt; Synaptic Package Manager and also looked for &lt;em>virtualbox&lt;/em> to remove every trace of it.&lt;/p></description></item><item><title>Syncing Windows Mobile 5/6 with Synce (updated)</title><link>https://paapereira.xyz/posts/2008/07/syncing-windows-mobile-56-with-synce/</link><pubDate>Wed, 30 Jul 2008 16:07:00 +0100</pubDate><guid>https://paapereira.xyz/posts/2008/07/syncing-windows-mobile-56-with-synce/</guid><description>&lt;p>One of my &amp;ldquo;&lt;a href="https://paapereira.xyz/posts/ubuntu-in-my-desktop-status/">to achieve&lt;/a>&amp;rdquo; points was syncing my calendar and contact information from my Windows Mobile 5.0 Smartphone (&lt;a href="http://www.gsmarena.com/qtek_9100-1257.php">Qtek 9100&lt;/a>).&lt;/p>
&lt;p>After trying for some time, I used a tip from &lt;a href="http://sourceforge.net/mailarchive/message.php?msg_id=77f21d490805200515r65f82998ka148724b6e29b880%40mail.gmail.com">Synce mailing lists&lt;/a>. This tip was great for me because the author was also having troubles and started from scratch.&lt;/p>
&lt;p>I think my problem was the &lt;em>config.xml&lt;/em> file. I believe that if I just followed the instructions from the good folks from &lt;a href="http://www.synce.org/moin/SynceWithUbuntu">Synce&lt;/a>, as I first did, but changed the &lt;em>config.xml&lt;/em>, as in the mailing list, I wouldn&amp;rsquo;t have needed to clean my system.&lt;/p></description></item><item><title>GnomeDo 0.5</title><link>https://paapereira.xyz/posts/2008/07/gnomedo-05_29/</link><pubDate>Tue, 29 Jul 2008 23:13:00 +0100</pubDate><guid>https://paapereira.xyz/posts/2008/07/gnomedo-05_29/</guid><description>&lt;p>A friend of mine asked me about a Linux equivalent to &lt;a href="http://www.launchy.net/index.html">Launchy&lt;/a>, a keystroke launcher for Windows.&lt;/p>
&lt;p>And that is &lt;a href="http://do.davebsd.com/">GnomeDo&lt;/a>.&lt;/p>
&lt;h2 id="install">Install&lt;/h2>
&lt;ul>
&lt;li>If you have an older version of GnomeDo start by removing it and deleting is plugins:&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 aptitude purge gnome-do gnome-do-plugins gnome-do-plugin-rhythmbox
&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>rm -rf ~/.local/share/gnome-do/plugins/
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>Then add the following software sources (System &amp;gt; Administration &amp;gt; Software Sources):&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-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>deb http://ppa.launchpad.net/do-core/ubuntu hardy main
&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>deb-src http://ppa.launchpad.net/do-core/ubuntu hardy main
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>Install GnomeDo (currently v0.5.97):&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 aptitude update &lt;span style="color:#f92672">&amp;amp;&amp;amp;&lt;/span> sudo aptitude install gnome-do 
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h2 id="using-gnomedo">Using GnomeDo&lt;/h2>
&lt;p>Go to Application &amp;gt; Accessories &amp;gt; GNOME Do to start the application (it will also appear in your notification area).&lt;/p></description></item><item><title>Cleaning your system from outdated software</title><link>https://paapereira.xyz/posts/2008/07/cleaning-your-system-from-outdated-software/</link><pubDate>Tue, 22 Jul 2008 21:06:00 +0100</pubDate><guid>https://paapereira.xyz/posts/2008/07/cleaning-your-system-from-outdated-software/</guid><description>&lt;p>As you install, uninstall and update applications there are some garbage left behind.&lt;/p>
&lt;h2 id="autoremove">Autoremove&lt;/h2>
&lt;p>When you run &lt;em>autoremove&lt;/em>, packages that have been installed but are no longer in use, are removed.&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 apt-get autoremove 
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h2 id="autoclean">Autoclean&lt;/h2>
&lt;p>&lt;em>Autoclean&lt;/em> removes .deb files from packages no longer installed on your system.&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 apt-get autoclean 
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>Do you have other cleaning tips? Send me an email or post a comment.&lt;/p></description></item><item><title>SynCE 0.12 is out</title><link>https://paapereira.xyz/posts/2008/07/synce-012-is-out/</link><pubDate>Thu, 17 Jul 2008 22:19:00 +0100</pubDate><guid>https://paapereira.xyz/posts/2008/07/synce-012-is-out/</guid><description>&lt;p>Yesterday SynCE 0.12 was released.&lt;/p>
&lt;p>As soon as I test it I&amp;rsquo;ll update &lt;a href="https://paapereira.xyz/posts/syncing-windows-mobile-56-with-synce/">this post&lt;/a>.&lt;/p>
&lt;p>You can check the announcement at &lt;a href="http://sourceforge.net/mailarchive/message.php?msg_name=20080716003243.GA3964%40salieri.jonnylamb.com">SynCE mailing lists&lt;/a>.&lt;/p></description></item><item><title>Synergy</title><link>https://paapereira.xyz/posts/2008/06/synergy/</link><pubDate>Tue, 24 Jun 2008 22:53:00 +0100</pubDate><guid>https://paapereira.xyz/posts/2008/06/synergy/</guid><description>&lt;p>&lt;a href="http://synergy2.sourceforge.net/">Synergy&lt;/a> is a great piece of software. It allows you to, and I quote, &amp;ldquo;easily share a single mouse and keyboard between multiple computers with different operating systems, each with its own display, without special hardware&amp;rdquo;. Yes, your could use Linux, Windows or Mac OS. I&amp;rsquo;m only using it between to Ubuntu machines, so share your eXPerience if your using Linux and Windows for example.&lt;/p>
&lt;p>Check &lt;a href="http://synergy2.sourceforge.net/about.html">here&lt;/a> a little animation.&lt;/p>
&lt;p>After you install and setup Synergy you only need to move your mouse to the right, left, up or down of your monitor (according to your setup) and your automatically gain control of the other machine. Now your mouse and keyboard will work there. To return to the main machine do the opposite.&lt;/p></description></item><item><title>Firefox 3.0 is out</title><link>https://paapereira.xyz/posts/2008/06/firefox-30-is-out/</link><pubDate>Tue, 17 Jun 2008 22:17:00 +0100</pubDate><guid>https://paapereira.xyz/posts/2008/06/firefox-30-is-out/</guid><description>&lt;p>Firefox 3.0 is out !!! :)&lt;/p>
&lt;p>&lt;a href="http://www.mozilla.com/en-US/firefox/?p=downloadday">Download now&lt;/a>.&lt;/p></description></item><item><title>Firefox Download Day is June 17, 2008</title><link>https://paapereira.xyz/posts/2008/06/firefox-download-day-is-june-17-2008/</link><pubDate>Thu, 12 Jun 2008 21:25:00 +0100</pubDate><guid>https://paapereira.xyz/posts/2008/06/firefox-download-day-is-june-17-2008/</guid><description>&lt;p>It&amp;rsquo;s annouced!! Firefox 3.0 will be released in &lt;strong>June 17&lt;/strong>, it&amp;rsquo;s a Tuesday.&lt;/p>
&lt;p>Firefox is trying to set a &lt;a href="https://paapereira.xyz/posts/firefox-guinness-world-record/">Guinness World Record&lt;/a>, so don&amp;rsquo;t forget, &lt;a href="http://www.spreadfirefox.com/en-US/worldrecord">pledge&lt;/a> now and download Firefox 3.0 next Tuesday.&lt;/p></description></item><item><title>ufw - Ucomplicated Firewall</title><link>https://paapereira.xyz/posts/2008/06/ufw-ucomplicated-firewall/</link><pubDate>Tue, 10 Jun 2008 15:49:00 +0100</pubDate><guid>https://paapereira.xyz/posts/2008/06/ufw-ucomplicated-firewall/</guid><description>&lt;p>I&amp;rsquo;m starting to play around with &lt;strong>ufw&lt;/strong> (Ucomplicated Firewall), a firewall for Linux.&lt;/p>
&lt;p>It&amp;rsquo;s command line based, but simple enough.&lt;/p>
&lt;p>I&amp;rsquo;ll update this post as I play along.&lt;/p>
&lt;h2 id="enabledisable-ufw">Enable/disable ufw&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 ufw enable
&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 ufw disable 
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h2 id="default-policy">Default policy&lt;/h2>
&lt;ul>
&lt;li>mostly open ports&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 ufw default allow
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>mostly closed ports&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 ufw default deny 
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h2 id="allowdeny-services-syntax">Allow/deny services syntax&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 ufw allow|deny &amp;lt;service&amp;gt; 
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h2 id="add-rules-syntax">Add rules syntax&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 ufw allow|deny &lt;span style="color:#f92672">[&lt;/span>proto &amp;lt;protocol&amp;gt;&lt;span style="color:#f92672">]&lt;/span> &lt;span style="color:#f92672">[&lt;/span>from &amp;lt;address&amp;gt; &lt;span style="color:#f92672">[&lt;/span>port &amp;lt;port&amp;gt;&lt;span style="color:#f92672">]]&lt;/span> &lt;span style="color:#f92672">[&lt;/span>to &amp;lt;address&amp;gt; &lt;span style="color:#f92672">[&lt;/span>port &amp;lt;port&amp;gt;&lt;span style="color:#f92672">]]&lt;/span> 
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h2 id="delete-rules-syntax">Delete rules syntax&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 ufw delete &amp;lt;rule type&amp;gt; from &amp;lt;ip address&amp;gt; to any port &amp;lt;port number&amp;gt; 
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h2 id="firewall-status">Firewall status&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 ufw status 
&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>Firewall loaded
&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>To Action From
&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>24800:tcp ALLOW 100.000.1.1
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h2 id="examples">Examples&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 ufw allow proto tcp from 100.000.1.1 to any port &lt;span style="color:#ae81ff">24800&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>sudo ufw delete allow proto tcp from 100.000.1.1 to any port &lt;span style="color:#ae81ff">24800&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 ufw allow ssh
&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 ufw delete allow ssh
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div></description></item><item><title>Removing old kernels from your system</title><link>https://paapereira.xyz/posts/2008/06/removing-old-kernels-from-your-system/</link><pubDate>Thu, 05 Jun 2008 16:20:00 +0100</pubDate><guid>https://paapereira.xyz/posts/2008/06/removing-old-kernels-from-your-system/</guid><description>&lt;p>After a while you&amp;rsquo;re starting to collect kernel versions on your system.&lt;/p>
&lt;p>Since Hardy came out, with kernel 2.6.24-16, we had two kernel updates, so, in grub we have now entries to kernels 2.6.24-16, 2.6.24-17 and 2.6.24-18.&lt;/p>
&lt;p>We just need one to boot in, and we and the most recent one of course. Still, when deciding to remove an old kernel be aware of possible problems.&lt;/p>
&lt;p>&lt;a href="https://paapereira.xyz/posts/windows-under-linux/">Virtualbox&lt;/a> for instance, needs a module to the specific kernel you&amp;rsquo;re running. Every time a new kernel is released your Virtualbox setup will not work until your upgrade the said module.
So, if you need to use Virtualbox and you don&amp;rsquo;t yet have the new module, you could just restart into the old kernel.&lt;/p></description></item><item><title>NFS file sharing</title><link>https://paapereira.xyz/posts/2008/05/nfs-file-sharing/</link><pubDate>Thu, 01 May 2008 17:59:00 +0100</pubDate><guid>https://paapereira.xyz/posts/2008/05/nfs-file-sharing/</guid><description>&lt;p>Here&amp;rsquo;s how you share files between two Linux machines, using NFS.&lt;/p>
&lt;h2 id="installation">Installation&lt;/h2>
&lt;ul>
&lt;li>Go to the Synaptic Package Manager&lt;/li>
&lt;li>Find &lt;code>nfs-kernel-server&lt;/code> and install&lt;/li>
&lt;/ul>
&lt;h2 id="configuration-in-machine-1-where-the-shared-folder-is">Configuration in machine 1 (where the shared folder is)&lt;/h2>
&lt;ul>
&lt;li>Define the shares you want to provide&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/exports
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>Add your shares to the 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-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>/home/mach1user/Public *(ro,sync)
&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>/home/mach1user/Documents 100.000.00.01(ro,sync,no_subtree_check)
&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>/home/mach1user/Share 100.000.00.01/20(rw,sync,no_subtree_check)
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>Make your changes be known&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 exportfs -a
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h2 id="configuration-in-machine-2-where-the-shared-folder-are-going-to-be-accessed">Configuration in machine 2 (where the shared folder are going to be accessed)&lt;/h2>
&lt;ul>
&lt;li>Create a folder, where the share will be mounted&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 /home/mach2user/HomeNetwork/Public
&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 /home/mach2user/HomeNetwork/Documents
&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 /home/mach2user/HomeNetwork/Share
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>Mount the shares (the IP is from machine 1)&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 100.000.0.05:/home/mach1user/Public /home/mach2user/HomeNetwork/Public
&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 mount 100.000.0.05:/home/mach1user/Documents /home/mach2user/HomeNetwork/Documents
&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 mount 100.000.0.05:/home/mach1user/Share /home/mach2user/HomeNetwork/Share
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>Make the shares available after rebooting&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;ul>
&lt;li>Add to the file (the IP is from machine 1)&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-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>100.000.0.05:/home/mach1user/Public /home/mach2user/HomeNetwork/Public nfs ro,hard,intr 0 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">2&lt;/span>&lt;span>100.000.0.05:/home/mach1user/Documents /home/mach2user/HomeNetwork/Documents nfs ro,hard,intr 0 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>100.000.0.05:/home/mach1user/Share /home/mach2user/HomeNetwork/Share nfs ro,hard,intr 0 0
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>And that should do it.&lt;/p></description></item><item><title>Windows under Linux</title><link>https://paapereira.xyz/posts/2008/05/windows-under-linux/</link><pubDate>Thu, 01 May 2008 16:22:00 +0100</pubDate><guid>https://paapereira.xyz/posts/2008/05/windows-under-linux/</guid><description>&lt;p>Ok, some things I may need to do in Windows (for now).&lt;/p>
&lt;p>So I will install a virtual Windows machine using &lt;a href="http://www.virtualbox.org/">VirtualBox&lt;/a>.&lt;/p>
&lt;h2 id="install">Install&lt;/h2>
&lt;ul>
&lt;li>Applications &amp;gt; Add/Remove Applications&lt;/li>
&lt;li>Show: All available applications&lt;/li>
&lt;li>Search: &lt;em>virtualbox&lt;/em>&lt;/li>
&lt;li>Check &lt;em>VirtualBox OSE&lt;/em> and Apply Changes&lt;/li>
&lt;li>Run VirtualBox (Applications &amp;gt; System Tools &amp;gt; VirtualBox OSE)&lt;/li>
&lt;/ul>
&lt;h2 id="creating-a-new-virtual-machine">Creating a new Virtual Machine&lt;/h2>
&lt;ul>
&lt;li>Click New and follow the instructions (a virtual hard disk is needed, but you&amp;rsquo;ll be easily guided through the installer)&lt;/li>
&lt;li>Go to Synaptic Package Manager&lt;/li>
&lt;li>Search for &lt;em>virtualbox&lt;/em>&lt;/li>
&lt;li>Install virtualbox-ose module for your kernel (like &lt;em>linux-image-2.6.24-16-generic&lt;/em>)&lt;/li>
&lt;li>Install virtualbox-ose-guest module for your kernel (like &lt;em>linux-image-2.6.24-16-generic&lt;/em>)&lt;/li>
&lt;li>Go to System &amp;gt; Administration &amp;gt; Users and Groups&lt;/li>
&lt;li>In &lt;em>Manage Groups&lt;/em> find &lt;em>vboxusers&lt;/em>, click &lt;em>Properties&lt;/em> and add your user to this Group&lt;/li>
&lt;li>Logout from Ubuntu&lt;/li>
&lt;li>Back to VirtualBox&lt;/li>
&lt;li>Go to Settings &amp;gt; CD/DVD-ROM and mount your Windows CD or iso Windows file&lt;/li>
&lt;li>Start the Virtual Machine and install Windows&lt;/li>
&lt;li>Tip: Click in the VirtualBox window to get the mouse pointer into Windows and click Alt+Ctrl to get the mouse pointer back to Ubuntu&lt;/li>
&lt;li>Note: I used &lt;a href="http://www.gnome.org/projects/brasero/">Brasero&lt;/a> to create a ISO image of Windows XP&lt;/li>
&lt;/ul>
&lt;h2 id="share-folders-with-the-virtual-machine">Share folders with the Virtual Machine&lt;/h2>
&lt;ul>
&lt;li>In the VirtualBox window go to Devices &amp;gt; Install Guest Additions&lt;/li>
&lt;li>This will download an iso image file, mounting it in Windows and install &lt;em>Guest Additions for Windows&lt;/em>&lt;/li>
&lt;li>Shutdown Windows&lt;/li>
&lt;li>Go to Settings &amp;gt; Shared Folder and add the folders you want to share&lt;/li>
&lt;li>Start Windows and map a Network Drive to:&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-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>\\vboxsvr\yoursharedfolder
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h2 id="virtualbox-running-modes">VirtualBox running modes&lt;/h2>
&lt;ul>
&lt;li>Windowed: in this case Windows will be displayed in a window&lt;/li>
&lt;li>Fullscreen: in this case Windows will be displayed in full screen&lt;/li>
&lt;li>Seemless mode: in this case Windows will be integrated into Gnome&lt;/li>
&lt;/ul></description></item><item><title>Ubuntu in my desktop (installation)</title><link>https://paapereira.xyz/posts/2008/05/ubuntu-in-my-desktop-installation/</link><pubDate>Thu, 01 May 2008 14:35:00 +0100</pubDate><guid>https://paapereira.xyz/posts/2008/05/ubuntu-in-my-desktop-installation/</guid><description>&lt;p>Tomorrow (01/05) is an holiday in Portugal and today it was a nice day to start installing Ubuntu in my Desktop :-)&lt;/p>
&lt;p>The first reference for my eXPerience is my own &lt;a href="https://paapereira.xyz/posts/ubuntu-in-my-desktop-status/">post&lt;/a> where I address several important points to check before installing and to achieve.&lt;/p>
&lt;h2 id="running-the-live-cd">Running the live cd&lt;/h2>
&lt;p>So, the first thing was downloading &lt;a href="http://www.ubuntu.com/">Ubuntu&lt;/a> 32 bits, checking the downloaded file hash (look for more info &lt;a href="https://paapereira.xyz/posts/upgrading-to-hardy/">here&lt;/a> and burning the cd.&lt;/p>
&lt;p>After booting from the cd is important to check the integrity of the cd. Burning cds also fails.&lt;/p></description></item><item><title>Ubuntu in my desktop (status)</title><link>https://paapereira.xyz/posts/2008/04/ubuntu-in-my-desktop-status/</link><pubDate>Tue, 29 Apr 2008 21:45:00 +0100</pubDate><guid>https://paapereira.xyz/posts/2008/04/ubuntu-in-my-desktop-status/</guid><description>&lt;p>I&amp;rsquo;m preparing to install &lt;a href="http://www.ubuntu.com/">Ubuntu 8.04 &amp;ldquo;Hardy Heron&amp;rdquo;&lt;/a> in my desktop machine.&lt;/p>
&lt;h2 id="before-starting">Before starting&lt;/h2>
&lt;ul>
&lt;li>Try, using the Ubuntu live-cd, at least graphics, sound and cable network access (done)&lt;/li>
&lt;li>Backup important data (done)&lt;/li>
&lt;li>Decide the partition layout for all my hard drives (&lt;a href="https://paapereira.xyz/posts/partition-map/">example&lt;/a> (done)&lt;/li>
&lt;li>Rethink my home network (IPs, Windows workgroup names&amp;hellip;)&lt;/li>
&lt;li>Decide between Ubuntu 32 bits and Ubuntu 64 bits for my AMD Athlon 64BIT X2 DUAL-CORE 4200+ SKAM2 2.20 GB
&lt;ul>
&lt;li>I&amp;rsquo;ve decided to go with Ubuntu 32 bits (done)&lt;/li>
&lt;li>Check if both cores are beeing used (done)&lt;/li>
&lt;/ul>
&lt;/li>
&lt;/ul>
&lt;p>I will be dual-booting (for now) with Windows XP, and in order to release myself from Windows completely, here&amp;rsquo;s a &amp;ldquo;to achieve&amp;rdquo; list.&lt;/p></description></item><item><title>Upgrading to Hardy</title><link>https://paapereira.xyz/posts/2008/04/upgrading-to-hardy/</link><pubDate>Fri, 25 Apr 2008 00:56:00 +0100</pubDate><guid>https://paapereira.xyz/posts/2008/04/upgrading-to-hardy/</guid><description>&lt;p>And I&amp;rsquo;m set. I&amp;rsquo;m now officially running Ubuntu 8.04 LTS.&lt;/p>
&lt;p>The recommended (and easier) way to &lt;a href="http://www.ubuntu.com/getubuntu/upgrading">upgrade&lt;/a> from Ubuntu 7.10 is to use Update Manager. But the servers are clotted (April 25th)&amp;hellip;
I tried it two times and it just isn&amp;rsquo;t possible at this moment (yes, I want Hardy).&lt;/p>
&lt;p>So I downloaded the &lt;a href="http://www.ubuntu.com/getubuntu/download">alternate version of Ubuntu&lt;/a> (check bellow the &amp;ldquo;Start Download&amp;rdquo; button).
This version isn&amp;rsquo;t a live cd, and it can be used to upgrade Ubuntu.&lt;/p></description></item><item><title>Hardy is out</title><link>https://paapereira.xyz/posts/2008/04/hardy-is-out/</link><pubDate>Thu, 24 Apr 2008 19:36:00 +0100</pubDate><guid>https://paapereira.xyz/posts/2008/04/hardy-is-out/</guid><description>&lt;p>Here it his. &lt;a href="http://www.ubuntu.com/news/ubuntu-8.04-lts-desktop">Ubuntu 8.04 LTS&lt;/a>, codename Hardy Heron, is out.&lt;/p>
&lt;p>This is the second Long Time Support (LTS) release from Ubuntu and it will be supported for 3 years (instead of the normal 18 months).&lt;/p>
&lt;p>For those who don&amp;rsquo;t want to install a new OS every 6 to 18 months this is a great chance to do a fresh install and keep your desktop up and running, with full support, for a long time.&lt;/p></description></item><item><title>Firefox Tip: Opening Search results in a new tab</title><link>https://paapereira.xyz/posts/2008/04/firefox-tip-opening-search-results/</link><pubDate>Mon, 21 Apr 2008 19:11:00 +0100</pubDate><guid>https://paapereira.xyz/posts/2008/04/firefox-tip-opening-search-results/</guid><description>&lt;p>Here&amp;rsquo;s a useful tip to always open your Firefox search results in a new tab:&lt;/p>
&lt;ul>
&lt;li>In the address bar type &lt;em>about:config&lt;/em>&lt;/li>
&lt;li>Look for &lt;em>browser.search.openintab&lt;/em>&lt;/li>
&lt;li>Double click the &lt;em>False&lt;/em> value (in the Value column) to change it to &lt;em>True&lt;/em>&lt;/li>
&lt;li>Now try to search something in your favorite search engine&lt;/li>
&lt;/ul>
&lt;p>&lt;em>PS:&lt;/em> this works in every OS (at least Linux and Windows).&lt;/p></description></item><item><title>Conky</title><link>https://paapereira.xyz/posts/2008/04/conky/</link><pubDate>Mon, 21 Apr 2008 18:31:00 +0100</pubDate><guid>https://paapereira.xyz/posts/2008/04/conky/</guid><description>&lt;p>&lt;a href="http://conky.sourceforge.net/">Conky&lt;/a> (1.5.1) is an application that posts system monitoring info onto your Desktop. It is very light-weighted and very cool to play with.&lt;/p>
&lt;h2 id="steps-to-install">Steps to install&lt;/h2>
&lt;p>In the Terminal:&lt;/p>
&lt;ul>
&lt;li>install conky&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 apt-get install conky
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>get a configuration example file (check a nicer one bellow)&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>zcat /usr/share/doc/conky/examples/conkyrc.sample.gz &amp;gt; ~/.conkyrc 
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h2 id="run-conky-in-the-terminal">Run *conky* in the Terminal&lt;/h2>
&lt;p>To have &lt;em>conky&lt;/em> automatically start when you boot Ubuntu, do the following:&lt;/p></description></item><item><title>Firefox Widgets</title><link>https://paapereira.xyz/posts/2008/04/firefox-widgets/</link><pubDate>Thu, 17 Apr 2008 21:58:00 +0100</pubDate><guid>https://paapereira.xyz/posts/2008/04/firefox-widgets/</guid><description>&lt;p>Firefox widgets (buttons, radio buttons, drop down menus, text fields and checkboxes) in Ubuntu don&amp;rsquo;t look so good. I don&amp;rsquo;t like it. And I&amp;rsquo;m not the only one.
So, we can change the images and CSS code for the widgets so Firefox will look really nice :)&lt;/p>
&lt;p>Here&amp;rsquo;s a tip from &lt;a href="http://ubuntuforums.org/showthread.php?t=369596">Ubuntu Forums&lt;/a>.&lt;/p>
&lt;h2 id="steps-to-make-firefox-widgets-look-good">Steps to make Firefox widgets look good&lt;/h2>
&lt;ul>
&lt;li>
&lt;p>Download the Firefox Widget Installer&lt;/p>
&lt;/li>
&lt;li>
&lt;p>available at the end of the first post (&lt;a href="http://ubuntuforums.org/attachment.php?attachmentid=40110&amp;amp;d=1186519785">direct link&lt;/a>)&lt;/p></description></item><item><title>Elisa Media Center</title><link>https://paapereira.xyz/posts/2008/04/elisa-media-center/</link><pubDate>Tue, 15 Apr 2008 21:03:00 +0100</pubDate><guid>https://paapereira.xyz/posts/2008/04/elisa-media-center/</guid><description>&lt;p>Today I was talking with a friend of mine about Media Centers. A little by change I found a great Open Source solution.&lt;/p>
&lt;p>It&amp;rsquo;s called &lt;a href="http://elisa.fluendo.com/">Elisa&lt;/a>.&lt;/p>
&lt;p>Here&amp;rsquo;s a little demo:&lt;/p>
&lt;p>&lt;a href="https://youtu.be/n_Hkr5GyrA0">https://youtu.be/n_Hkr5GyrA0&lt;/a>&lt;/p>
&lt;p>I had to try it. It is super simple to install.&lt;/p>
&lt;p>It all happens in the Terminal:&lt;/p>
&lt;ul>
&lt;li>First import the GPG key&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>wget http://elisa.fluendo.com/packages/philn.asc -O - | sudo apt-key add -
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>
&lt;p>Then add the Elisa package source to your sources list&lt;/p></description></item><item><title>Error while starting Ubuntu</title><link>https://paapereira.xyz/posts/2008/04/error-while-starting-ubuntu/</link><pubDate>Sat, 05 Apr 2008 16:45:00 +0100</pubDate><guid>https://paapereira.xyz/posts/2008/04/error-while-starting-ubuntu/</guid><description>&lt;p>Yesterday, when I was starting up my Ubuntu machine, the screen went white and I had to manually turn off the laptop.&lt;/p>
&lt;p>When I started it again the file system checkup (&lt;a href="http://en.wikipedia.org/wiki/Fsck">fsck&lt;/a>) started. I got a lot of yes or no questions about fixing several problems. Near the end fsck aborted and I was left in the terminal to try and fix the problem.&lt;/p>
&lt;p>I rebooted the system, but there was a X server error and it went to the terminal again.&lt;/p></description></item><item><title>Sharing Files with Windows</title><link>https://paapereira.xyz/posts/2008/03/sharing-files-with-windows/</link><pubDate>Fri, 21 Mar 2008 15:15:00 +0000</pubDate><guid>https://paapereira.xyz/posts/2008/03/sharing-files-with-windows/</guid><description>&lt;p>For sharing files with Windows you just have to follow this steps:&lt;/p>
&lt;p>Got to System &amp;gt; Administration &amp;gt; Shared Folders&lt;/p>
&lt;ul>
&lt;li>in the Shared Folders tab add the folders you wish to share&lt;/li>
&lt;li>in the General Properties tab type the Workgroup of your Network (as in Windows)&lt;/li>
&lt;/ul>
&lt;p>In the Terminal add yourself as a Samba 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 smbpasswd -a yourusername
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>That&amp;rsquo;s it. You can now access your shared folder using you Linux user.&lt;/p></description></item><item><title>Apache, PHP and MySQL</title><link>https://paapereira.xyz/posts/2008/03/apache-php-and-mysql/</link><pubDate>Thu, 20 Mar 2008 21:31:00 +0000</pubDate><guid>https://paapereira.xyz/posts/2008/03/apache-php-and-mysql/</guid><description>&lt;p>Ok, setting up &lt;strong>Apache&lt;/strong>, &lt;strong>PHP&lt;/strong> and &lt;strong>MySQL&lt;/strong> is super easy. I used this &lt;a href="http://ubuntuforums.org/showthread.php?t=684347&amp;amp;highlight=mysql+database+folder">tip&lt;/a> from Ubuntu Forum.&lt;/p>
&lt;p>I also want to import my site and database from Windows.&lt;/p>
&lt;h2 id="install">Install&lt;/h2>
&lt;ul>
&lt;li>Go to System &amp;gt; Administration &amp;gt; Synaptic Package Manager&lt;/li>
&lt;li>Now go to Edit &amp;gt; Mark Packages by Task&lt;/li>
&lt;li>Choose LAMP Server (Linux/Apache/MySQL/PHP server)&lt;/li>
&lt;/ul>
&lt;p>In my case, the Ultimate Edition already had this installed :-)&lt;/p>
&lt;p>I just updated Apache, MySQL and PHP using System &amp;gt; Administration &amp;gt; Update Manager.&lt;/p></description></item><item><title>Automatix</title><link>https://paapereira.xyz/posts/2008/03/automatix/</link><pubDate>Thu, 20 Mar 2008 17:51:00 +0000</pubDate><guid>https://paapereira.xyz/posts/2008/03/automatix/</guid><description>&lt;p>Now a great piece of software to help you install a bunch of stuff: &lt;a href="http://www.getautomatix.com/">Automatix&lt;/a>&lt;/p>
&lt;p>I started with an update (Automatix already installed) using Update Manager.&lt;/p>
&lt;p>I then installed:&lt;/p>
&lt;ul>
&lt;li>
&lt;p>Codecs and Plugins&lt;/p>
&lt;ul>
&lt;li>MPlayer Plugin for Firefox&lt;/li>
&lt;li>Ubuntu Restricted Extras and Multimedia Codecs&lt;/li>
&lt;li>W32-DVD Codecs&lt;/li>
&lt;/ul>
&lt;/li>
&lt;li>
&lt;p>Email Clients&lt;/p>
&lt;ul>
&lt;li>CheckGmail&lt;/li>
&lt;/ul>
&lt;/li>
&lt;li>
&lt;p>Miscellaneous&lt;/p>
&lt;ul>
&lt;li>Extra Fonts&lt;/li>
&lt;li>Nautilus Scripts (open as root option)&lt;/li>
&lt;/ul>
&lt;/li>
&lt;li>
&lt;p>Office&lt;/p>
&lt;ul>
&lt;li>Acrobat Reader&lt;/li>
&lt;li>Google Earth&lt;/li>
&lt;/ul>
&lt;/li>
&lt;/ul>
&lt;p>Check for other useful software yourself :-)&lt;/p></description></item><item><title>Desktop customization</title><link>https://paapereira.xyz/posts/2008/03/desktop-customization/</link><pubDate>Thu, 20 Mar 2008 17:21:00 +0000</pubDate><guid>https://paapereira.xyz/posts/2008/03/desktop-customization/</guid><description>&lt;p>So far I only changed the clock type to 24 hour.&lt;/p></description></item><item><title>Administration tasks</title><link>https://paapereira.xyz/posts/2008/03/administration-tasks/</link><pubDate>Thu, 20 Mar 2008 17:02:00 +0000</pubDate><guid>https://paapereira.xyz/posts/2008/03/administration-tasks/</guid><description>&lt;p>So far I&amp;rsquo;ve pass through:&lt;/p>
&lt;p>System &amp;gt; Administration &amp;gt;&lt;/p>
&lt;ul>
&lt;li>BootUp-Manager: I disabled &amp;ldquo;Common files for NVIDIA video cards&amp;rdquo; (ATI on my laptop) and &amp;ldquo;Bluetooth services&amp;rdquo;. Something to investigate a little more though.&lt;/li>
&lt;li>Login Window: Changed the Theme to &amp;ldquo;Human&amp;rdquo; and disabled the login screen sound&lt;/li>
&lt;li>Network: Already manually configured my IP&lt;/li>
&lt;li>Time and Date: I like to keep my OS clock using a NTP server (&lt;em>ntp02.oal.ul.pt&lt;/em>)&lt;/li>
&lt;/ul></description></item><item><title>Changing preferences</title><link>https://paapereira.xyz/posts/2008/03/changing-preferences/</link><pubDate>Thu, 20 Mar 2008 16:41:00 +0000</pubDate><guid>https://paapereira.xyz/posts/2008/03/changing-preferences/</guid><description>&lt;p>So far I&amp;rsquo;ve changed:&lt;/p>
&lt;p>System &amp;gt; Preferences &amp;gt;&lt;/p>
&lt;ul>
&lt;li>Appearance: I don&amp;rsquo;t really like the default Ultimate Edition theme, so I chose the Human theme and changed the Background&lt;/li>
&lt;li>Keyboard: I had the EuroSign to the E key&lt;/li>
&lt;li>Keyboard Shortcuts: Now the &amp;ldquo;Windows key&amp;rdquo; shows the panel menu (it&amp;rsquo;s the Start Menu in Windows) and the &amp;ldquo;Menu key&amp;rdquo; activates the window menu (right mouse button)&lt;/li>
&lt;li>Mouse: I never liked the &amp;ldquo;Tap to Click&amp;rdquo; option&lt;/li>
&lt;li>Power Management: Changed some timeout options and had the Notification icon always on&lt;/li>
&lt;li>Screensaver&lt;/li>
&lt;li>Sessions: I disable the Bluetooth Manager&lt;/li>
&lt;li>Sound: I like it quiet&lt;/li>
&lt;/ul></description></item><item><title>Hardware: first impression</title><link>https://paapereira.xyz/posts/2008/03/hardware-first-impression/</link><pubDate>Thu, 20 Mar 2008 16:28:00 +0000</pubDate><guid>https://paapereira.xyz/posts/2008/03/hardware-first-impression/</guid><description>&lt;p>Uppon first boot all my hardware seems to be working, including my graphics card, the mute sound button and even the SD Card Reader (this one doesn&amp;rsquo;t work out of the box in Windows).&lt;/p>
&lt;p>So far I only had to manually config my wired connection (I have DHCP turned off) and restart the network 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 /etc/init.d/networking restart
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div></description></item><item><title>Partition Map</title><link>https://paapereira.xyz/posts/2008/03/partition-map/</link><pubDate>Thu, 20 Mar 2008 16:13:00 +0000</pubDate><guid>https://paapereira.xyz/posts/2008/03/partition-map/</guid><description>&lt;p>First thing to decide is how will I partition my hard 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-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>/dev/sda
&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> /dev/sda1 ext3 / 10240 MB
&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> /dev/sda5 ext3 /home 10240 MB
&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> /dev/sda6 ext3 /data 58547 MB
&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> /dev/sda7 swap 1028 MB
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>I used some useful resources to decide:&lt;/p>
&lt;ul>
&lt;li>&lt;a href="http://ubuntuforums.org/showthread.php?t=282018">Ubuntu Forums Partition Basics&lt;/a>&lt;/li>
&lt;li>&lt;a href="http://ubuntu-tutorials.com/2006/12/20/explanation-of-the-ubuntu-linux-file-structure-ubuntu-all-versions/">Explanation of the Ubuntu / Linux file structure&lt;/a>&lt;/li>
&lt;/ul></description></item><item><title>Ubuntu Ultimate Edition</title><link>https://paapereira.xyz/posts/2008/03/ubuntu-ultimate-edition/</link><pubDate>Thu, 20 Mar 2008 16:06:00 +0000</pubDate><guid>https://paapereira.xyz/posts/2008/03/ubuntu-ultimate-edition/</guid><description>&lt;p>I chose &lt;a href="http://ultimateedition.info/">Ubuntu Ultime Edition&lt;/a>, based on &lt;a href="http://www.ubuntu.com/getubuntu/releasenotes/710">Ubuntu 7.10 Gutsy Gibson&lt;/a> because it added a lot of useful software and configuration out of the box.&lt;/p>
&lt;p>Having tried it on my laptop I saw everything I needed to get me started, from hardware to software, was already there. So I backup all my data and started my eXPerience.&lt;/p>
&lt;p>PS: I had Windows XP Professional Edition installed&amp;hellip;&lt;/p></description></item></channel></rss>