Tag Archives: apple

Connecting to an Airport Express from Linux

Wow. Karmic actually did something that really impressed me, there is support for Airport express streaming in the standard repos.

To enable it:
$ sudo apt-get install pulseaudio padevchooser pulseaudio-module-raop pulseaudio-module-zeroconf

Then run System -> Preferences -> Pulse Audio Preference. Tick “Make discovereable Apple AirTunes devices available locally”.

Run RhythmBox, or any app which uses pulse-audio as its backend, and play some audio.

Run Applications -> Sound & Video -> PulseAudio Volume control.

Select Airport Express as the output for this app.

Screenshot-Volume Control

Dell Hackintosh, saving space and hibernate

Hibernate does not work on a mini 9 running OSX. But OSX does create the hibernate file which will always be as large as the amount of memory you have.

On a 16GB Drive 2 gig seems an awfully large waste of space (remember as hibernate doesn’t work, the file is completey useless).

Open a terminal, and remove the current hibernate file:

$ sudo rm /var/vm/sleepimage

Use pmset to turn hibernation off:

$ sudo pmset -a hibernatemode 0

I also found that for some reason the system still re-created a hibernate file, though I am no sure why or under what circumstances it would do that.

But to make sure it doesn’t happen simply set the location of the hibernate file to /dev/null:

$ sudo pmset -a hibernatefile /dev/null

You get 2GB back – Yay!

Bluetooth fixed on Dell Mini 9 Hackintosh

I followed this post to fix Bluetooth on my dell running OS X. I would recommend just following the first post, the script included later does some bad sed(ing), it changes far more values than it needs to. Sure the script works but it is a bit of a sledge hammer approach.

But following the first post I now have bluetooth working great, and tethering to my iphone (3.0) working as well. It is brilliant.

Replacing Mobile Me with Google Sync

Thanks to a fairly new project, Google Sync, I am now nolonger interested in a mobile me account.

It wasn’t the storage which interested me, and I am happy with picassa over Apple’s equivalent. But I use multiple computers, and I wanted the same calendar and mail on each computer and my iphone, and mobile me seemed the best way to do it. But now with Apple’s Address book able to sync with google, and Google Sync for the phone. I have all of my computers and iPhone syncing with the Google cloud, and staying in sync with each other.

Google Sync is also good news for linux users, allowing syncs without itunes. I think I’ll write a howto for linux users soon.

Read on for a how to. Continue reading Replacing Mobile Me with Google Sync

Hackbook Mini 9


It has been done many, many times before, but let me say, it is awesome.

Wasn’t sure if I would like it or not, but it is amazing. Everything just seems to work. I have had a couple of hiccups, I cannot seem to tether a 3G phone without problems via bluetooth, and the the trackpad simply sucks, but it is great.

I used the howto from gizmodo: http://gizmodo.com/5156903/how-to-hackintosh-a-dell-mini-9-into-the-ultimate-os-x-netbook.

There is just one simple error in the post. Once you have booted from the usb, device 80 is the USB stick, not the SSD. All you have to do is select device 81, and you can boot from the internal drive. You do not need to use a CD Drive for the second part of the process like the howto suggests.

Leopard, sudo, proxies and environment variables

Wow, just ran into this problem. The sudoers file on leopard has some new settings as default, which means that if you have environment variables set, they will not be inherited as superuser unless they are explicitly set.

# Defaults specification
Defaults        env_reset
Defaults        env_keep += "BLOCKSIZE"
Defaults        env_keep += "COLORFGBG COLORTERM"
Defaults        env_keep += "__CF_USER_TEXT_ENCODING"
Defaults        env_keep += "LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME"
Defaults        env_keep += "LINES COLUMNS"
Defaults        env_keep += "LSCOLORS"
Defaults        env_keep += "SSH_AUTH_SOCK"
Defaults        env_keep += "TZ"
Defaults        env_keep += "EDITOR VISUAL"

At work I am behind a proxy, commands run as root from the terimnal are not inheriting my terminals proxy settings. MacPorts was failing.

There are 2 solutions.

Explicitly state the environment variable in the command line:

$ sudo env http_proxy=http://proxy.url:port/ command

or, add the environmant variable "http_proxy" to the list in /etc/sudoers.

iPhone 3.0

I just got my phone upgraded to the developer release of 3.0. It’s nice, I haven’t found it particularly slower than before, which I was worried about.

Tethering is awesome. The MMS and cut and paste has been implemented very well.

I haven’t encountered any major bugs yet either, although it seems other have. My biggest problem is that with Optus I cannot as yet mms and use the internet. I have to change the APN in the settings to the appropriate one for either task and then restart the iphone. So basically I don’t actually have mms working. But we are still a while from the the official launch and I am sure optus and apple can work it out by then.

Remounting network drives on OSX

Why do I overcomplicate things.

I wanted to have a few SMB shares mount on my apple workstation every time I login. I couldn’t work out how. I thought about automount, I thought about writing an apple script, and then my retired uncle showed me how, its simple.

In system preferences -> accounts -> login items, simply add the volumes. If the passwords are stored in your keychain they will remount every time you login.