Category ArchiveGeneral



General 06 Dec 2007 11:07 am

Fixing Home/End keys in OS X apps

There are a number of applications in OS X that don’t have ‘correct’ home/end key behavior. I expect it to go to the beginning of the line or end of the line like on most other operating systems.

To fix this, there are a couple places to go. First grab both these versions of KeyFixer, which patch base OS X (which it seems few apps grab their settings from), and Firefox specifically.

Thunderbird and all other Gecko/Mozilla based apps (nvu, komodo, etc) use the same method of doing keybindings as Firefox, but you’ll have to do it the manual way. Here are the steps:

  1. Open the application .app file with ‘Show Package Contents’
  2. Browse to Contents/MacOS/chrome/
  3. Make a backup copy of toolkit.jar, and also copy it to a working directory (like the Desktop for simplicity)
  4. Run ‘jar -xf toolkit.jar’ in that working directory - you should get a ‘content’ directory out
  5. Browse to content/global/
  6. Replace the file ‘platformHTMLBindings.xml’ with the version from the KeyFixer site
  7. Go back to the working directory (cd ../..) and run ‘jar -cf toolkit.jar content/’
  8. Copy the toolkit.jar from your working directory into the application directory (.app/Contents/MacOS/chrome). Your application must not be running for this step.
  9. Startup your application. If you see problems, you can always replace toolkit.jar with the backup you made.

For any of these Firefox/Mozilla/Gecko patches you make, you’ll have to redo it if you upgrade (even with the built-in autoupgrades), as the installer will overwrite the file.

I’ve had to tweak the settings within the Eclipse keybindings too, but at least theres a UI for that. iTerm and some other apps didn’t seem to be affected by the home/end-not-working affliction.

General 06 Dec 2007 09:52 am

QuickyFeed


Continue Reading »

General 04 Dec 2007 10:41 am

QuickyFeed


Continue Reading »

General 03 Dec 2007 11:59 pm

QuickyFeed


Continue Reading »

General 29 Aug 2007 09:52 pm

QuickyFeed

Yet more!


Continue Reading »

General 28 Aug 2007 04:42 pm

QuickyFeed

Like I said - there’s more. At least one more post like this tomorrow.


Continue Reading »

« Previous PageNext Page »