osx-logoThere is no default application to open the document “Desktop”.’

This message can often be attributed to the “bundle bit” having been set on a folder.

To unset it, try launching “/Applications” > “Utilitites” > “Terminal.app” and entering either of the commands below.

  • The first is more specific but requires the Developer / XCode Tools to have been installed (substitute the appropriate path to ‘SetFile’).
  • The second requires 10.5 and will remove other extended attributes such as Finder labels, but the “Desktop” folder doesn’t normally have any so that shouldn’t be a problem.

Terminal code 1: /Developer/Tools/SetFile -a b ~/Desktop

Terminal code 2: xattr -d com.apple.FinderInfo ~/Desktop