Linux versions of mac applications
A couple of months ago I gave up waiting for Apple to release a slight, small notebook. The Macbook Air is too big. I didn’t need a paper-thin laptop that still required a large bag to put it in. I needed a small thing I could throw in my backpack and not have to make the daily decision as to whether I really needed to take it with me. Cue the Eee PC 901. I bought the XP version as I wasn’t sure how I’d find working with linux. After about a week of using XP I wiped it and installed Xubuntu. It’s lighter than Ubuntu as it uses XFCE rather than Gnome as its desktop. As a total mac-head I needed to find some equivalent apps to put on my new toy.
The Easy Stuff
Some apps didn’t need replacing, Firefox is available for linux and Photoshop runs brilliantly under Wine. And of course linux has a Terminal.
Text Editor
I’ve been using TextMate for a while now, it’s probably my most used app, it’s the only one I actually miss when using my laptop. jEdit is a reasonable substitute, it allows you to configure your own syntax colouring, so I copied my favourite TextMate colour scheme.
FTP
Initially I tried FileZilla but I had problems with it disconnecting from servers, it got painful having to navigate to the same folder over and over again each time I wanted to update a file. gFTP fixes this, plus it is quick to load and run.
Chat
Pidgin is available for both windows and linux. It supports MSN, AIM, Google Talk, ICQ and Bonjour among others.
Music Player
Exaile doesn’t do everything, it won’t sync my iPod for instance. It does play MP3s however and that’s all I needed.
PDF Reader With Annotation
Mac: Adobe Acrobat
Linux: PDF Xchange Portable
This one’s a bit of a cheat, being a Windows app it needs to be run under Wine. I searched in vain for a native linux app that handled annotation in a standard way; I need to be able to read my annotations on my mac as well as my Eee. PDF Xchange Portable runs very well under Wine.
Phorm: round three
Round three of the Phorm trials start tomorrow. If I were with BT / Talk Talk / Virgin Media I’d be seriously thinking of changing my ISP about now. Just the thought of all my HTTP traffic being monitored makes me twitch. After all, I am already paying for my ISP service, that surely should be enough. Greedy ISPs deserve to lose customers.
You can read all about Phorm here and find some useful detection scripts here.
Download and view local HTML files on an iPod Touch
I keep a personal WordPress as a notebook online along with a page that allows me to save the entire contents for offline viewing. I thought it would be useful to have this file on my iPod. I’ve written up my method here in case someone else might find it useful. This guide makes the following assumptions:
- You have 2.* software jailbroken iPod
-
Using Cydia you have installed the following:
- Mobile Terminal
- sudo
- wget
- file:// Schema in Safari
Overview
The aim is to have a simple command that can be run from the terminal on the iPod to download the HTML file. Safari is then used to view the file offline.
Setting up the aliases
Create a .bashrc file in your home directory, this is where we will store the alias settings. We will use Nano for this:
iPod:~ mobile$ nano .bashrc
Hopefully your screen now looks something like the image below.

I’m making an assumption about the filename you wish to give your downloaded HTML file, change it if you wish. In Nano you need to type the following:
alias notes='cd; mv notes.html notes~.html; wget http://www.domain.com/page.html --output-document=notes.html'
If, like me, the page you wish to download is behind a password change the dlnotes alias to the following, supplying your own username and password:
alias notes='cd; mv notes.html notes~.html; wget http://www.domain.com/page.html --http-user=username --http-password=password --output-document=notes.html'
That’s it. You can now save your .bashrc file by typing CTRL-o and answering yes to the prompt. Quit Nano by typing CTRL-x.
The iPod doesn’t always load the .bashrc file so we need to create a .profile page again using Nano and add the following code:
source $HOME/.bashrc
Finally you need to reload your .bashrc file:
iPod:~ mobile$ source .bashrc
Whenever you want to grab your HTML page for offline viewing just open the terminal and type notes. Then view the file in Safari by typing in the URL file://var/mobile/notes.html, a copy of the old HTML file will have been saved too just in case. You can setup another alias to delete the backup in the same way above, the command would be:
alias delnotes='cd; rm notes~.html'
Air Sharing
If you use Air Sharing you may want your file to be saved in its directory and be available over a network. Below is a quick guide to finding where Air Sharing stores files.
Use Air Sharing to copy a file from your computer to your iPod, make its filename unique as you will need to search for it later on. e.g. moocow.html
The rest of the work is done in the iPod Terminal. So grab your iPod and open the Terminal application. Note that I’ve highlighted the commands you type as bold.
We can use the locate command to find the file. First you will need to update the locate database. This needs to be done as root. To change to the root user type the commands below. The password will be alpine unless you’ve changed it:
iPod:~ mobile$ su
Password:<password>
iPod:/var/mobile root# updatedb
iPod:/var/mobile root# exit
Next we search for the file you copied over with Air Sharing:
iPod:~ mobile$ locate moocow.html
Note that it may take a few seconds to search, there are a lot of files on your iPod. You should get something back that looks like this:
/private/var/mobile/Applications/94724F2A-847G-371D-8H36-3DF5E659C9D2/Documents/Air\ Sharing/moocow.html
So now we know that Air Sharing stores its files here:
/private/var/mobile/Applications/94724F2A-847G-371D-8H36-3DF5E659C9D2/Documents/Air\ Sharing/
Using this information you can adjust the alias above to download your files directly to the Air Sharing directory.
iPhone / iPod Touch App Store
So finally the iPhone/iPod Touch App Store is finally official. Having a quick look through there are a few apps that interest me:
Just as soon as someone cracks the 2.0 Software Update so I can install these on my jailbroken iPod I’ll be a customer. I’m not prepared to lose my last.fm MobileScobbler or Wiki software yet.
Digital radio
Last week I finally got around to buying a digital radio. Usually I’m all over new technology being a gadget freak but I’d held off digital radio mostly due to the poor sounding radio channels available on digital TV. Not wishing to spend a lot of cash on this exploratory purchase I grabbed a second hand Pure One DAB/FM Portable Radio.
My main reason for buying the radio was to listen to Nights with Alice Cooper, a breakfast show on the Planet Rock station. But I’ve found myself listening to quite a lot more radio than this one show. The extra stations seem to have reinvigorated my interest in radio.
My not so original guitar
Last weekend I happened to be watching 100 greatest movie songs on one of the freeview music channels and to my shock I saw my guitar. Nothing odd there, if it was a Strat or a Les Paul. However I built my guitar, I designed it myself, I spent considerable time deciding on the shape of the body. I thought it was an original. Essentially it’s a merge of the top half of an Explorer and the bottom half of a Randy Rhoads.
The image on the left is a still from a Starship video, on the right is a photo of my as yet unpainted guitar. I really would like to finish it someday, before I can get it painted I need to sort out the stupid recessed tremelo that’s actually deeper than the body. I should have stuck with a £10 fixed bridge.
Download iPlayer content for your iPod/iPhone
This is a Ruby script for downloading the BBCs iPlayer content so you can watch it offline. It makes much more sense, afterall if I have a wifi conection it’s because I’m a) at home or b) at work. If I’m in either of these places I’m more likely to use the bigger screen attached to my computer. It’s great that PC users can download the content legally but until the same is true for mac, ipod or any other user I’ll continue to use this great script.
What I want from Apple…
There’s a lot of chat on the interwebs about an Apple announcement at WWDC – possibly a 3G enabled iPhone. What I’d like to see is a viable replacement for my now aging G4 12 inch Powerbook. Please Apple, let me give you some money, I really want to upgrade but I’m not prepared to slum it with a Macbook, I want a Macbook Pro. I’m sure I can’t be the only one waiting for a suitable replacement. The 12 inch Powerbook is small enough to fit in a regular backpack, there’s no need to buy a special laptop bag and effectively draw a big muggers target on my back.
Ideally I’d like the new Minibook to be roughly the size of a Sony Vaio Picturebook, with a hi-res screen, I’m thinking 1600 x 1200, have a proper graphics card and a nice glowing keyboard. Oh, and no bloody glossy screen.
The Macbook Air is a big disappointment, no ethernet? One USB port? No firewire? Also they shrank it the wrong way. I don’t need a laptop that’s 2cm thick but too wide and deep to fit in my backpack. All that’s gonna happen is I’ll bend it in half.
Right now if I could install OS X legally on a generic ‘Windows’ laptop I’d do it – after all it’s the OS that makes it a Mac. I know I could do it illegally but I don’t want to find my laptop suddenly disabled by the Apple hardware police.
Leopard Spaces
I have used some form of multiple desktop manager since the days of Mac OS9, the ability to separate my tasks onto different ’screens’ helps me to focus on what I’m currently working on without having to hide or minimise windows. On OS X up to Tiger I was using Desktop Manager to organise my windows.
Recently I have updated my laptop to Leopard, as it has Spaces built in I thought I’d use that, I’m not sure Desktop Manager even runs under Leopard. After a matter of minutes using it I realised Spaces is fundamentally broken. It groups windows of apps together rather than letting you decide which windows you would like on a specific space. For example I keep my personal Gmail account open in Firefox and my work Email open in Safari, I like to group these in the same space along with Adium and Skype. This is my communication screen. Now if I go to a second screen and want to open another Firefox window Spaces snaps me back to my communication screen. I then have to move the new window to the second space.
Thankfully I found this hints at MacOSXHints to disable the annoying snapping.
Open a terminal window and type:
defaults write com.apple.Dock workspaces-auto-swoosh -bool NO
Then restart the dock by typing:
killall Dock
To reset back to the default behaviour type:
defaults write com.apple.Dock workspaces-auto-swoosh -bool YES
Jailbreaking an iPod Touch with the January software update
I bought my iPod Touch back in February and since then I’d been pondering jailbreaking it. Some of the walkthroughs looked a bit scary and that kept putting me off trying. Yesterday I read the Lifehacker article: Jailbreak Any iPhone or iPod Touch in 45 Seconds and finally decided to have a go. I followed their instructions and I now have a 1.1.4 iPod touch jailbroken with the January software update running.
I’ve spent a few hours today looking at the apps listed in Installer.app and these are the ones I’ve installed so far.
MobileScrobbler
The main thing I wanted to get up and running on my iPod was scrobbling my music to Last.fm, I really missed this feature from my Nano. This app scrobbles tracks directly to Last.fm when you connect to a wifi network, no running an app on your computer when you sync your iPod. Also you can listen to streamed music from the site.
BossTool
This app allows you to free up disk space on the apps partition of your iPod by moving the fonts and apps. I found moving the fonts gave me enough space – nearly 100mb.
MobileTextEdit
A text editor is always a useful thing to have kicking around.
MobileFinder
This is used by MobileTextEdit to allow easy selection of files to edit.
BSD Subsystem
Both MobileTextEdit and MobileFinder need this installed.
Books
I’ve always had an ebook reader installed on my PDAs right from my first Handspring Visor. I’ve really missed not having one on my iPod so this app was a must. It will open plain text and HTML files.
AFPd
This sets up an Apple File Sharing server on your iPod, it’s the easiest way to copy ebooks.




