<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>OpenBSD Journey</title>
    <link>https://openbsdjourney.paedubucher.ch/</link>
    <description>Recent content on OpenBSD Journey</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Sat, 22 Nov 2025 09:35:26 +0100</lastBuildDate>
    <atom:link href="https://openbsdjourney.paedubucher.ch/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>GTK 2 Font Sizes</title>
      <link>https://openbsdjourney.paedubucher.ch/gtk-2-font-size/</link>
      <pubDate>Sat, 22 Nov 2025 09:35:26 +0100</pubDate>
      <guid>https://openbsdjourney.paedubucher.ch/gtk-2-font-size/</guid>
      <description>&lt;p&gt;I installed Leafpad, which is based on GTK 2, in order to try out some different fonts. Ironically, the application was rendered using a comically sized font.&lt;/p&gt;&#xA;&lt;p&gt;The GTK 2 font can be adjusted in the config file &lt;code&gt;~/.gtkrc-2.0&lt;/code&gt;:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;gtk-font-name = &amp;quot;DejaVu Sans 16px&amp;quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;This only looks reasonable with a Pixel indication (i.e. using the &lt;code&gt;px&lt;/code&gt; suffix). A blank indication, such as &lt;code&gt;&amp;quot;DejaVu Sans 16&amp;quot;&lt;/code&gt; renders a comically large font.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Use Your Headphones</title>
      <link>https://openbsdjourney.paedubucher.ch/use-your-headphones/</link>
      <pubDate>Sat, 22 Nov 2025 09:19:56 +0100</pubDate>
      <guid>https://openbsdjourney.paedubucher.ch/use-your-headphones/</guid>
      <description>&lt;p&gt;In order to use your headphones, plug them in via USB and thenn check for dmesg messages:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;$ dmesg | grep -E &#39;audio[0-9] at&#39;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Most probably, they will appear as &lt;code&gt;audio1&lt;/code&gt; in the above output, which indicates that they are available under device number 1. Change your output device accordingly:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;$ sndioctl server.device=1&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Two switch devices automatically upon connection/disconnection of the USB device, run the following commands:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;# rcctl set sndiod flags -f rsnd/0 -F rsnd/1&#xA;# rcctl restart sndiod&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;The &lt;code&gt;-f&lt;/code&gt; flag adds a device to the output devices, &lt;code&gt;-F&lt;/code&gt; removes it; see &lt;code&gt;sndiod(8)&lt;/code&gt;.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Automated Desktop Setup</title>
      <link>https://openbsdjourney.paedubucher.ch/automated-desktop-setup/</link>
      <pubDate>Tue, 18 Nov 2025 09:23:58 +0100</pubDate>
      <guid>https://openbsdjourney.paedubucher.ch/automated-desktop-setup/</guid>
      <description>&lt;p&gt;Triggered by this fall&amp;rsquo;s release of OpenBSD, I once again grabbed my 2018 ThinkPad x270 and installed version 7.8 on it.&lt;/p&gt;&#xA;&lt;p&gt;In order to make it stick, I decided to automate my desktop setup using &lt;a href=&#34;https://dwm.suckless.org/&#34;&gt;dwm&lt;/a&gt; and other &lt;a href=&#34;https://suckless.org/&#34;&gt;suckless&lt;/a&gt; tools. The result is my GitHub repository &lt;a href=&#34;https://github.com/patrickbucher/openbsd-playbooks&#34;&gt;OpenBSD Playbooks&lt;/a&gt;, which allows me to setup a convenient working environment after the basic setup within minutes.&lt;/p&gt;&#xA;&lt;p&gt;However, I use Alacritty instead of the &lt;a href=&#34;https://st.suckless.org/&#34;&gt;st&lt;/a&gt; terminal, because the latter has some issues with unicode input. I&amp;rsquo;m also used to a scrollback buffer, so st is a bit too simplistic for me.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Tmux Sessions, Windows, and Panes</title>
      <link>https://openbsdjourney.paedubucher.ch/tmux-sessions-windows-panes/</link>
      <pubDate>Sun, 11 May 2025 08:44:27 +0200</pubDate>
      <guid>https://openbsdjourney.paedubucher.ch/tmux-sessions-windows-panes/</guid>
      <description>&lt;p&gt;In this post, I&amp;rsquo;m going to summarize the first chapter of &lt;a href=&#34;https://pragprog.com/titles/bhtmux3/tmux-3/&#34;&gt;tmux 3. Productive Mouse-Free Development&lt;/a&gt; by Brian P. Hogan, published by The Pragmatic Bookshelf. As in yesterday&amp;rsquo;s post, I&amp;rsquo;m focusing on the commands and their purpose. Since none of the commands require elevated privileges, I&amp;rsquo;m goint to omit the &lt;code&gt;$&lt;/code&gt; prompt in front of them.&lt;/p&gt;&#xA;&lt;p&gt;Command use a &lt;em&gt;Prefix&lt;/em&gt;, which is &lt;code&gt;Ctrl&lt;/code&gt;-&lt;code&gt;b&lt;/code&gt; (press those keys together) by default, and will be displayed as &lt;code&gt;Prefix&lt;/code&gt;.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Basic Package Management</title>
      <link>https://openbsdjourney.paedubucher.ch/basic-package-management/</link>
      <pubDate>Sat, 10 May 2025 19:27:27 +0200</pubDate>
      <guid>https://openbsdjourney.paedubucher.ch/basic-package-management/</guid>
      <description>&lt;p&gt;Having installed OpenBSD, I&amp;rsquo;d like to work with my system. Even though the base system already provides a lot, sooner or later additional software is required, e.g. Vim, the text editor of my choice, or Elixir, a programming language I&amp;rsquo;d like to discover.&lt;/p&gt;&#xA;&lt;p&gt;Fortunately, OpenBSD comes with a package system to install additional software provided by the community. I won&amp;rsquo;t get into the details of this system but rather describe its most basic usage.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Initial Setup</title>
      <link>https://openbsdjourney.paedubucher.ch/initial-setup/</link>
      <pubDate>Fri, 09 May 2025 18:22:22 +0200</pubDate>
      <guid>https://openbsdjourney.paedubucher.ch/initial-setup/</guid>
      <description>&lt;p&gt;The setup worked quite smoothly yesterday. However, since the WiFi card on my laptop requires a non-free firmware, I had to sit in the lotus position for a while next to my router to connect it through the cable to my network. But after the setup, the missing firmwares were installed automatically to my surprise.&lt;/p&gt;&#xA;&lt;p&gt;Another pleasant surprise: I was prompted for a passphrase in order to encrypt my disc. This was extremely simple, compared to what I had to go through on &lt;a href=&#34;https://www.paedubucher.ch/articles/arch-linux-setup-with-disk-encryption/&#34;&gt;Arch Linux&lt;/a&gt;.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Back to OpenBSD</title>
      <link>https://openbsdjourney.paedubucher.ch/back-to-openbsd/</link>
      <pubDate>Thu, 08 May 2025 21:15:55 +0200</pubDate>
      <guid>https://openbsdjourney.paedubucher.ch/back-to-openbsd/</guid>
      <description>&lt;p&gt;I haven&amp;rsquo;t been fiddling arount with OpenBSD for a while. I tried it out numerous times, but it never got serious. Now I&amp;rsquo;d like to use it again, but this time I&amp;rsquo;m going to document what I learn.&lt;/p&gt;&#xA;&lt;p&gt;I&amp;rsquo;ll start with tmux, for which I just got the ebook &lt;a href=&#34;https://pragprog.com/titles/bhtmux3/tmux-3/&#34;&gt;tmux 3. Productive Mouse-Free Development&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;There&amp;rsquo;s also an old laptop (from early 2018) I&amp;rsquo;d like to use for my experiments. I gave it to my wife years ago, because I got a newer one. Now that she&amp;rsquo;s got another one (she needed a touchscreen), I have it back. It&amp;rsquo;s a Lenovo ThinkPad X270 with a 12.5&amp;quot; screen.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
