Skip to content

Calendar/Contacts Synchronization with ScheduleWorld

Recently I found a solution to a problem which has been nagging me for a while (ever since I switched to IMAP email actually). The problem? Synchronizing calendars and contact between my desktop and laptop PCs.

The solution I found is ScheduleWorld, a free synchronization service which allows you to share calendars, contacts, tasks and memos between multiple devices (PCs, mobile phones). As far as I can tell the actual work is done using SyncML, but there are plugins for various email/PIM clients as well as support for a range of mobile phones. It’s pretty straightforward to setup, as there’s a wealth of documentation of the wiki.

I’ve been using it for calendar, contacts and task synchronization between my laptop and desktop (using Evolution) for a month or so now, and it works great. Once configured, it’s as simple as creating a cron job to periodically synchronize with the server.

Nice… :D

I meant to write about this a while ago, but I forgot. An email from Jonny this afternoon reminded me…

Tagged , ,

iAudio X5 File System Issue

This afternoon I decided I needed a walk to clear my head (too much work, too little sleep) so, I found myself wanting to copy some new music* onto my iAudio X5L, something I haven’t done in a while. Like, since when I first bought and filled it a year ago. “No problem” thinks me, “I know it works OK with my PC, I’ve been playing tracks from it in Banshee for ages”. But, apparently not… Continue reading ›

Tagged , ,

Share & Enjoy

I’ve started using a wiki to hold random notes/guides/etc that I’ve made. It’s publicly accessible but not publicly editable. I’ve decided to put it online on the off chance that the information is useful to someone else (hey, it’s useful to me…). There’s not much there at the moment, but I’ll be updating it as and when I feel the need (or, more likely, have the time).

It can be found at charcourt.com/wiki

Tagged

Biting The New Laptop Bullet

As anyone who’s spoken to me recently will probably have gathered, I have been having problems with my trusty ThinkPad T42. Problems in the form of random lockups. Not much fun… After weeks of frustration I finally determined that it was a hardware fault which (as I’m well out of warranty) would be rather expensive to fix.

So, this evening, after having it lock up 4 times in an hour, I bit the bullet and ordered a new one… A ThinkPad T60 to be exact (anyone guess that I like the T-series?). It’s not the latest and greatest model (there’s the T61 for a start), but it will do the job.

I’ve gone with a standard 4:3 format since I don’t really feel the need for wide screen. It’s 14″ @ 1024×768 - which is same as my T42. Not the most amazing resolution I’ll grant, but it does the job for me. If I want masses of screen space I can use my dual screen desktop.

Should arrive on Tuesday… :)

Tagged

Apache 2.2 Upgrade on Gentoo

I found the time today to upgrade apache on my server to version 2.2. The upgrade appeared in ‘emerge -Dpu world’ a few weeks ago (IIRC), but I’d been putting off until I had the time to deal with it properly. Not much drama in the end, but I did have couple of issues. Here’s how I went about it:

First I backed up all my apache related configs (/etc/apache2/* and /etc/conf.d/apache2) just in case. Then I brought down apache and performed the upgrade:

# /etc/init.d/apache2 stop
# emerge -uav apache

So far so good..

Next, I rebuilt the modules etc that I’m using (svn, php, python, perl)
note: I had problems with svn until I rebuilt neon as well

# emerge -1av subversion neon php mod_python mod_perl

I ran ‘revdep-rebuild’ as well, for good measure, but it didn’t find anything to rebuild.

I then ran ‘etc-update’ and checked over the configuration changes. Some of the configuration seems to have moved from httpd.conf, notably MPM config is now in /etc/apache/modules.d/00_mpm.conf.

With APACHE2_OPTS in /etc/conf.d/apache2 set appropriately, I started up apache…

… and, nope - can’t open log files. The relative log file paths (separate logs for each vhost) I’m using don’t work anymore. I’ve no idea why this occurs, but it’s easy to fix by simply specifying the full path to the log files.

That done, I started apache again…

… and success! This is evident by the fact you are reading this page :) All my old vhosts worked fine - including the mod_proxy and svn ones! I love it when things work. I’m still having a few problems with SSL - but this isn’t ‘mission critical’ so I’m going to leave it for now.

Tagged ,

HTPC Redux

It’s been a while since I really did anything with my HTPC - well, unless you count accessing the videos/music on it. Embarrassingly I’ve had it over 6 months, yet I haven’t found the time to get MythTV working. Continue reading ›

Tagged

My Ubuntu Experiment

A couple of weeks ago I decided to give Ubuntu a try. Why? Well, I’ve been recommending it to, and installing it for (none technical) people who are just getting started with Linux, while using Gentoo on my own systems, so I figured it was high time I gave it a try as my day-to-day distro. Rather than mess with my desktop, which is critical to my work/research, I opted to Ubuntu-ise my laptop - a ThinkPad T42. This machine gets used for the usual kind of stuff, but I also use it for (Java) development on occasion, so I need it to have things like the Sun JDK(s), Eclipse, Tomcat and JME Toolkits to work - preferably without too much hassle.

I’ve installed Ubuntu before, so I knew what to expect from the installer, but there was a problem. The CD drive on my laptop is somewhat broken, no doubt from years of abuse. It works some of the time, but produces (random) read errors which becomes a real problem when booting livecds. The usual install CD wouldn’t work, but I managed to get the ‘mini’ one to boot (this is likely since it’s only 8mb and the drive could just about handle that). This CD doesn’t include X so you get a text based installer, which although not as pretty as the graphical one, works just as well. Using the mini install CD has another upshot, the packages are fetched from the internet so you get the latest versions of everything straight of the bat. All of the hardware,including the wireless (ipw2200) worked straigh away, which impressed me slightly, but since I already knew it all worked I would have been sorely disappointed had it not.

With the system up and running without any trouble, I set about getting my development environment sorted. Ubuntu uses GCJ to provide Java support, which I’m sure is fine for some people, but I want multiple versions of the official Sun JDK (for various reasons). Installing one version of the JDK is easy enough, apt-get is a decent enough package manager, but it got a bit confusing once I started messing with multiple versions. Maybe it’s because I’m spoiled by Gentoo’s Java tools, but the way Ubuntu handles this seemed less organised than I’m used to.

Next I got Eclipse installed and running - or rather I tried. It installed fine, but kept crashing, with all manner of errors (mostly cryptic). Some of these crashes were consistent, like opening a web.xml file, while some were seemingly random. I spent some time searching forums and mailing lists, but despite finding many people who appeared to have similar problems there didn’t seem to be a solution. Eventually I gave up an used a binary package from eclipse.org, which worked fine. However, I was disappointed that Ubuntu couldn’t get Eclipse, which is a fairly widely used tool, right.

Next up was Tomcat. This installed fine, and appeared to start OK, yet the server would not respond. After a bit of digging I discovered this a known issue, caused by Tomcat’s logs being written to a named pipe, but this pipe is not properly created. Easy to fix (a simple ‘touch /the/pipe’ in the init script) - but this had me thinking “why has this not been fixed”? It’s not a new issue (judging by launchpad) but it seems sloppy for a distro which is meant to ‘just work’.

By this point I was beginning to have second thoughts about sticking with Ubuntu (this was only an experiment after all). I was further discouraged to find that many of the Java libraries and tools I use are simply not in the Ubuntu package repositories (e.g. XOM, Antenna). Granted these kinds of things are pretty simple to installed/maintain manually, but I like using portage since I don’t have to look out for updates.

I thought about it for a while, but ultimately I decided to go back to Gentoo. Maybe it’s because I’ve been a Gentoo use for so long (+3 years). Maybe it’s because I’m not the target audience for Ubuntu. Maybe I didn’t give it a fair chance (to be honest I don’t really have the time to). Either way, my Ubuntu experiment didn’t last long.

I should probably mention that in general I think Ubuntu is a great distro, despite having been pretty negative for the last few paragraphs. For the large part it does ‘just work’, and I shall continue to recommend it to people who want to give Linux a try.

It’s just that Gentoo works for me, and makes it easy to do what I want. Ubuntu doesn’t. Well, they do say it’s all about choice…

Tagged

Tomcat Configuration Tweaks

I am in the process of setting up a Tomcat based hosting on omicron (in addition to the apache vhosts it does now). Having been burned before by unexpected traffic, I’ve begun by looking at the Tomcat server configuration, before attempting to ‘join’ it to apache. The first potential problems points which sprung to mind were too many threads and the JVM eating too much memory, so that was where I started. Continue reading ›

Tagged ,

Index Annoyance

I’ve just spent 10 minutes or so digging through database code looking for the source some rather troublesome SQLExceptions. One of the field names was ‘index’, and I wasn’t enclosing it in properly in the query.

That’ll teach me to use ‘index’ a field name…

Tagged ,

Laptop Beryl-ness

So, after being impressed by beryl on my desktop today I tried to get it running on my laptop. It’s a ThinkPad T42 with a Radeon Mobility 7000 graphics card. It seems that for this hardware AIGLX is best method. After a lot of messing about to get DRI working properly (never bothered with it before) I managed to get the X server to start with AIGLX enabled. Getting beryl running from here was easy (using the in portage version).

It runs acceptably on the laptop - no where near as smooth as on my desktop - but it’s perfectly usable. The only noticeable slow down is when lots of windows are open during the ‘desktop cube’ thing. I might have a go at getting some more performance out of it (I’ve not played with the driver settings yet).

So, I’m sold on beryl then…

Update: I found some info on the extra options for the ‘radeon’ driver. Setting AGP 4x mode and enabling the ‘PageFlip’ option boosted performance nicely - eliminating most of the slow down issues. It can just about cope with transparency on the desktop cube effect now.

Tagged ,