Archive

Posts Tagged ‘osx’

Fixing ‘End’ & ‘Home’ keys in Eclipse/Flex/FlashBuilder on OSX

February 19th, 2010

If like me you’ve come from (or still work a lot in) a standard PC environment, you may be used to using the ‘end’ and ‘home’ keys to jump to the start or end of a line when editing text. However by default on a Mac this will jump to the start or end of the entire file, making for lots of infuriating moments when you hit ‘home’ and completely loose the place you are editing.

There’s a fix available here : KeyFixer that fixes this in most standard OSX apps and works great, but it doesn’t fix it for Eclipse which has its own internal bindings.

By default though Eclipse is even odder and has the home/end bound to ‘apple’ + left/right, which if you’re using a modern OSX will instead change spaces, even more infuriating!

So to fix this, simply open Eclipse and go into ‘preferences->general->keys’, then find ‘Line Start’ & ‘Line End’ and in the ‘binding’ area change them to the home/end keys & hit apply, problem fixed!

(You might also want to change the ’select line start/end’ & ’select text start/end’ while you’re there.)

oldskool73 apple, hints & tips , , , , ,

Fixing dsdt.dsl for IP35 pro

November 3rd, 2009

If you try to edit a dsdt.dsl generated for an IP35 pro (to fix the cmos reset issue on Snow Leopard for instance), you may get an error when you try to recompile it something like…

5824:                         Store (GAHS (Zero), Local6)
Error    4060 -           Called method returns no value ^

This prevents you recompiling a useable dsdt.aml. The fix is to return a value from the GAHS method. Search for ‘GAHS’ and you will find a function that should look like this…

Method (GAHS, 1, NotSerialized)
    {
    }

and change it to…

Method (GAHS, 1, NotSerialized)
    {
	Return (0x1)
    }

…and you should be good to go.

NOTE: This issue may not be exclusive to the IP35 Pro, but I did find several others with the same Mobo & issues in my Googling for a solution. Not sure either if 0×1 is the correct return value, or if it even matters, but it does fix the compile error and seems to work fine on my system. YMMV

oldskool73 apple, hints & tips , , , ,