<?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 scarbrough.co.uk</title>
    <link>/tags/linux/</link>
    <description>Recent content in Linux on scarbrough.co.uk</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Sun, 07 Jun 2026 00:00:00 +0000</lastBuildDate>
    <atom:link href="/tags/linux/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>How and why a modern Linux device should use a virtual swap partition</title>
      <link>/post/zram/</link>
      <pubDate>Sun, 07 Jun 2026 00:00:00 +0000</pubDate>
      <guid>/post/zram/</guid>
      <description>Typically a Linux operating system will create and use a swap partition that&amp;rsquo;s resident on the hard drive, and this would act as an extension to system memory. The swap partition and system memory are abstracted into a single virtual memory space, but the kernel, by default, will usually read and write data between the two in 4KB &amp;lsquo;pages&amp;rsquo;.&#xA;I&amp;rsquo;ve only recently had a personal laptop with an SSD (which can&amp;rsquo;t easily be replaced), and it occurred to me that having data paged continually to a partition might reduce its lifespan.</description>
    </item>
    <item>
      <title>Vim as a code editor</title>
      <link>/post/vim-developer-environment/</link>
      <pubDate>Mon, 11 May 2026 00:00:00 +0000</pubDate>
      <guid>/post/vim-developer-environment/</guid>
      <description>In the last post, I covered some very basic stuff for editing text in Vim. There are a few more advanced features I picked up while using it as an actual code editor.&#xA;Basic keybindings Use &amp;lsquo;Esc&amp;rsquo; key to enter visual mode.&#xA;Select text, use &amp;lsquo;v&amp;rsquo; and &amp;lsquo;Ctrl+Right&amp;rsquo; Cut text: &amp;lsquo;d&amp;rsquo; Copy text: &amp;lsquo;y&amp;rsquo; Paste text: &amp;lsquo;p&amp;rsquo; Line numbers Either use the :set number command, or add it to /etc/vim/vimrc.</description>
    </item>
    <item>
      <title>Breaking my VS Code habit with Vim</title>
      <link>/post/going-back-to-vim/</link>
      <pubDate>Sun, 10 May 2026 00:00:00 +0000</pubDate>
      <guid>/post/going-back-to-vim/</guid>
      <description>Microsoft earned itself the rather descriptive name &amp;lsquo;Microslop&amp;rsquo; in recent months, on account of having infested virtually all its products with &amp;lsquo;AI&amp;rsquo;/Co-Pilot stuff that nobody asked for and few want. It&amp;rsquo;s especially insidious and invasive enough in Windows 11 that one shouldn&amp;rsquo;t expect any privacy when using it.&#xA;Visual Studio Code was a decent editor that I&amp;rsquo;d been using since Atom got deprecated. Now it&amp;rsquo;s primarily an &amp;lsquo;open source AI code editor&amp;rsquo;, its official Web site declares.</description>
    </item>
    <item>
      <title>Replacing Chrome OS with Debian Linux was awkward</title>
      <link>/post/debian-lenovo/</link>
      <pubDate>Wed, 31 Dec 2025 00:00:00 +0000</pubDate>
      <guid>/post/debian-lenovo/</guid>
      <description>Lenovo Thinkpads have historically been the ideal hardware for running Linux, so I was initially optimistic about replacing Chrome OS on a sightly older (but relatively decent spec) laptop. Unfortunately it turned out the laptop was a Chromebook, and the vendor (Google, I&amp;rsquo;m guessing) really didn&amp;rsquo;t want anyone replacing the operating system. I spent a few hours looking for ways around that.&#xA;The operating system I installed was Debian 13.2.0 (Cinnamon edition), and the installation media was prepared by using Rufus to flash the debian-live-13.</description>
    </item>
    <item>
      <title>Upgrading LUKS Key Derivation Function</title>
      <link>/post/security/luks-encryption-upgrade/</link>
      <pubDate>Sun, 25 Jun 2023 00:00:00 +0000</pubDate>
      <guid>/post/security/luks-encryption-upgrade/</guid>
      <description>While everything in a Tails OS session is wiped from system memory after the laptop is switched off, the option to store data persistently in an encrypted partition (the Persistent Storage) is a critical feature for users, such as journalists, who, for example, need to create notes, save material and draft reports during a session.&#xA;The encryption used for this - LUKS - is the standard for disk and volume encryption in Linux.</description>
    </item>
    <item>
      <title>Tor/DarkNet Hidden Services Made Easy with OnionShare</title>
      <link>/post/onionshare/</link>
      <pubDate>Tue, 07 Feb 2023 00:00:00 +0000</pubDate>
      <guid>/post/onionshare/</guid>
      <description>One of the useful little applications that&amp;rsquo;s included with Tails OS is OnionShare, which enables the sharing of things on the .onion domain and the creation of hidden services. I think these are important options to have in a Tails-like setup.&#xA;Our freedom of expression, in practice, isn&amp;rsquo;t defined by laws or constitutions. It&amp;rsquo;s instead defined by what corporations’ terms of service and whatever arbitrary extra-legal pressures they&amp;rsquo;re subject to. And, unfortunately this applies to almost everything on the conventional Web, since almost everything is dependent on third party.</description>
    </item>
    <item>
      <title>Tails OS - A safer way to use the DarkNet</title>
      <link>/post/security/tails/</link>
      <pubDate>Sat, 04 Feb 2023 00:00:00 +0000</pubDate>
      <guid>/post/security/tails/</guid>
      <description>Though my views aren&amp;rsquo;t as extreme as Richard Stallman&amp;rsquo;s, he does have a point: A decade ago we&amp;rsquo;d be up in arms about relatively trivial privacy-invading crap in operating systems, but it&amp;rsquo;s since become the norm, with most smartphones and laptops having things pre-installed that send personal data in the background to Google, Microsoft and whichever assortment of corporations. A state of affairs brought about by a confluence of what we collectively surrendered for convenience.</description>
    </item>
  </channel>
</rss>
