Pick of the Week - Nov 10 [Show all picks]
Path Finder 5 - A feature-laden Finder replacement
Submit Hint Search The Forums LinksStatsPollsFAQHeadlinesRSS
12,000 hints and counting!


Click here to return to the '10.5: Change the Finder's default Find window' hint
The following comments are owned by whomever posted them. This site is not responsible for what they say.
10.5: Change the Finder's default Find window
Authored by: hamarkus on Sun, Mar 9 2008 at 4:20AM PDT
I have noticed that my new .plist file has an extended attribute (indicated by the @ at the end of the permissions listing as seen by ls -all). Calling:
$ xattr -l default_smart.plist
com.apple.FinderInfo:
0000 2A 2A 2A 2A 48 64 72 61 00 00 00 00 00 00 00 00 ****Hdra........
0010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................

com.apple.TextEncoding: MACINTOSH;0

And in fact this .plist file has a file icon of the application I edited it with. I don't think the file icon really screws up things but the text encoding just might.

Trying to remove the extended attribute with:
$ xattr -d com.apple.FinderInfo default_smart.plist
No such xattr: com.apple.FinderInfo

That is strange.

[ Reply to This | # ]
sudo xattr -d works however
Authored by: hamarkus on Sun, Mar 9 2008 at 4:29AM PDT
I am still a bit surprised where it picked up the file encoding 'MACINTOSH:0', but removing it did not fix anything.

[ Reply to This | # ]
sudo xattr -d works however
Authored by: baltwo on Sun, Mar 9 2008 at 1:19PM PDT
I get:

$ xattr -l default_smart.plist
com.apple.TextEncoding: UTF-8;134217984

Additionally,

$ ls -el@ default_smart.plist
-rw-r--r--@ 1 me me 1456 Feb 29 19:46 default_smart.plist
com.apple.TextEncoding 15

I get nothing dealing with com.apple.FinderInfo or MACINTOSH;0

[ Reply to This | # ]
sudo xattr -d works however
Authored by: hamarkus on Sun, Mar 9 2008 at 1:44PM PDT
Just blame SubEthaEdit, it added the file icon and generally does funny stuff with file encodings.

[ Reply to This | # ]