Category Archives: apple

Office 2004 & Polices endommagées

erreur

While your fonts work well with all of the other softwares, sometimes (on Tiger) word, excel and powerpoint 2004 tells you that all of your fonts are corrupted.

I almost found the solution in French here :

http://forums.macgeneration.com/vbulletin/showpost.php?p=3402399&postcount=2

1 – So, just restart your compurer and keep pushed the “Shift” key. You’ll start Mac OS 10.4 in a securised mode (no drivers, no preloaded softwares…).

2- Then empty you bin garbage.

3- Start Word, Excel and Powerpoint

4- Reboot.

After that, I didn’t encounter the problem any more.

TFTP on Mac OS X

I needed to upgrade the firmware in a NetGear Switch. That’s done by pointing the Netgear at a tftp server that has the new firmware image. Simple enough. But where to find a tftp server ? as usually Apple included it in Leopard…

I found how to activate it here : http://aplawrence.com/MacOSX/tftp.html

Here is a copy, just in case :

I thought they might reserve that for the Server version of Mac OS X, but no, there it was, man page and all. The man page warns:
This server should not be started manually; instead, it should be run using launchd(8) using the plist /System/Library/LaunchDaemons/tftp.plist. It may be started using the launchctl(1) load command.

Well, I don’t normally want tftpd running, so launchctl is the obvious choice. Fire that up with “sudo launchctl” and then type:

load -F /System/Library/LaunchDaemons/tftp.plist

Why “-F”? Because by default, the tftp.plist contains:

<key>Disabled</key>
<true/>

If you leave out -F, launchctl will say “nothing found to load”, which isn’t very helpful – what it really should say is “I can’t load this because it’s presently disabled”. The -F forces it to ignore that little impediment..if you don’t use sudo, it will say:

bind(): Permission denied

Assuming you had neither problem, some fraction of a second later, tftpd is ready to run (well, LaunchD is ready to listen for tftpd requests and start it up, but you get the idea). Where’s your tftpd directory? Not in /tftpboot where you might expect to find it on a Unix system.. the tfpt.plist actually specifies the program arguments, and by default it looks like this:

<key>ProgramArguments</key>
<array>
<string>/usr/libexec/tftpd</string>
<string>-i</string>
<string>/private/tftpboot</string>
</array>

So “/private/tftpboot” is where you want to put the files to be accessed. When you are ready to shut tftp off, just tell launchctl:

unload /System/Library/LaunchDaemons/tftp.plist

If you did want tftpd to run all the time, you would use

load -w /System/Library/LaunchDaemons/tftp.plist

That changes the “Disabled” key so that the file now has this:

<key>InitGroups</key>
<true/>
“tftpd” would now be enabled at each boot. Should you later change your mind, “unload -w /System/Library/LaunchDaemons/tftp.plist” will put things back as they were.

Apple Dock?

Just one word: Wow!

 

http://www.macrumors.com/2008/01/03/apple-creating-imac-like-docking-station/

A patent application submitted in 2006 and published for the first time today has revealed that Apple is working on a docking station for portable computers, the exterior of which closely resembles Apple’s iMac line of desktop computers.

A docking station is disclosed. The docking station includes a display and a housing configured to hold the display in a manner that exposes a viewing surface of the display to view. The housing defines a docking area configured to receive a portable computer; The docking area is at least partly obscured by the display when viewed from the viewing surface side of the display at an angle substantially orthogonal to the viewing surface.

Apple argues that its docking station concept is superior in that it requires less desk space due to its vertical orientation. It is also simpler, as the display is integrated and wireless network technologies will be employed for communication between the dock and the portable.

There has been some speculation around the internet that the patent could be tied to the rumored Apple ultra-portable. While the timing of the publication is interesting, the application itself remains generic in nature, and appears to be applicable to any notebook computer.

Airport Express and FrontRow on Leopard

Airport Express

What a shame!

Front Row 2 doesn’t work with Air Tunes! It was so fine with Front Row 1.3… and Leopart (Mac OS 10.5) includes Front Row 2 only.

I found how to downgrade here and in french here.

Here is the solution, just in case:

****************
As you may know FrontRow 2.0 misses on important FrontRow 1.x features. Opening it without stopping the music. That is why we downgrade Frontrow to 1.x :)

First get the Front Row 1.3 Update: http://www.apple.com/support/downloads/frontrow131.html and mount the Image.

Open a Terminal (Applications -> Utilities -> Terminal.app)

Backup your Front Row 2.0

sudo mv /System/Library/CoreServices/Front\ Row.app /System/Library/CoreServices/Front\ Row.app2.0

Once the image mounted you can right click on the package and chose “show package contents”
Then, in “Content” double click on “Archive.pax.gz”. A folder named “Archive” will be added to you download folder.
Then go in Archive > System > Library > Coreservice
Copy (command C) FrontRow. Then go to you local Hard Drive and past it in system > library > coreservice

(I didn’t need a restart for Front Row to work again)

If you want to come back to Front Row 2.0 :

  • sudo mv /System/Library/CoreServices/Front\ Row.app /System/Library/CoreServices/Front\ Row.app1.0
  • sudo mv /System/Library/CoreServices/Front\ Row.app2.0 /System/Library/CoreServices/Front\ Row.app

And back to Front Row 1 again :

  • sudo mv /System/Library/CoreServices/Front\ Row.app /System/Library/CoreServices/Front\ Row.app2.0
  • sudo mv /System/Library/CoreServices/Front\ Row.app1.0 /System/Library/CoreServices/Front\ Row.app