Category Archives: Mac

iTunes everywhere

It was great to get the iTunes share to work from my Linux server, but I got thirsty for more! I wanted to be able to listen to my music collection wherever I was. Especially at work and while writing my thesis in the library. This meant that I had to share my music library as an iTunes share over the Internet – fascinating thought. I found some instructions on how to achieve this, but again they weren’t really crystal clear. So this is how I did it.

Continue reading

Advertisements

4 Comments

Filed under Geek speak, Linux, Mac

Idiotic sleep timer in Mac OS X

Goddamn Apple! You have to do better than this! A week’s worth of work down the drain just because you can’t handle sleep mode properly.

I was just playing some music with iTunes on my MacBook, leaving it on the table using battery power. Suddenly it goes quiet and I thought “ok, battery’s drained, it’s hibernating”. Imagine my surprise when I plugged in the power chord and pressed the power button. It didn’t recover from the hibernation – it booted! Everything I was working on was gone.

Continue reading

1 Comment

Filed under All software sucks, Geek speak, Mac

Sharing music from Linux to iTunes

Update 2009-02-07: These are instructions for Sarge. See comments if you’re using Etch or above.

Yesterday while writing my thesis in the library, I was listening to some other person’s music she had shared through iTunes. It’s a nice feature they’ve got there, so it got me tinking “could I make my Linux server at home share my whole music collection like an iTunes share?”.

After some quick Googling I found out that it’s actually possible and the software is already out there. Just to compile and install. However, the instructions I found was either not verbose enough or not applicable on my setup.

On-the-fly-comment: Now I suddenly found out that there’s a project called firefly that replaces the daapd that I’ve been using here. This information makes this post almost completely useless, but I’ll go on anyway, skipping the part about compiling and hacking daapd.

So this was the scenario: I’ve got all my mp3s on my Linux server, which I usually mount to my desktop machine (also Linux). I can’t bother mounting the share on my MacBook (since I’d have to import the whole library into iTunes’ database and I don’t want that), but instead it would be nice to have the library accessible as an iTunes share. This is how I got it working.

Continue reading

7 Comments

Filed under Geek speak, Linux, Mac

Growl crashes Mail in os X

As if I didn’t have a crappy morning already, my Mac OS X Mail had to start bugging during my morning routines by the computer. After countless crash-reports and relaunches I even rebooted, but without success.

I found some hints on Google, including one on disabling Growl Mail. This seemed to be the most realistic solution, but didn’t work. I also tried many other suggested workarounds like deleting ToDos in iCal, clearing some caches, hitting some keys when Mail starts and so on. Nothing helped. After even more relaunching and sending bug reports to Apple, and another five minutes of Googling, I discovered a thread that had solved the problem by deleting the GrowlMail.mailbundle directory from HD/Library/Mail/Bundles.

Luckily, that worked for me as well. So now I can finally start my day and look forward to whatever else Murphy has got in store for me.

5 Comments

Filed under All software sucks, Mac

Week numbers in iCal

I can’t understand why Apple has not included week numbers in iCal. Not even as an option. Well, luckily I found a php script that generates a calendar that you can import into iCal and that way get week numbers as “whole day” events. Ugly? A bit, but it might be worth it.

Continue reading

1 Comment

Filed under All software sucks, Mac

autossh + screen = fully automatic relogin

When working inside screen over ssh in the Mac OS X Terminal application, it for some reason always hangs after the computer has slept. There’s seems to be no way to resurrect it, other than closing the Terminal and opening a new one, letting the old ssh connection die in loneliness.

However, this problem is avoided by either not using screen (magically, a “normal” ssh connection doesn’t hang the Terminal), or by using autossh to automatically restart a lost connection. I decided to try out the latter option.

Continue reading

4 Comments

Filed under All software sucks, Linux, Mac

Unicafe Widget v. 0.1

I’ve created my first Widget for Mac OS X. I started off creating it manually when I accidentally tripped over Dashcode, an application in Leopard that let’s you easily create your own widgets. It was up and running in a few clicks. Another couple of hours and it was ready to be released.

This widget displays today’s menu in the Exactum Unicafe restaurant in Helsinki. The whole week’s menu is viewable using the browse buttons at the bottom of the widget. This first version is really simple, but fully functional. In the near future I plan to extend it to support all Unicafes in Helsinki. UnicafeWidget is only available in Finnish.

The widget is free for download on the Projects page.

Leave a comment

Filed under Mac, UnicafeWidget