[ Content | Sidebar ]

Archives for linux

Unlocking Encrypted Home Partition on Login

I recently did a new Debian install on my laptop after upgrading the NVMe and this time round I set up LUKS disk encryption for my /home partition. I want this to be as hassle-free as possible, which means having the partition automatically unlocked and mounted when I log in, rather than having to type […]

Linus Torvalds

I finally saw Linus Torvalds live! I think, however, reading his online rants is considerably more interesting than watching a staged conversation. 🙃

Making Emacs GUD Usable

Emacs provides a wrapper for various debuggers including GDB called the Grand Unified Debugger (GUD). I’ve tried it in the past but always run into lots of minor annoyances with the UI so I just use command line GDB instead. But recently I’ve being trying to adopt a more “Emacs native” workflow, including using EShell […]

A Final Samsung Q320 Update

You almost certainly don’t remember but back in 2009 I published a series of articles detailing by travails getting Linux to run smoothly on my then-new Samsung Q320 laptop. Well you’ll be pleased to know that eight years on I’ve finally solved all my remaining issues: The fan randomly spinning up and down The “always-powered” […]

GnuCash Quotes for UK Unit Trusts

In the past I’ve tried and failed to get GnuCash to automatically download stock quotes. At the moment I have to type them in manually which is an excruciating chore. Unfortunately the documentation for how to do this for non-US funds is patchy and the only feedback you get is an unhelpful “computer says no” […]

Firefox Back to Normal

I’ve been stubbornly ignoring the recent updates to Firefox and using 24 ESR instead as the new Australis changes ruined what was a perfectly nice minimal UI. The biggest problem for me was the inability to move the address bar into the title bar: once you’re accustomed to this having it hanging below is a […]

Sticking with Firefox 24

Oh dear. I unwittingly updated to Firefox/Iceweasel 29 in Debian testing. What a mistake! My Firefox setup has remained basically the same since the 3.5 days with a nice unobtrusive layout where I have the menu, navigation buttons, and the address bar in one strip and the tabs below. Despite hours of hair pulling there’s […]

Blurry Chinese Characters on Linux

For future reference, this fixes all woes: sudo apt-get install xfonts-wqy UPDATE: a much better solution is to install a pretty TTF font and then make all the characters bigger. sudo apt-get install fonts-wqy-zenhei fonts-wqy-microhei Then create a file ~/.config/fontconfig/fonts.conf with the following contents: <?xml version = "1.0"?> <!DOCTYPE fontconfig SYSTEM "fonts.dtd"> <fontconfig> <match target="font"> […]

Best Feature

If you needed any convincing that Clementine is the best Linux music player since Amarok 1.4, here it is: Nyanalyser mode!

Conky BBC weather

I’ve written a Ruby script called bbc-weather.rb that parses the BBC weather RSS for a particular location and formats the data for conky. Here’s an example: To use it insert the following in your .conkyrc: ${execpi 600 ruby /path/to/bbc-weather.rb 4197} This will refresh every hour. Replace 4197 with the number of your local weather station. […]