Author Archives: Alan

Blogging in Emacs, part 2

When I first set up this blog, I attempted to use the weblogger.el extension to blog to this site. Alas, it gave me quite a bit of trouble, so I had to scrap it.

Recently, though, I’ve been trying to get a handle on Emacs org-mode, and noticed an extension called “org2blog/wp”. If it can work, seems like a good way to learn org mode. So, if this works, it’ll be my first post from org2blog. Let’s see how it goes….

(more…)

Emacs 24 is here!

Well somehow very quietly last month the worlds greatest text-editor/IDE/anything-you-can-imagine software, Emacs, got ratcheted up to version 24.  Actually, 24.1 to be exact.  Major version releases of Emacs don’t happen very often (between 2 and 6 years, on average), so I’ve been excited to get my hands on some of the new features.  My first attempts to compile it on my Ubuntu boxes failed, but fortunately Damien Cassou came through with a PPA for emacs24, and this past weekend I found time to upgrade my systems to the new version.

(more…)

State of WCGBrowser

While I realize that wcgbrowser isn’t exactly the most exciting or groundbreaking piece of software ever created, I’ve been having fun improving it bit by bit over the last few months since I opened the source code.  If I keep hacking away at this pace, I’ll easily have the most feature-packed kiosk browser around, for whatever that’s worth.

Here’s a quick rundown of new features, if you haven’t been watching the git logs closely:

(more…)

KiLauncher and Qt Stylesheets

The default theme of KiLauncher

The default theme for KiLauncher. Ok, so it kind of looks like your gramma’s formica breakfast table from the 1970s.

I’ve been doing a lot of tinkering on my KiLauncher project over the last week or so, and it’s not only shaping up into a nice useful little application, but an educational opportunity as well

My goals for KiLauncher were to make it both theme-able, and configurable with plain-text files.  The natural mechanism for this (for the theme, anyway) was CSS, a format with which any self-respecting UI designer is familiar.  Fortunately, Qt supports a subset of CSS to style its GUI classes, sometimes referred to as QSS.

(more…)

New project:KiLauncher

Last night i uploaded a new project to my github page, KiLauncher.  It’s a fullscreen, static (as in not auto-updating) launcher menu aimed at kiosks, kids computers, corporate systems, and any other situation where an administrator wants to be able to both provide a simple interface and exercise some control over what applications are available to the user.

The software is still in the early stages, of course; I’m still working out the best way to structure the config file; yet it meets all its primary goals at this point and works just fine.  It’s built in python and QT of course, and after my positive experience using YAML in wcgbrowser, I’m of course using it for KiLauncher too. Unlike wcgbrowser, I don’t have a real-world use for this software yet, but maybe someone who does can give me some feedback on it.

Backporting with apt-src

So often with Linux distributions, the choice is between running a bleeding-edge system, or sticking with stable (and sometimes stale) software.  Most of us settle in to a distro that balances both to our liking, but there are times when you just have to have a little newer version of a package than the default repositories offer.  While it’s great to find a backport repo or PPA that offers newer stuff, sometimes that’s not possible.

So for times like that, I’m going to describe a method by which Debian or Ubuntu users can backport their own software using handy little tool called “apt-src”.

(more…)

WCGBrowser updated

I’ve been wanting for some time to update my wcgbrowser code to be python3 compatible, but I’ve been held back by the ambiguity surrounding the configobj library — in a nuthshell, the official project isn’t 3.x compatible, but there is a fork that is. Unfortunately the fork maintainer isn’t putting real effort into a release, and Debian won’t include it until they do.

So fed up with that, I got a wild idea last night to port the code to something more supported. I considered JSON and XML, but settled on YAML, since it seems to be reasonably hand-hackable, well supported, and handles about any data types I need.

I thought this would be a big deal, but surprisingly it only took about 20 minutes to get things working. I decided to keep going with my momentum by adding the remaining command-line configuration parameters to the config file and making sure the whole thing worked with python 3.

I also fixed some logic bugs in the process. Nice.

If anyone out there is actually using it, you can get the latest code on github.  Naturally, the conversion to YAML will break any existing configuration; sorry in advance.  To make up for it, I’ve fully commented the config file so it should be pretty simple to figure out how to port it over.  Also, bear in mind that it’s now looking for a config file called “wcgbrowser.yaml”, not “wcgbrowser.conf”.

Debian for Ubuntu people

It’s no secret that many people’s first Linux experience these days is on Ubuntu; yet as they — for one reason or another — find themselves needing to branch out into the wider Free OS world, Debian is often the next stop along the road.  Having introduced a few Ubuntu users (in real life or online) to Debian, I’ve noticed a few common stumbling blocks, and thought it might be nice to offer a little guide for those making the transition (or expansion) to Ubuntu’s parent distro.

It’s also no secret that there tends to be a bit of friction between the Debian and Ubuntu communities, both users and developers, for a variety of reasons.  For the record, I appreciate and use both distributions quite a bit, so I hope that this article will help users from both camps have a healthy appreciation for the other.

(more…)

The Debian Administrators Handbook arrives, free!

The big news in the Debian world this week is the liberation of the The Debian Administrators Handbook, which, thanks to donations from a crowdfunding campaign, has now been released under free-as-in-speech licenses.  It’s even been packaged up and placed in the Debian repositories, so it’s a quick “aptitude install” away.

I spent some time browsing through the manual online today, and thought I’d share my reactions.
(more…)

Ubuntu Studio 12.04

A screen cap of the Ubuntu Studio Desktop

The Ubuntu studio 12.04 desktop.

Not so long ago, I posted about my attempts to bring my old DAW system back to life with Lubuntu.  Emboldened by my success, and eager to get it on a nice firm LTS-release foothold, I tried to upgrade it to Precise Pangolin a few weeks ago.  Sadly, the results were not so great:  after upgrading, I ran afoul of a mysterious bug that caused Ardour, Audacity, and Hydrogen (and possibly other programs) to segfault when I started them.  Despite my best efforts to track down the error (probably caused by my liberal use of PPAs and 3rd-party repositories), it became clear I needed to start afresh.

This time I decided to skip a bit of the DIY and just grab a ready-made audio production distro; after all, there are plenty of them out there, aren’t there?  Well, the hunt began for an audio-production oriented distro that would work decently on an older 32-bit system while promising future updates; and yes, believe me, my not-so-fond-of-Ubuntu friends out there, I didn’t limit myself to ‘buntuland.  Yet search as I might, every project I found seemed either at least 18 months stale (if not out-and-out abandoned), or a one-man project based on Debian or Ubuntu anyway.  In the end, Ubuntu studio seemed best to fit the bill.  So I downloaded the nearly 2 GB .iso file, popped it on my flash drive, and loaded it onto the old workhorse; and here, dear reader, are my findings so far…

(more…)

« Previous PageNext Page »