more for Mac OS X (thanks to Matsuda-san)