Archive for the ‘osx’ Category

Apple OSX – Wake on Lan

Monday, October 26th, 2009 |

So I “upgraded” my AppleTV (which have served me well for 2 years) to a new MacMini (kind of overkill, but hey one have to have fun).

After mocking around with for the whole weekend it is now working as it should, due to XBMC, and some scripts which stops iTunes from starting.

But as it’s sleeping when I’m not around, it would be nice to be able to wake it up when/if I need access it remotely.

If you like GUI’s there is WakeUp, if you like commandline there is wakelan.

Both work just nicely.

Now to make the thing sleep again, use AppleScript. Create a shell script with:

#!/bin/bash
osascript -e 'tell application "System Events" to sleep'

Bingo, you can now wakeup your sleeping Mac, and put it back to sleep.

technorati tags: , ,

(followup III) Leopard Annoyances I – Apache/PHP

Thursday, September 3rd, 2009 |

Back in February 2008 I wrote about my unhappyness about Apples inability to build a usefull PHP for Leopard (OSX 10.5), which forced more or less everyone who would be using PHP on Leopard to use a 3rd party build. And as far as I remember this was also the case with Tiger.

Now finally after years of waiting Apple have finally decided to compile PHP with GD (graphics manipulation library), enabled.

GD Support => enabled
GD Version => bundled (2.0.34 compatible)
GIF Read Support => enabled
GIF Create Support => enabled
JPEG Support => enabled
libJPEG Version => 6b
PNG Support => enabled
libPNG Version => 1.2.37
WBMP Support => enabled
XBM Support => enabled

One can say that Apple actually delivers, but why did it have to take years…..

technorati tags: , ,

OSX X11 Keyboard issues

Thursday, July 23rd, 2009 |

There is a small issue with the “default” keyboard setup in OSX X11 (Leopard), after having had this issue for some time I finally decided that I needed to have this fixed.

And found a post which pointed to “/usr/X11/share/X11/xkb” as being the issue, and yes after renaming it:

# sudo mv /usr/X11/share/X11/xkb /usr/X11/share/X11/xkb.orig

Everything is working…. grrr

technorati tags: , , ,

Computer Speakers…..

Saturday, January 10th, 2009 |

There are a few things I really do not like, some of them does not have to do with computers, and some of them does.

As a notebook use, with a frequent use of a external monitor, I’ve gotten around to live with the mess of cables on my desk, but on I cannot live with the scratch, boom noise when I plugin my external speakers (5 year old 2.1 system, which is working just fine – just ask the neighbors).

This means that I’ve been hunting high and low for some speakers which would work via either fiber (bloody expensive), or USB (also not cheap – until now – that is I’ve missed out on some things).

I was in the local MacShop yesterday to order a new Macbook Pro (more about that later), and asked if they knew of any USB speakers which where 1) ok’ish 2) working with OSX. And they pointed me in the direction of Logitech Z-5, but after some research I figured out that they do not come with a power supply (damn). They also mentioned Logitech Z-10 which officially are only supported with Microsoft Windows – dooh…

Well it turns out that the only thing which officially does not work with OSX is the info display on the right speaker (no you know – it’s the right one, and no it’s not mentioned in the documentation).

After a bit of research, I found a tool (LogitechLCDTool) which can show some information on the display, and the next step was to figure out how to switch from lineout to USB Audio…. AppleScript here we come.

If found this blog entry, which have a script which works, but as I do not need to switch back to lineout (disconnecting the speakers is enough), I modified the script to:

– snip –
tell application “/Applications/LogitechLCDTool.app” to activate

tell application “System Preferences”
activate
set current pane to pane “com.apple.preference.sound”
end tell

tell application “System Events”
tell application process “System Preferences”
tell tab group 1 of window “Sound”
click radio button “Output”
set selected of row 2 of table 1 of scroll area 1 to true
set deviceselected to “Z-10 USB Speaker”
end tell
end tell
end tell

tell application “System Preferences” to quit
– snip —

As you can see I also launch ‘LogitechLCDTool’ – less clicking around….

Just a small thing, due to some issues with OSX 10.5.x and iTunes 8.x you should have a look here and here

But back to the speakers them self, well as everyone says; they are good, the bad thing is the touch panel which is kind of crap… do a google and find a review or two….

technorati tags: , ,

First steps with an iPhone

Friday, April 4th, 2008 |

One of the most annoying things with the iPhone is that on have to pay through the nose to get an unlocked iPhone (current only Orange in France, and they charge €699 – afair), and Apple have an silly idea about programs on it – the SDK is a great idea, but I’m still to learn Objective-C (it makes my head in)…..

But getting an iPhone, there are a couple of things which needs to be done to make it usable for the “normal” population (the people who either does not want an AT&T subscription, or does not live in the US.

  • download ZiPhone from http://www.ziphone.org/ (choose either Windows or OSX)
  • run ziphone – the “Unlock, Jailbreak & Activate” option will fit most people. And it will allow people to use their own simcard (just what I wanted)

    At this point you will have a functional iPhone which can be used to with you own (old) simcard

  • use installer.app (Installer on the screeen) to install
    • “Boss Tool” to move your fonts from the root filesystem – you’ll need to restore the phone if it runs full (you do not want to do that).
    • “Community Sources”, which will add more installation sources, and yet even more applications

Next install the following to get some usability;

  • “Contacts | HomeScreen” which will allow you to access the Address Book without having to go though the Phone application
  • and even more programs which looks interesting…..

More to follow…

technorati tags: ,

(followup II) Leopard Annoyances I – Apache/PHP

Tuesday, February 12th, 2008 |

I wrote here about my happiness with Leopard (Apple OSX 10.5) and the implementation of PHP which they have put together.

Well Apple just released 10.5.2 (OSX 10.5 Update 2), and still there is no GD library in php, which means that it is still more or less useless to use for anything.

Let’s hope that they change that for 10.5.3…….

technorati tags: , ,

Garmin Support for OSX

Thursday, January 17th, 2008 |

I have been moaning about the missing support for OSX from Garmin. I as everyone else have been forced to use either a PC running Windows, or run Windows in a virtual machine to do anything with our GPS. MapSource is a great piece of software, but it is fortunately Windows only.

During MacWorld 2008 Garmin announced project Bobcat which more or less does what MapSource does, but on OSX.

I can only say; “thank you very much Garmin, sad that it had to take 2 years for you to get this far”.

Update
I just found out that Garmin also have a OSX specfic page here

technorati tags: , ,