<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../../assets/xml/rss.xsl" media="all"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>blog.johanv.org (Posts about linux)</title><link>https://blog.johanv.org/</link><description></description><atom:link href="https://blog.johanv.org/en/categories/linux.xml" rel="self" type="application/rss+xml"></atom:link><language>en</language><copyright>Contents © 2025 &lt;a href="https://blog.johanv.org/pages/contact/"&gt;Johan Vervloet&lt;/a&gt; 
&lt;a rel="license" href="https://creativecommons.org/licenses/by-sa/4.0/"&gt;
&lt;img alt="Creative Commons License BY-NC-SA"
style="border-width:0; margin-bottom:12px;"
src="https://i.creativecommons.org/l/by-sa/4.0/88x31.png"&gt;&lt;/a&gt;</copyright><lastBuildDate>Wed, 29 Oct 2025 18:31:16 GMT</lastBuildDate><generator>Nikola (getnikola.com)</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Debian 11, XFCE and a bluetooth mouse</title><link>https://blog.johanv.org/en/posts/debian-11-xfce-bluetooth-mouse/</link><dc:creator>Johan Vervloet</dc:creator><description>&lt;div&gt;&lt;p&gt;Last week, I gave an old laptop a second life. It's an old ASUS, I think it came
with Windows 8 back in the day, and I installed Debian 11 with XFCE on it. This looks
very retro, but it works like a charm. I can now use the battery for serveral
hours, while with Windows it would die after 5 minutes. And today I got my bluetooth
mouse working.&lt;/p&gt;
&lt;p&gt;&lt;img alt="a bluetooth logitech mouse, sitting on the laptop" src="https://blog.johanv.org/galleries/cards/bluetooth-mouse.jpg"&gt;&lt;/p&gt;
&lt;p&gt;Here is what I did:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://blog.johanv.org/en/posts/debian-11-xfce-bluetooth-mouse/"&gt;Read more…&lt;/a&gt; (1 min remaining to read)&lt;/p&gt;&lt;/div&gt;</description><guid>https://blog.johanv.org/en/posts/debian-11-xfce-bluetooth-mouse/</guid><pubDate>Mon, 06 Feb 2023 20:15:00 GMT</pubDate></item><item><title>Working around a Pop!_OS networking issue</title><link>https://blog.johanv.org/en/posts/association-took-too-long/</link><dc:creator>Johan Vervloet</dc:creator><description>&lt;div&gt;&lt;p&gt;&lt;strong&gt;Update (2021-11-26):&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;The solution I describe in the original post, did work for a while, and then
stopped working. Then I got it working again by removing the kernel
modules iwlmvm and iwlwifi, and modprobing iwlwifi again. Worked
for a day, and stopped working again. So I guess it just sometimes
worked, and sometimes, it didn't.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="the TP-Link TL-WR1043ND v2" src="https://blog.johanv.org/galleries/misc/tp-link.jpg"&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;I think it was just the router. It's a TP-LINK TL-WR1043ND v2, and
I installed OpenWrt on it (v19.something), a couple of years ago.
Now I upgraded it to v 20.02.1, and I think - hope - that that
will finally have solved the problem. I was a little reluctant to flash a
firmware update, but it turned out to be very easy. The
&lt;a href="https://openwrt.org/toh/tp-link/tl-wr1043nd"&gt;page for my device&lt;/a&gt;
on the openWRT wiki had a direct link to the 'upgrade firmware', which
I could easily flash using the openWRT web interface (using another
device than my laptop, of course).&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://blog.johanv.org/en/posts/association-took-too-long/"&gt;Read more…&lt;/a&gt; (3 min remaining to read)&lt;/p&gt;&lt;/div&gt;</description><guid>https://blog.johanv.org/en/posts/association-took-too-long/</guid><pubDate>Thu, 18 Nov 2021 18:01:00 GMT</pubDate></item><item><title>How to use a tablet as a third screen for your Ubuntu system</title><link>https://blog.johanv.org/en/posts/a-tablet-as-third-screen-for-ubuntu/</link><dc:creator>Johan Vervloet</dc:creator><description>&lt;div&gt;&lt;p&gt;At work I have a docking station, that allows me to use two
external screens with my laptop. And I find this extremely useful.
I put a terminal window here, some source doe there, a similar
source file over there, and I need to write a unit test while
looking up things on Stack Overflow. So those three screens are
easily filled.&lt;/p&gt;
&lt;p&gt;Sometimes I work from home. I don't have a docking station at my
place, and I can use only one external screen. This works as well,
but often I miss the extra screen real estate.
We do have a tablet though, mainly used by our children.
Those are typically away or asleep when I code... So how difficult could
it be to use the tablet as an external screen?&lt;/p&gt;
&lt;p&gt;&lt;img alt="a tablet as external screen" src="https://blog.johanv.org/galleries/3rd_Screen/3rdscreen.jpg"&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://blog.johanv.org/en/posts/a-tablet-as-third-screen-for-ubuntu/"&gt;Read more…&lt;/a&gt; (5 min remaining to read)&lt;/p&gt;&lt;/div&gt;</description><category>linux</category><category>tips</category><category>ubuntu</category><guid>https://blog.johanv.org/en/posts/a-tablet-as-third-screen-for-ubuntu/</guid><pubDate>Sat, 01 Sep 2018 20:22:14 GMT</pubDate></item><item><title>How to apply a patch?</title><link>https://blog.johanv.org/en/posts/how-to-apply-a-patch/</link><dc:creator>Johan Vervloet</dc:creator><description>&lt;div&gt;&lt;p&gt;Suppose that you want to use e.g. a CiviCRM extension like
&lt;a class="reference external" href="https://github.com/jake-mw/CDNTaxReceipts/archive/1.3.1.zip"&gt;CDNTaxReceipts&lt;/a&gt; , but
you want some extra functionality, and someone told you that there is
&lt;a class="reference external" href="https://patch-diff.githubusercontent.com/raw/jake-mw/CDNTaxReceipts/pull/39.diff"&gt;a patch&lt;/a&gt;
available.&lt;/p&gt;
&lt;p&gt;Now suppose you don't use git, and you don't have a clue about how a patch
works. Then this is the easy way to apply it.&lt;/p&gt;
&lt;ol class="arabic"&gt;
&lt;li&gt;&lt;p&gt;You download the patch file, and you save it on your file system, e.g.
as &lt;code class="docutils literal"&gt;~/Downloads/39.diff&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;You use the command line. Supposing you unpacked the archive in
&lt;code class="docutils literal"&gt;&lt;span class="pre"&gt;~/dev/CDNTaxReceipts-3.1&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;
&lt;pre class="literal-block"&gt;cd ~/dev/CDNTaxReceipts-3.1
patch -p1 &amp;lt; ~/Downloads/39.diff&lt;/pre&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Here you are. You patched the extension.&lt;/p&gt;
&lt;p&gt;If you use Windows, the hardest part will be finding a patch executable. On
almost every other OS, patch will be available by default.&lt;/p&gt;&lt;/div&gt;</description><guid>https://blog.johanv.org/en/posts/how-to-apply-a-patch/</guid><pubDate>Thu, 25 Feb 2016 19:05:07 GMT</pubDate></item><item><title>The real reasons for using Linux</title><link>https://blog.johanv.org/en/posts/why-linux/</link><dc:creator>Johan Vervloet</dc:creator><description>&lt;div&gt;&lt;p&gt;I submitted this to HPR, see &lt;a class="reference external" href="http://hackerpublicradio.org/eps.php?id=1641"&gt;episode 1641&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;I am a Linux user since the end of 1999. Which is 15 years already. I've
also been trying for almost 15 years to convince other people to try Linux.
And I must confess that I very often used wrong arguments doing this.
After 15 years it is time to ditch some fake arguments,
and to tell you the real reasons why you should switch to Linux. :-)&lt;/p&gt;
&lt;p&gt;&lt;a href="https://blog.johanv.org/en/posts/why-linux/"&gt;Read more…&lt;/a&gt; (10 min remaining to read)&lt;/p&gt;&lt;/div&gt;</description><category>hpr</category><category>linux</category><category>opensource</category><guid>https://blog.johanv.org/en/posts/why-linux/</guid><pubDate>Sun, 19 Oct 2014 20:35:09 GMT</pubDate></item><item><title>Linux in de klas. Wedden voor een pintje?</title><link>https://blog.johanv.org/en/posts/sfd-2014-mijn-uitdaging/</link><dc:creator>Johan Vervloet</dc:creator><description>&lt;div&gt;&lt;p&gt;Voor mensen die mij al langer kennen, is het geen nieuws meer. Ik ben
een Linuxfan. Ik ben ervan overtuigd dat op de dag van vandaag &lt;a class="reference external" href="https://blog.johanv.org/posts/een-computer-die-gewoon-werkt/"&gt;heel
wat PC-gebruikers beter af zouden zijn met Linux&lt;/a&gt; op hun PC,
in plaats van Windows.
Ik heb dan ook al vaak aan mensen aangeboden om
Linux op hun PC te installeren, maar meestal zijn ze niet zo happig.
Onbegrijpelijk eigenlijk :-)&lt;/p&gt;
&lt;p&gt;In deze post wil ik het hebben over een bijzonder soort computers,
waarvoor een installatie van Linux volgens mij een grote stap vooruit zou
zijn: de computers in de Vlaamse lagere scholen en kleuterscholen.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://blog.johanv.org/en/posts/sfd-2014-mijn-uitdaging/"&gt;Read more…&lt;/a&gt; (5 min remaining to read)&lt;/p&gt;&lt;/div&gt;</description><guid>https://blog.johanv.org/en/posts/sfd-2014-mijn-uitdaging/</guid><pubDate>Fri, 19 Sep 2014 19:43:59 GMT</pubDate></item><item><title>De rust van een cleane computer</title><link>https://blog.johanv.org/en/posts/een-computer-die-gewoon-werkt/</link><dc:creator>Johan Vervloet</dc:creator><description>&lt;div&gt;&lt;p&gt;Ik heb net een computer opnieuw geconfigureerd. En dat is leuk.
Het geeft me altijd een soort van gemoedsrust als ik op een clean systeem
kan werken. De PC die ik dagelijks gebruik op het werk, daar staan 1001
toepassingen op. Dat heeft te maken met mijn job en mijn interesses. Als
ik dan eens op een PC kan werken waarbij de menu's niet overladen zijn,
en het ziet er nog eens mooi uit ook, dan voel ik me helemaal zen :-)&lt;/p&gt;
&lt;p&gt;&lt;a href="https://blog.johanv.org/en/posts/een-computer-die-gewoon-werkt/"&gt;Read more…&lt;/a&gt; (2 min remaining to read)&lt;/p&gt;&lt;/div&gt;</description><guid>https://blog.johanv.org/en/posts/een-computer-die-gewoon-werkt/</guid><pubDate>Mon, 15 Sep 2014 19:44:29 GMT</pubDate></item><item><title>Printing to a HP Laserjet CP1025 on a Linux print server with CUPS</title><link>https://blog.johanv.org/en/posts/old/node-209/</link><dc:creator>Johan Vervloet</dc:creator><description>&lt;div class="section" id="printing-to-a-hp-laserjet-cp1025-on-a-linux-print-server-with-cups"&gt;
&lt;h2&gt;Printing to a HP Laserjet CP1025 on a Linux print server with CUPS&lt;/h2&gt;
&lt;p&gt;Almost 2 years ago, I bought a &lt;a class="reference external" href="http://h10010.www1.hp.com/wwpc/us/en/sm/WF10a/18972-18972-3328060-15077-3328070-4052955.html?jumpid=in_r2515_us/en/smb/psg/psc404redir-ot-xx-xx-/chev/"&gt;HP Laserjet
CP1025&lt;/a&gt;.
It was rather cheap. And it has crappy Linux support. Damn.&lt;/p&gt;
&lt;p&gt;Every time I install a new Linux distribution, I have forgotten how to
use this printer. So I might as well document it here.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://blog.johanv.org/en/posts/old/node-209/"&gt;Read more…&lt;/a&gt; (1 min remaining to read)&lt;/p&gt;&lt;/div&gt;</description><guid>https://blog.johanv.org/en/posts/old/node-209/</guid><pubDate>Fri, 28 Jun 2013 08:58:58 GMT</pubDate></item><item><title>Wireless networking on a Samsung Series 5 laptop with Linux Mint</title><link>https://blog.johanv.org/en/posts/old/node-207/</link><dc:creator>Johan Vervloet</dc:creator><description>&lt;div class="section" id="wireless-networking-on-a-samsung-series-5-laptop-with-linux-mint"&gt;
&lt;h2&gt;Wireless networking on a Samsung Series 5 laptop with Linux Mint&lt;/h2&gt;
&lt;p&gt;Last weekend, I installed &lt;a class="reference external" href="http://www.linuxmint.com/rel_olivia.php"&gt;Linux Mint
15&lt;/a&gt; (Olivia) on a collegue's
&lt;a class="reference external" href="http://www.samsung.com/us/computer/series-5-notebooks"&gt;Samsung
notebook&lt;/a&gt;. (I
did a &lt;code class="docutils literal"&gt;lshw&lt;/code&gt;, and it showed me '535U34C, Samsung SENS').&lt;/p&gt;
&lt;p&gt;At my place, everything seemed to work OK (WPA2 and all), but when I
tried it at work, the wireless connection dropped every x seconds, and
needed to reauthenticate.&lt;/p&gt;
&lt;p&gt;So I guess the problem depends on the type of wireless router.&lt;/p&gt;
&lt;p&gt;I did some googling, and often I read that I had to pass the
&lt;code class="docutils literal"&gt;nohwcrypt=1&lt;/code&gt; option to the ath9k kernel module. Which did not work.
So I cluelessly tried some more suggestions, and finally I found a set
of options that do work:
&lt;code class="docutils literal"&gt;nohwcrypt=1 blink=1 btcoex_enable=1 enable_diversity=1&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;To try this out, you can do the following:&lt;/p&gt;
&lt;pre class="literal-block"&gt;rmmod ath9k
modprobe ath9k nohwcrypt=1 blink=1 btcoex_enable=1 enable_diversity=1&lt;/pre&gt;
&lt;p&gt;(Maybe you have to log out and log on again after this command).&lt;/p&gt;
&lt;p&gt;If it works, you can persist the settings, adding the following line to
&lt;code class="docutils literal"&gt;/etc/modprobe.d/ath9k.conf&lt;/code&gt;&lt;/p&gt;
&lt;pre class="literal-block"&gt;options ath9k nohwcrypt=1 blink=1 btcoex_enable=1 enable_diversity=1&lt;/pre&gt;
&lt;p&gt;That worked for me. So I hope this information is useful for someone
else as wel.&lt;/p&gt;
&lt;p&gt;Many thanks to &lt;a class="reference external" href="http://orkultus.wordpress.com/2013/01/18/frequent-wireless-connection-drops-with-the-atheros-ar9462/comment-page-1/#comment-146"&gt;Sergei
Winitzki&lt;/a&gt;,
who posted the comment that saved my day.&lt;/p&gt;
&lt;/div&gt;</description><guid>https://blog.johanv.org/en/posts/old/node-207/</guid><pubDate>Mon, 17 Jun 2013 19:19:19 GMT</pubDate></item><item><title>Sending e-mail from mutt using an Exchange server</title><link>https://blog.johanv.org/en/posts/old/node-206/</link><dc:creator>Johan Vervloet</dc:creator><description>&lt;div&gt;&lt;p&gt;My favourite mail client is
mutt. At work we have an Exchange mail server, and I wanted to use mutt
for my work e-mail. Today it works. (I am using Fedora 19 beta)&lt;/p&gt;
&lt;p&gt;Our
mail server supports IMAP access, so reading mail is easy. But the
difficult part, is sending e-mails.&lt;/p&gt;
&lt;p&gt;In a first attempt, I tried
this in the mutt
configuration:&lt;/p&gt;
&lt;pre class="literal-block"&gt;set smtp_url="smtp://mylogin@our.local.mailserver:587"
set smtp_pass="mySecretPassword"&lt;/pre&gt;
&lt;p&gt;I
think this has worked for me somewhere in the past, but now I get the
error message 'No authenticators available.' So I had to try something
else.&lt;/p&gt;
&lt;p&gt;Now I am using msmtp to send my e-mails. I installed it from
the repositories:&lt;/p&gt;
&lt;pre class="literal-block"&gt;yum install msmtp&lt;/pre&gt;
&lt;p&gt;I created a
configuration file:
&lt;code class="docutils literal"&gt;&lt;span class="pre"&gt;~/.msmtprc&lt;/span&gt;&lt;/code&gt;:&lt;/p&gt;
&lt;pre class="literal-block"&gt;account myaccount
host webmail.our.domain
from my.email@our.domain
auth ntlm
tls on
tls_trust_file /etc/ssl/certs/ca-bundle.crt
user mylogin
ntlmdomain MYDOMAIN
password "mySecretPassword"
port 587
account default : myaccount&lt;/pre&gt;
&lt;p&gt;In
the mutt configuration, I removed the smtp-setttings, and added&lt;/p&gt;
&lt;pre class="literal-block"&gt;set sendmail="/usr/bin/msmtp"&lt;/pre&gt;
&lt;p&gt;And guess what. It just
worked (TM) :-)&lt;/p&gt;&lt;/div&gt;</description><guid>https://blog.johanv.org/en/posts/old/node-206/</guid><pubDate>Mon, 10 Jun 2013 18:01:51 GMT</pubDate></item></channel></rss>