<?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 tips)</title><link>https://blog.johanv.org/</link><description></description><atom:link href="https://blog.johanv.org/en/categories/tips.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>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>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><item><title>Screencasts, Istanbul and Youtube</title><link>https://blog.johanv.org/en/posts/old/node-192/</link><dc:creator>Johan Vervloet</dc:creator><description>&lt;div&gt;&lt;p&gt;Suppose you want to make a screencast, and upload the video to Youtube.
This doesn't sound to hard to do. But I went through a lot of troubles
before it actually worked. So I decided to write this down, in case
someone else runs into the same problems. I am using Debian
Sid.&lt;/p&gt;
&lt;p&gt;There are several packages available for creating a
screencast, and I first tried
&lt;a class="reference external" href="http://xvidcap.sourceforge.net/"&gt;xvidcap&lt;/a&gt;. But when trying to record
the sound as well, I got the message ‘Error accessing sound input from
/dev/dsp’. I did some Googling, but I couldn't find an easy
workaround.&lt;/p&gt;
&lt;p&gt;So for my next attempt, I used
&lt;a class="reference external" href="https://live.gnome.org/Istanbul"&gt;Istanbul&lt;/a&gt;. This allowed me to
create screencasts with sound, but when uploading the file to Youtube,
Youtube complained about an unrecognized file format. Damn.&lt;/p&gt;
&lt;p&gt;Again,
if you Google the problem, you will find &lt;a class="reference external" href="http://www.tummy.com/journals/entries/jafo_20110129_184800"&gt;some
tips&lt;/a&gt;,
but none of them worked for me.&lt;/p&gt;
&lt;p&gt;At last, after some trial and
error, it seems that &lt;a class="reference external" href="http://www.openshotvideo.com/"&gt;openshot&lt;/a&gt; can do
the trick. Create a video project with openshot, import the ogg-video
from Istanbul, put the video on the first track, and export the result
again with the predefined web template. This creates a .mov-file, which
youtube will happily show.&lt;/p&gt;&lt;/div&gt;</description><guid>https://blog.johanv.org/en/posts/old/node-192/</guid><pubDate>Fri, 13 Apr 2012 08:19:23 GMT</pubDate></item><item><title>Fedora/NVidia font problem</title><link>https://blog.johanv.org/en/posts/old/node-166/</link><dc:creator>Johan Vervloet</dc:creator><description>&lt;div&gt;&lt;p&gt;A quick fedora/nvidia tip:&lt;/p&gt;
&lt;p&gt;After installing the evil and freedom
hating nvidia-drivers on my Fedora system, a lot of font sizes magically
increased. It seems you can fix this (per user) by clicking ‘System’,
‘Preferences’, ‘Appearance’. Click the ‘fonts’ tab, then the ‘details’
button, and change the resolution back to 96 dpi.&lt;/p&gt;
&lt;p&gt;You can probably
change this in some configuration file as well. If you know how, please
let me know.&lt;/p&gt;&lt;/div&gt;</description><guid>https://blog.johanv.org/en/posts/old/node-166/</guid><pubDate>Tue, 01 Mar 2011 16:14:17 GMT</pubDate></item><item><title>Filmpjes downloaden van Youtube</title><link>https://blog.johanv.org/en/posts/old/node-70/</link><dc:creator>Johan Vervloet</dc:creator><description>&lt;div&gt;&lt;p&gt;Omdat dit enigszins valt onder veelgestelde vragen, is dit wel een
blogpost waard. Hoe kan je filmpjes van Youtube downloaden, zodat je ze
ook kan tonen als er geen internetverbinding meer is?&lt;/p&gt;
&lt;p&gt;Je hebt twee
dingen nodig.&lt;/p&gt;
&lt;p&gt;1. Firefox. Firefox is een webbrowser, zoals Internet
Explorer, maar dan anders. Als Firefox nog niet op je computer
geïnstalleerd is, dan gebruik je waarschijnlijk Windows. Je dan &lt;a class="reference external" href="http://www.mozilla-europe.org/nl/firefox/"&gt;hier
een installatieprogramma
downloaden&lt;/a&gt;, en het
uitvoeren om Firefox te installeren.&lt;/p&gt;
&lt;p&gt;2. De ‘Video DownloadHelper
add-on’. Firefox is een uitbreidbare web browser, Video DownloadHelper
is een uitbreiding van Firefox die toelaat om filmpjes van een webpagina
als bestand te downloaden. Om het te installeren, surf je met Firefox
naar
&lt;a class="reference external" href="https://addons.mozilla.org/en-US/firefox/addon/3006"&gt;https://addons.mozilla.org/en-US/firefox/addon/3006&lt;/a&gt;.
Klik daar op de knop ‘Add to Firefox’. Het kan zijn dat er bovenaan een
balk verschijnt, waarin je toestemming moet geven voor het downloaden
van add-ons. Als dat gebeurd is, verschijnt er een ander kadertje,
waarin je na 5 seconden op ‘Installeren’ kan klikken. Na de installatie
zal Firefox voorstellen om zichzelf te herstarten. Klik op ‘Firefox
herstarten’, en de installatie is rond. Bij de herstart van Firefox
krijg je nog eens in een kadertje te zien dat de add-on geïnstalleerd
is.&lt;/p&gt;
&lt;p&gt;Als je nu naar een Youtubefilmpje surft (of eender welke
webpagina met een filmpje erop), zal je naast de adresbalk het dansende
icoontje van DownloadHelper zien. Naast dat icoontje staat een
pijltje-omlaag. Als je daarop klikt, zie je de videobestanden die je kan
downloaden. In het geval van Youtube zijn dat er meestal twee of drie.
Geen idee waarom, maar meestal is het onderste bestand het meest
bruikbaar. Klik dat dus aan, en de download zal beginnen.&lt;/p&gt;
&lt;p&gt;Ik denk
dat Firefox standaard naar je bureaublad downloadt. Maar als dat niet
het geval is, kan je in het venster met de downloads rechts op de naam
van het filmpje klikken, en vervolgens op ‘Map openen’&lt;/p&gt;&lt;/div&gt;</description><guid>https://blog.johanv.org/en/posts/old/node-70/</guid><pubDate>Mon, 23 Nov 2009 19:31:13 GMT</pubDate></item></channel></rss>