Enabling Flash logs on Mac

This is mostly a note to myself, but I thought I would share anyway. If you’re on Mac, and if you want the Flash logs, here’s what you need to do.

  1. Create a new mm.cfg file in /Library/Application Support/Macromedia/
  2. Add the following to the newly created mm.cfg file:

  3. Find the log in /Users/username/Library/Preferences/Macromedia/Flash Player/Logs/flashlog.txt

For more info on mm.cfg secreta, see this awesome post from Jean-Philippe Auclair

JDK5 on Snow Leopard

Mac OS X Snow Leopard (10.6) comes with JDK6 but I needed JDK5 for some project. I thought it would be easy to find and install JDK5 on 10.6 but it wasn’t and I ended up spending much more time than I expected to search for JDK5. Here’s what you need to do:

1. Download JDK5 for Snow and Snow Leopard from here.
2. Unzip and copy to /System/Library/Frameworks/JavaVM.framework/Versions
3. Use “Java Preferences” app and move JDK5 to the top of the list.

LSColors on Mac

I find it very useful to see different colors for different kinds of files and folders when using the ls command in terminal. By default, there are no colors in Mac terminal:

Terminal without color

Fortunately, this can be changed easily. You need to add the following lines to your .profile file:

export CLICOLOR=1
export LSCOLORS=Gxfxcxdxbxegedabagacad

First line basically enables colors in the terminal, the second line determines what colors to use for what type of files/folders. There’s a nice little site that generates the LSCOLORS for you. After these changes, you have different colors for folders, executable files etc.

Terminal with color
Categories Mac