Go to ubuntutweaks.wordpress.com for new home of this blog

This blog has moved to ubuntutweaks.wordpress.com. Please visit that site from now on and change your bookmarks.

Pfft…as if anyone bookmarked this site!

Blogsome shutting down

As of December 7, 2011 the company hosting this blog, blogsome.com, has announced it will be closing down. This means that this blog will be gone along with it. I have managed to get backups of the site, and I’m now looking for another site to host it. Probably another Wordpress site. Although, since I can barely keep content up for one blog, let alone two, it might just be an archival copy. Just to keep it up and running so it doesn’t get lost in the ether. Head over to ubuntutweaks.wordpress.com for the new home of this.
To all who have visited this blog, thanks for looking. Even though most hits to this site have been people searching for stupid billboard photos for some reason.

My main blog is stevesubuntutweaks.blogspot.com, I’ll see you over there!

Lesser known tourist attractions of Melbourne, Australia

In a back lane of Camberwell, a suburb of Melbourne, Australia, behind the post office, is a brick wall that has been covered with hundreds of pieces of chewing gum.

Wall of chewing gum 1

There actually could be thousands of pieces there, I didn’t stop to count them. It would have taken a while to put them all there too - this isn’t something that happens overnight.

Wall of chewing gum 2

The council hasn’t removed it either - so they may be implicitly approving of it. It could be an urban art installation, if you will. Pity that it has just been tagged with spray paint.

Then again, maybe no-one in the council wants to be the poor bastard who has to clean it off.

Update:
I went past there recently, and it looks like the council (or someone) decided enough was enough, and cleaned off a good portion of the gum. However, the collection is slowly rebuilding again.

Kakadu Photos

We recently got back from a trip to Kakadu National Park, in the Northern Territory, Australia. I’ve started doing some post-processing of the photos and am slowly adding them to flickr - see what’s up there so far.

New blog - Steve’s Ubuntu Tweaks

I’ve gone and made myself a new blog - Steve’s Ubuntu Tweaks. I’ve started things off with some of the posts from this blog, and I hope to keep things related to Ubuntu, linux and other PC-related things to the new site.

This blog was just getting a bit too broad in its scope - trying to have a bit of everything has wound up with it appealing to almost nobody. Except for people searching on google for a Stupid Billboard.

Anyway, head over there for some tips on keeping your machine running sweet.

Ubuntu 10.04 progress update, update

Well I should have known I’d jinx myself when I mentioned in my last post that the strange, hanging at boot problem has solved itself. Just this morning, the day after I posted, the thing just hung at the boot splash screen. A quick control-alt-delete got the thing rebooting, and it all started fine after that. Looking in the log file viewer revealed nothing out of the ordinary; checking the ubuntu forums showed up nearly nothing, apart from the fact that it happens to other people too.

I say nearly nothing, because I did learn one thing. If you hit escape while in the boot splash screen, the pretty graphics go away and the boot messages come up. I now want the machine to have problems at boot, so I can try this and see if anything interesting appears. Yeah, reverse psychology. I want you to fail at boot, all the time!

Ubuntu 10.04 progress update

Well it has been a couple of months now, using Ubuntu 10.04 Lucid Lynx. Overall, I have been pretty happy with it. Boot times are very quick, especially with it installed on the Intel X25-V solid state drive. The interface is quite polished and looks good. MythTV is working nicely as well. I did have a spell a little while back where it would hang during boot or shutdown, requiring a restart. Either that, or there would be a quite long delay in the boot process. I tried to work out what was causing the holdup by installing bootchart (available in the repositories) and looking at the results.

Wouldn’t you know it, but after I installed it and rebooted, the system worked fine. Everything has been back to normal. Don’t know what was wrong or what fixed it. Oh well, I’ll take it.

I have a sneaking suspicion that it might be due to doing an upgrade install rather than doing a fresh install - I’ll wait and see if it keeps behaving itself.

Backing up the various systems around the house has been something that has been looked into lately, too. I have purchased a new external hard drive to replace the old one, that is now getting a bit old. Following on from discussions on the Overclockers Australia forums, I have been trialling Crashplan, a backup service that allows you to back up to local folders or attached drives, other computers on a network, other people’s PCs, or their own online backup service. It is more concerned with backing up data, rather than complete system images, so that’s what I use it for.

It has enabled me to get around some of Windows 7 Home Premium’s limitations about backing up to a network. The setup I have now for my wife’s Windows 7 PC is that the standard windows backup runs, sending its data to a small external drive attached to it. Supplementing that is Crashplan, that backs up documents, photos, music and the like to the new external drive attached to my PC, giving a bit of redundancy.

My own PC has a regular backup scheduled via backintime to get most of the system data, and Crashplan to back up the music, photos, documents and the like.

On all machines, these are scheduled to run daily with the exception of the windows system backup that is set for weekly running.

I haven’t yet decided whether to take the plunge and purchase the Pro version of Crashplan, or to enable the online backup component. I’m just waiting to see how the software behaves itself - I have overcome one particularly nasty teething problem.

Sometimes when my Linux machine boots, if the external drive hasn’t mounted in time, Crashplan would decide to re-create the backup directory on the system partition and try to back up ~140GB of data to it. I’ve fortunately managed to catch it in the act and stop it before anything nasty happened, but it made me hesitant to make the purchase. I am not the only one who has had the problem, as this support forum thread describes.

I tried a couple of fixes - one was to change the program setting to only allow it to run between certain times, so the machine would be on, and the drive mounted in time, before it starts. This worked well until a few days later when I came home late from work and booted the PC. Backup to system partition happened again. I tried editing the startup scripts, adding a “sleep 20″ command, to delay the program from starting until the drive was mounted. I thought this was the solution, until I one day turned the PC on and walked away to do something else. I came back, logged in, and realised the drive wasn’t mounting until after I did that. Crashplan started as soon as the 20 second delay ran out, which turned out to be before my login.

The final solution, and I think this has nailed it, was to add an entry for the external hard drive in the /etc/fstab file. This now mounts the drive straight after it mounts the other, internal drives, and well before the Crashplan engine starts. Since the external drive is a semi-permanene attachment to the PC, it works for me.

I may yet start using the online backup - the only issue now is the matter of uploading nearly 200GB total over a 512 kilobit upload link, with uploads counted towards my data allowance. This would have to be spread out over a couple of months of uploading at a throttled speed.

Overall, I’m pretty happy with Crashplan so far. It supports Windows, OSX and Linux, which is rare. The clients all find and connect to each other with a minimum of hassle as well. It would be good having some peace of mind that all our photos and documents would survive if the house burnt down or something.

My most painless Ubuntu upgrade ever

Wow. That’s all I can say. Today I decided to upgrade to Ubuntu 10.04, but rather than doing a clean install like I have done with previous versions, I thought I’d have a go at the upgrade. To prepare, I copied the /boot, root and /home partitions of the existing 9.10 install to some free space on another hard drive. Just as a precaution in case it all went pear-shaped. I ran the update manager, chose the upgrade option, and away it went - downloading all the new packages, applying the updates. Only a couple of dialog boxes popped up asking about Grub, and what it should do with it.

The process finished without incident, I rebooted, and surprisingly, it started, allowed me to log in, and it got to the desktop! All previous programs and settings there, all programs updated. I am pleasantly surprised - even MythTV updated without a hitch, for the first time. I’m sure there will be the odd hiccup along the way that I’ll discover in time, but so far so good.

Oh yes, regarding Windows 7 - I’ve removed it from my machine. Partly because I was barely using it, apart from watching full-screen Flash videos in decent quality, partly because I have obtained an old laptop from work, and installed 7 on that.

New Keyboard! And more on Windows 7.

This post is basically inspired solely by the fact that I have bought a new keyboard and need an excuse to do a lot of typing on it. After finally having enough of interference, non-responsiveness and battery changes, I ditched by former wireless keyboard and mouse combo and bought a couple of new ones - a Logitech M500 corded mouse and an Illuminated keyboard. It has a nice, laptop-style key feel with just a little more travel, with the added bonus of keys that light up for use in a dark room.

I love it. Ubuntu picked it up without a problem, all keys working just fine. Windows detected it as well, but after installing drivers for it, insisted on a reboot. Some things never change. I didn’t bother installing the setpoint software that is included - no need for it in my opinion.

As a progress update on my dual-boot exploits, there have been good points and bad about windows.

The good:

  • Sleep actually works. It worked even better when I downloaded a patch that stopped it crashing on resume when the hard drive didn’t wake up in time. In Ubuntu, I only ever got to a blank screen with a blinking cursor when I tried the suspend feature.
  • Full-screen flash videos work with hardware acceleration. Only 5-10% CPU utilisation, compared with almost maxing-out a core under linux. This is due to differing stages of development of Adobe’s flash player.
  • General polish and feel of the desktop. You can tell a lot of work has gone into this. The help functionality is excellent as well - far better than Ubuntu’s vague documentation.
  • Backup works great - nice and straightforward, asking to also create a startup disc for system recovery. In Ubuntu, I am using backintime. While it is great for making backups, restoring from them is not so straightforward. Must look into an image based program.
  • Homegroups work great - it found the other Windows 7 PC on the network with no problems and is effortlessly sharing files between them. I can even use the printer connected to the other machine - a Canon that has stuff-all driver support under linux.
  • The bad:

  • While sleep works, the simpler task of powering off the screen after a set period seems more difficult for it. It doesn’t always do it. Then again, a number of XP systems at my work have problems with that as well - and they are factory Dell and HP boxen.
  • The media centre application isn’t quite up there with MythTV, one of linux’s killer apps, in my opinion. Guide data is only available from the networks’ broadcast guide, and I can’t find a way to get it to set up two tuners. Actually, finding any documentation on it is somewhat difficult.
  • All the rebooting needed. It’s still there, and it gets old pretty quick.
  • I think I’ll be dual-booting for a while longer, especially since MythTV will not be replaced any time soon. It has been interesting though, and I am learning the interface and all. I have noticed a lot of fixes since the Release Candidate that I was running last year on the other PC.

    My journey to the dark side is complete.

    Well, not complete. But I did buy the Windows 7, 3 user family pack for $209. I’ll be installing it on the wife’s PC today. I also put it on as a dual boot on my ubuntu system, for a laugh. I managed to get it to activate, using method #2 on this page, from Paul Thurrott’s site. And after windows thoughtlessly overwrote the MBR on my drive, I even got my grub 2 menu back, following this excellent guide on the ubuntu forums.

    One other thing I had to do on the ubuntu side of things is set the system clock to be local time, not UTC. I had to go edit the file /etc/default/rcS, and change the value UTC=yes to UTC=no. They seem to be playing OK together now. It’s just a shame that windows can’t see the data on my ext4/ext3/XFS partitions. I don’t know if I can be bothered putting my data on an NTFS partition yet, so it can be seen by both systems. I’ll see.