Fixing file sharing in Ubuntu 20.04

So file sharing with my ReadyNAS file server stopped working after upgrading to Ubuntu 20.04. Turns out there was a change in behavior in Sambva v4.11 that disabled SMB1 protocol by default. It’ll be interesting to see how this panes out in the rest of the Linux community … Here’s the fix, from Reddit; open /etc/samba/smb.conf using your favorite editor: sudo mg /etc/samba/smb.conf Add the following line to the [global] section: [Read More]

BSD syslogd in Linux

modern syslog and standards

Some time ago now I was in a meeting with a customer where I first learned of the new syslog standard, RFC5424. I say “new” because, despite it being ten years old, it was new to me.

Three weeks ago I started updating my fork of sysklogd to be RFC5424 compliant. I ended up ripping out most of the old code and replacing it with fresh DNA strands from FreeBSD and NetBSD.

The result is a fully RFC compliant syslogd, and a libsyslog with a replacement syslog.h header for sending RFC5424 events from applications!

[Read More]

Controlling Display Brightness

... in Awesome WM

About a year ago I wrote about a way to control the brightness on my x250. I found a lot of tools, and at the time I saw a lot of potential in light, which I even contributed to a lot. However, I ended up not using the evolved versions myself, and it took me a while to digest why. I think the project just outgrew me and what I wanted in such a tool. [Read More]

HowTo: Set up Merecat with Let's Encrypt certificate

This is a HowTo for setting up Merecat httpd with Let’s Encrypt HTTPS certificates. The upcoming v2.32 release of Merecat supports HTTPS as well as serving more than one Internet port. This is highly useful for those who want to serve both HTTPS and HTTP content. To start with, you need the latest release of Merecat. Note, if you are reading this before Merecat v2.32 has been released you can use the latest software from the GitHub master branch. [Read More]

Minor Miracles

Vacation Works

The last six months at work have been really stressful, so to finally get a week off for Swedish Midsummer celebrations was really what the doctor ordered! I’ve managed to wind down and relax, spend time with my kids and my family, and even put in some time on my personal software projects! Three years ago I forked thttpd and began merging patches I’d found scattered around the net. I’ve also added a few features of my own, and to avoid any confusion with the original (bug free! [Read More]

FLOSS Progress

This post is an update of what’s happened since last I posted about my many pet projects. As usual nothing fancy. If you want to know more I suggest you find one on GitHub you’re interested in. File an issue, or better yet, post a pull request to scratch that itch you have deep down: 👉

[Read More]

Odd Progress

A lot has happened since my last post; I had my bike stolen, stumbled upon the guys who’d stolen it, got mugged by same guys, decided I’d had enough and then bought a house and moved to another city. That’s the long and short of it.

I’m OK, sort of.

[Read More]

Dark Themes Ahead

If we do nothing

Reminder to self: How to fix Firefox about:config when using a Dark Theme in Gnome or Awesome.

I use System76 amazing Gtk+ theme from Pop!_OS. It’s quite simple to set up on top of Ubuntu and use in Awesome:

    sudo add-apt-repository ppa:system76/pop
    sudo apt update
    sudo apt install pop-theme

I then use gnome-tweaks to select the Pop-dark-slim theme. Now, the problem is that certain text box inputs in Firefox is either completely dark or white and the text cannot be seen until you mark it. This isn’t specific to the Pop!_OS theme, Adwaita-dark is exactly as bad.

[Read More]