Category Uncategorized

Open With… Menu shows Duplicates.


01/03/2008: This article was written for Tiger. But I’ve added the new terminal command for Leopard below. Remember use this information at your own risk!

Mac OS X Tiger’s LogoI install a good amount of Apps each week. Which means I get a lot of clutter. One of the tool’s I’ve used since I have been on the Mac is AppZapper. It great for uninstalling all the lame preference files that don’t get removed when you drag an App to the trash. This reduces the worries of worry about having a bunch of crud all over you hard drive.

The dilemma I had was when Apps update themselves. I’m a web developer/design student. Being such I’m always installing and updating different browsers to do testing. I also have multiple programs for editing html and/or other markup/programming languages. So I noticed the problem this week when right-clicking an html file and finding that I have a bunch of options.
Screenshot of “Open with” menu

Now, I like having a bunch of options, but why do I have the same App listed multiple times? It is because a lot of Mac Apps update themselves by downloading the new .app file, then putting the old .app file to the trash, and then placing the new .app file into the Applications folder. Apparently doing this will cause the updated version of the App to get added to file association list again which causes you seeing the same App twice in the “Open with” contextual menu. At least that is what my assumption is…


So what’s the solution? It appears to be a long command in the terminal.

Tiger Terminal Solution

/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user

Right-click and choose Save as to Download text file of code for Tiger.

Leopard Terminal Solution

/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -kill -r -domain local -domain system -domain user

Right-click and choose Save as to Download text file of code for Leopard.

Here is what it looks like in the terminal. Screenshot of Terminal The terminal doesn’t give you any sort of feedback so to test just right-click an item and see if the problem as been fixed. I was happy to see it didn’t require a restart.
Screenshot of TerminalI was able to find the information in a post called How to rebuild the LaunchServices database from the Mac OS X hints website. The article details what the command does as well as the commands options are. I’ve only tested this on an Intel Macbook running Mac OS X.4 Tiger, so I can not vouch for other systems. If the only problem you are having is that Apps that are no longer installed are still showing up in the “Open with” contextual menu then try this tip from I tried this before I tried the terminal command and it didn”t work for the duplicated apps.

Andy Budd: Seven years later and we’re still waiting for CSS3.

“This begs the question, what went wrong?”…

read more | digg story

Digg This: 09-f9-11…

From Kevin Rose:

But now, after seeing hundreds of stories and reading thousands of comments, you’ve made it clear. You’d rather see Digg go down fighting than bow down to a bigger company. We hear you, and effective immediately we won’t delete stories or comments containing the code and will deal with whatever the consequences might be.



How to Properly Clean a Mighty Mouse.

I recently had a problem with my scroll ball on my wireless mighty mouse. I couldn’t scroll down so I did a google search to see if others were having this problem and I found an apple support page that describes how to properly clean the scroll ball. This page also links to a video which shows how to do this. This is pretty obvious, but I’d thought I’d post it anyways.

The method described by apple’s support page did work for me, but I think it is very annoying that after most of us have made the transition away from ball mice to optical or laser mice Apple brings out a scroll wheel that is a BALL, so now I stuck cleaning out the scroll ball.

I do like the mouse and the main reason I bought it was that it is nice to have a bluetooth mouse that I can pack along with my macbook. I know their are others, but this seemed like the best choice for me. I wish the Logitech MX Revolution was made in bluetooth, I’d love to have that mouse. They do make the Logitech V270 Cordless Optical Notebook Mouse for Bluetooth , but it isn’t nearly as feature rich as the mx rev, and not as sleek as the mighty mouse.

I really do like the mouse though, the 360 scroll ball is great for Google Earth, Photoshop, iMovie. One thing I really like about the mouse is the fourth ‘button’—the one that you squeeze. I have set this button up that if I squeeze it, I get Exposé, F9, that shows all the open windows. I’ve added modifier keys to this so if I hold down the cmd key instead I get the show desktop function of Exposé. The opt plus the fourth button will activate Exposé’s show all window from the particular app your working in, F10. And lastly if I hold down the opt and the cmd keys it will activate the Dashboard, F12.

Broken Scroll Ball Update

10/12/07: About two months after I wrote this post my scroll ball died. I went to the Genius Bar and they tried to clean it, but nothing worked so they gave me a new one. Three months later the same thing happened with the new mouse. So now I’m on my third Mighty Mouse. The guys at the Genius Bar said they haven’t seen this problem before, so I’m not sure why the scroll ball keeps breaking. My best guess would be, because I have sweaty-ish hands…

Now even though it sucks that I’m on my third mouse I have admit that Apple’s service has been great. Both times I was at the Genius Bar, it only took five minutes to get a new mouse. The best thing about the exchange is that when ever I get a new mouse it comes with a brand new warranty. Most companies only honor the product until the initial year is finished. i.e. If you exchange the product after eight months of ownership most companies will only cover the new product for an additional four months. The only time they deviate from this is when your warranty has less than 90 days left, then by default they usually always give you 90 days. Apple gives you a full one year, even if you had the product for 364 days. Now I’m pretty sure they don’t do this with computers, but I always buy AppleCare.

How To: DIY $10 Macro Photo Studio

Great article on how to make a small macro photography studio for only a few dollars out of household materials. Read more on the Strobist Blog

example of lightbox

July 4th = Fool’s Day?

I was browsing around the iTMS looking for some free music since it is free music Tuesday. When I look up I see MC HAMMER. Of coarse I have to click it because I’m like “what? He has a new album out?”. I thought it was a joke. So I follow the link thinking ok maybe this is some greatest hits album or maybe just one single that he did for whatever reason, but NO he has a new album out released today with 18 tracks. It is called Look Look Look. Even the cover art looks ridiculous. Now what is funny is that check and they aren’t even selling it. I also check and neither are they.

Well have a laugh and check it out for yourself by clicking the image above.

Unbrand America

Unbrand America – Adbusters

How Hot is the MacBook?

After computer has been on for three hours, while streaming iTunes music, and working in Pages, terminal, Firefox, and other apps. I will measure different parts of the MacBook with an infrared gun. I think the results are good. (specs: 2.0ghz core duo, 2gb ram, 80gb drive)

Yes I misspelled acceptable, I made this video in about five minutes.

Mooshi Sae

Newly adopted cat, still deciding if we are going to keep her, it depends if she likes our other cats. Posted by Picasa

Coffee cat! So cute.