Skip to main content

Fix: Wireguard connects from Linux / PC, but not from Android

 —  James Oakley

So, I set up a Wireguard server to use as a personal VPN.

I created a client (peer) on my laptop that allowed my laptop (Fedora) to connect to my Wireguard server. All worked fine.

I then installed the Wireguard app on my Android phone, and created a new connection, choosing the “from scratch” option. The fields on the Android screen matched the entries in the configuration file on my Linux laptop, so it seemed intuitive what to put into each box.

Blog Category:

KDE Plasma 6.4 and Screen Locker error

 —  James Oakley

Just a quick post in case this helps someone.

My PC (Fedora 42) has just updated to KDE Plasma 6.4.

Immediately, every time I locked the session (Super key + L), an error appeared on the screen

Screenshot of error message

The screen locker is broken and unlocking it is not possible anymore. In order to unlock it, switch to a virtual terminal (e.g. Ctrl+Alt+F1), log in to your account and execute the command:

Blog Category:

Adding Sidebars to the Radix base theme for Drupal

 —  James Oakley

This is the third post in a series. I wrote about my experiences moving this website from Drupal 7 to Drupal 10, and then zeroed in on theming the site using Radix as a base theme. Out of the box, Radix subthemes don't generate sidebar regions for block placement, something many websites want.

As a way to illustrate theme development using Radix, and as a recipe for a common site-building requirement, this post will walk through how to add sidebars to a Radix subtheme.

Blog Category:

Using Radix as a Drupal base theme

 —  James Oakley

I recently wrote about my experiences migrating this website from Drupal 7 to Drupal 10. In that post I said that I would write separately about my experiences theming the site. This is that post.

I was broadly happy with the look and feel of the Drupal 7 version of the site, so didn't want something vastly different. At the sametime, I wanted to make sure that I was using the most maintainable underlying code, behind what end-users see.

Blog Category:

My Library temporarily removed from this website

 —  James Oakley

For a long time, this website has had a sidebar giving details of one book (at random) on my bookshelf. That sidebar linked to a page giving the covers of every book on my bookshelf, from where you could get to another page giving a sortable table of covers, titles and authors.

I've temporarily removed that, but plan to put it back.

I've removed it for two reasons.

Blog Category:

Setting up SpamAssassin to use Pyzor, Razor and DCC within Virtualmin

 —  James Oakley

I run a webserver on Virtualmin, and it also handles incoming email. Sometimes some more details help people apply what I'm about to write to their server, adjusting for any differences they may have. So I'm using AlmaLinux 9.5, Postfix 3.5.25, Procmail 3.22, and SpamAssassin 3.4.6. The system has Perl 5.32.1.

Blog Category:

SpamAssassin lint errors: Subroutines from File::Spec redefined after installing razor agents.

 —  James Oakley

I got errors (Subroutine File::Spec::Unix::canonpath redefined at /usr/share/perl5/XSLoader.pm line 111) after adding the razor crowd-hashing spam detection tool into my SpamAssassin system. Nobody else online seemed to have the same problem. Here's how I solved it, in case it helps anybody else.

Blog Category: