More book reviews and what I’ve been up to…

I just noticed that I hadn’t posted anything here for what feels like ages – since August the 15th.

So I thought, hmmm, better write something.

But what? A quick update on what’s been going on perhaps? That’ll do…

I’ve been working quite a bit with the brilliant free and open source vtiger CRM recently. Looking at some of the less widely used features and updating our training materials for the recent 5.10 release. I’ve also just submitted a small patch for the Customer Portal feature, to do with its web layout and have been thinking about how best to improve this, and the Webforms modules, to make them easier to customise.

I am also really enjoying using a great little python application called “Getting Things Gnome“. It one of those simple applications which does one job, does it very well and is easy to use. It’s basically an app for jotting down your todo list and making sure you get things done… Here’s what it looks like on my Ubuntu Jaunty desktop:

Getting Things Gnome

Getting Things Gnome

I also had a mail from those nice people at Packt Publishing suggesting two new books to look at and review for them, In fact a co-author of one of them actually requested that Packt contact me to do a review 🙂 Flattery indeed.

So, we now have four books in the pipeline in no particular order:

Joomla! and Virtuemart

Joomla! and Virtuemart

Building ecommerce sites with Joomla! and Virtuemart. I haven’t started on this one yet, but if you want to buy it direct from Packt just follow this link and we’ll get a few pennies in commission.
Alfresco 3

Alfresco 3

My partner-in-crime at The Open Learning Centre, Alan Bell, is reviewing this book on the also brilliant Alfresco ECMS (Enterprise Content Management System). We’ve just set up a 3.2 community install on one of our own servers and the new interface – called Alfresco Share – is really very cool indeed. Once again if you can’t wait we have a link to Packt’s on-line store where you can purchase the book.
FreePBX 2.5

FreePBX 2.5

Here’s one of the new ones we’ve been asked to take a look at. FreePBX is a very popular GUI to the even more popular Asterisk telephony platform. I am very much looking forward to reviewing this one and the next book. FreePBX 2.5 is available now from Packt’s on-line store.
The Professional's Guide to Asterisk 1.4

The Professional's Guide to Asterisk 1.4

I really like the sound of this one:

Implementing, Administering, and Consulting on Commercial IP Telephony Solutions

  • Written by four Asterisk Professionals, this book brings their years of experience together in an easy-to-understand guide to working with Asterisk in small, medium and larger Commercial environments
  • Packed with hints, tips, and best practice – learn to avoid the pitfalls that can hinder an Asterisk implementation
  • Focused chapters provide thorough, comprehensive, and self-contained instructions on how to deploy Asterisk across different commercial scenarios

This will probably be the first one I read when they arrive next week. It’s hot-off the press, just been released and can be ordered from Packt’s web site here.

My little Asus 1008HA netbook is running very happily with the Alpha build of Ubuntu Karmic Koala. I was at the swimming pool yesterday (not in it but taking my son to his lesson) and using 3G mobile internet to get on line. Battery life is good although not as long as is quoted by Asus. I reckon I get about 3 1/2 to 4hrs of good use. But that is mainly when powering a 3G dongle too – and they get hot. Karmic is shaping up to be a great release I think although to be frank I am really not sure about the new Gwibber interface, and the Empathy IM client hasn’t really floated my boat yet. But hey ho, never mind, at least we have a choice folks.

We are planning some new marketing activities over the coming months, what with the forthcoming release of the best desktop OS of all time and Microsoft releasing their rewrite of Vista, October should be a fun month. Hopefully we’ll have lots of interesting stuff to write about.

In fact I want to share with you a backup script I’ve written in Bash for my home office network and what may well end up being expanded and developed to support some of our commercial systems too. Well I think it’s pretty cool anyway. It wakes up machines in the middle of the night, uses – currently – rsync to back them up, then turns them off again. Configuration is easy and it seems to be working fine. When I get a mo I’ll publish the script source and let you all comment on my terrible bash skills. But I like it…

So there!

How to remove Mono from Ubuntu 9.04 Jaunty Jackalope [Updated]

SABDFL groks Mono

It’s that time again 😉

Fortunately, Mono is still quite trivial to remove and has not, apparently, increased its infiltration of the Ubuntu/Gnome code base as one might have been led to believe if you’d read this on the 1st April:

“Mark Shuttleworth, the Benevolent Dictator for Life of the popular Ubuntu Linux distro, has announced his plans to rewrite all of Gnome, X11 and the Linux kernel using the Mono platform…

Ubuntu is Linux for human beings, and, believe it or not, Microsoft employees are human beings too. We think we need to work closer with Microsoft to ensure heterogenous data silo paradigm middleware enhancements can continue to grow. Oh, and they gave me this nice T-shirt.”

As was the case with 8.10 Intrepid Ibex, there are just two applications in the default Jaunty desktop install which depend on Mono: F-Spot and Tomboy.

As an alternative to F-Spot, I happily use the Gnome viewer gThumb for managing the import and deletion of images from our digital cameras. I actually think it is better for a simple reason. It allows me to copy the images off my camera and delete them from the camera at the same time. The last time I tried F-Spot (admittedly quite a while ago now) I could never find a setting to do this.

And for note taking I have been happily using notecase. Although I note [pun intended] that the developer has stopped work on the free version himself the code is available under a BSD license so if anyone wants to pick it up and run with it they can. Anyway – notecase works fine for me and is still in the repos.

There are many other note taking type applications too. Here is what looks to be quite a comprehensive (albeit old) list of them: http://linuxappfinder.com/utilities/notes

But this is just GREAT!

Gnote: Tomboy minus Mono
Whilst I was preparing this article, I came across this on April 1st too. I actually did think it was a joke.

However it seems not; a bored and unemployed (ex Novell/Suse) developer, Hubert Figuière, is porting [has ported] Tomboy to C++ and calls it Gnote.

You can now use a virtually identical application to Tomboy without Mono! (This is still an early development so YMMV).

There is a PPA for Ubuntu here very kindly organised by Vadim Peretokin. I installed it on my intrepid desktop just to see it and it looks exactly the same as Tomboy!

Even better, as it isn’t built on top of Mono, it has fairly meagre requirements too:

sudo apt-get install gnote
[sudo] password for alord:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed
gnote libboost-filesystem1.34.1 libboost-regex1.34.1 libxml++2.6-2
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 1130kB of archives.
After this operation, 3400kB of additional disk space will be used.
Do you want to continue [Y/n]? Y

3.4MB vs. 54.0MB. That’s a decent comparison I think.

OK. The moment you’ve all been waiting for…

To remove that patent-trap-masquerading-as-free-software from your Shiny New Ubuntu Jaunty system simply type:

sudo apt-get purge libmono0 mono-common libgdiplus

[UPDATE]
Thanks to a keen eyed commenter, Lupine, we note that there is another package that lurks hidden and must be explicitly removed. I have added libgdiplus to this command since first publishing. To remove it individually just enter sudo apt-get purge libgdiplus. Thanks Lupine.
[/UPDATE]

Then watch what happens next…


The following packages will be REMOVED
f-spot* libart2.24-cil* libflickrnet2.1.5-cil* libgconf2.24-cil* libglade2.0-cil* libglib2.0-cil* libgmime2.2a-cil* libgnome-keyring1.0-cil* libgnome-vfs2.24-cil* libgnome2.24-cil* libgnomepanel2.24-cil* libgtk2.0-cil* libmono-addins-gui0.2-cil* libmono-addins0.2-cil* libmono-cairo2.0-cil* libmono-corlib2.0-cil* libmono-data-tds2.0-cil* libmono-data2.0-cil* libmono-getoptions2.0-cil* libmono-i18n2.0-cil* libmono-posix2.0-cil* libmono-security2.0-cil* libmono-sharpzip2.84-cil* libmono-sqlite2.0-cil* libmono-system-data2.0-cil* libmono-system-web2.0-cil* libmono-system2.0-cil* libmono0* libmono2.0-cil* libndesk-dbus-glib1.0-cil* libndesk-dbus1.0-cil* mono-2.0-gac* mono-2.0-runtime* mono-common* mono-gac* mono-jit* mono-runtime* tomboy*
0 upgraded, 0 newly installed, 38 to remove.
After this operation, 54.0MB disk space will be freed.
Do you want to continue [Y/n]?

Oh yes please…

To wrap up this post, we’ve been using Jaunty on various devices for some time now. It’s been really stable, boots very fast and is probably the best desktop operating system you can get anywhere and for any price right now. Thanks to Canonical and the rest of the amazing FOSS Community for making Ubuntu and this release happen.

Our Libertus Server Appliances, with the Mono-free Jaunty 9.04 server edition, are available from today.

Jaunty, Thunderbird 3 and Lightning

First a sort of apology I guess. Things have been really busy recently so I am not finding as much time to blog as I would really like.

Having said that, I took the opportunity yesterday to migrate my main desktop PC from Ubuntu 8.10 Intrepid to the soon-to-be-released 9.04 Jaunty Jakalope and I also upgraded my email client from Thunderbird 2 to a recent nightly build of the nearly-ready Thunderbird 3 release along with the excellent calendar extension Lightning.

Because of the way I partitioned the disk originally, this was a fairly trivial exercise but I thought some might find this information useful.

I already had a Jaunty build installed on one of the three 15GB partitions I created for Operating Systems (see here for how I originally partitioned the drive). The only thing I needed to do was to alter my fstab to add a mount point for the /home partition.

Ubuntu uses a UUID descriptor for disks as opposed to the more easily understandable /dev/sda[x] nomenclature. So how do you find out the UUID of a partition?

sudo vol_id /dev/sda8 will return various useful bits of info as in my case here:


ID_FS_USAGE=filesystem
ID_FS_TYPE=xfs
ID_FS_VERSION=
ID_FS_UUID=5a2ecbcf-ab2d-4696-ae87-a3a15c559f70
ID_FS_UUID_ENC=5a2ecbcf-ab2d-4696-ae87-a3a15c559f70
ID_FS_LABEL=
ID_FS_LABEL_ENC=

sda8 is the large (250GB) xfs partition I created for /home. My Intrepid installation lives in /dev/sda5 with a separate mount for /home and /boot. So When I installed Jaunty a few weeks ago to start testing it I installed that in /dev/sda6 and let it have it’s own /home directory.

I was happy with Jaunty’s stability so I decided to move across. After backing up my home directory first (using rdiff-backup) I then only needed to add a couple of lines to the /etc/fstab file of the Jaunty build.


# /dev/sda8
UUID=5a2ecbcf-ab2d-4696-ae87-a3a15c559f70 /home xfs relatime 0 2

Before I rebooted, I ran a sudo mount -a command which mounts everything according to fstab and checked that /home was mounted to /dev/sda8 as I wanted. I logged in and checked the home dir was as I had left it. I then unmounted /home and removed my “alord” directory from the Jaunty partition after copying any files I needed of course. This step isn’t really necessary but I like to clean up after myself 😉

Finally I swapped the default start-up item in the /boot/grub/menu.lst to be my Jaunty build and rebooted to check everything works. It did.

Installing Thunderbird 3 (Shredder) was simple. I downloaded the nightly tarball from here along with the nightly Lightning build from here. The Thunderbird tarball is already compiled so I simple extracted into my home bin directory and set up a menu item for it. Upon starting TB3 it picked up my existing .thunderbird directory and all my accounts and mail settings. It did rightly so complain that the lightning extension was not the right version and disabled it. I uninstalled the old 0.9 version and then installed the new lightning.xpi nightly I had downloaded. After restarting shredder all my calendars were loaded as I would have expected.

The reason for me using this potentially fragile version of Thunderbird is because there is an annoying bug in the Lightning 0.9 extension when working with the Cosmo Calendar server. The bug has been fixed, but only in the recent versions which are tied to TB3 and that probably won’t get backported. The Mozilla calendar folks are having a hard time right now – the Sunbird standalone calendar app is not going to be maintained or developed further by the calendar developers as they don’t have the bandwidth to support that and Lightning. TB 3 has moved onto the newer 1.9 Gecko engine and hence the new Lightning not working with TB2 which is built on the older 1.8 Gecko.

Screenshot of Shredder amd Lightning

The good news is that Shredder and Lightning seem to be fine for me (Disclaimer: Of course YMMV). TB3 uses the tabbed pane concept so my calendars/tasks and mails now live on tabs hat are easy to switch between. The overall UI of TB3 has been extensively reworked and there are some great new features some of which are covered in this article.

Here’s a screenshot of Shredder where you can see some of the UI changes etc.