Solutions to two OS X problems



If this problem and solution is already published elsewhere,
please let me know where.

#1 - I logged in and saw my Dock full of question marks.
I was able to guess the reason due to having earlier solved #2
Solution:

In an editor that won't freak out at the mere sight of UTF-8,
open ~/Library/Preferences/com.apple.dock.plist

Remove the _CFURLAliasData sections (in the following
illustration, they have bars ADDED in front of each
line to be removed)

<key>tile-data</key>
<dict>
<key>file-data</key>
<dict>
| <key>_CFURLAliasData</key>
| <data>
| AAAAAAC2AAMAAQAAh+bIAAAASCsAAAAAAAAD
| XgBZKtUAALubCwwAAAAACSD//gAAAAAAAAAA
| /////wABAAQAAANeAA4ALgAWAFMAeQBzAHQA
| ZQBtACAAUAByAGUAZgBlAHIAZQBuAGMAZQBz
| AC4AYQBwAHAADwAMAAUATwBTAFgALQBhABIA
| I0FwcGxpY2F0aW9ucy9TeXN0ZW0gUHJlZmVy
| ZW5jZXMuYXBwAAATAAEvAP//AAA=
| </data>
<key>_CFURLString</key>
<string>/Applications/System Preferences.app</string>
<key>_CFURLStringType</key>
<integer>0</integer>
</dict>
<key>file-label</key>
<string>System Preferences</string>

Logout and back in.

Explanation: When you drag an item to the dock, it creates an
encoding of an HFS alias in the prefs. This alias is of the
type that contains the ID of the target so that you can move
the target without breaking the alias. However, there is a
kind of moving that breaks it anyway--when the item is on a
local disk, and you move your _login_ to a different machine.
Now, even though the PATH is the same, it's actually an identical
copy of the item but all the alias knows is that it's not the
physical _same_ item. But with the alias removed, the Dock uses
the path and is happy.

(The reason I have identical copies is that NFS refuses to
mount the particular directories the items are in.)

#2 - Spinning pizza at login: Finder never finishes coming up.

ONE possible reason: Last time you logged in on a different
host to the same account, you used an executable or file that
was on a local disk. The recent items list has the same sort
of aliases mentioned in #1

Solution:
reboot, then get in some other way (admin account+sudo, ssh
login to the other machine, etc. Anything other than what
you just did, since that obviously doesn't work.)

In <account>/Library/Preferences/com.apple.finder.plist,
remove aliases as above. Or remove the entire item(s), the
dict containing the _CFURLAliasData, _CFURLString, and
_CFURLStringType

--
Wes Groleau

You're all individuals!
Yes, we're all individuals!
You're all different!
Yes, we are all different!
I'm not!

("Life of Brian")

.



Relevant Pages

  • Re: Bend Word To Your Will disappears from the Dock
    ... I actually don't restart my iBook very ... drag the document icon from a Finder window down to the Dock, ... I don't make an alias first and then put that in the ... > A Dock icon with a question mark normally indicates that the Finder has lost ...
    (microsoft.public.mac.office.word)
  • Re: newbie question: alias for a login name
    ... I have complicated login name for ex. ... I tried "alias gh93ldsk name" but it didn't work. ... If you use a web browser, ...
    (comp.unix.shell)
  • Re: Admin Username
    ... user changed the login name for the admin. ... > send e-mail directly to this alias. ... >> rights. ...
    (microsoft.public.win2000.general)
  • Exchange + POP3 = which is the right login/password ?! HELP !
    ... name: Egg ... login: MaxHead ... alias: MaxHead ...
    (microsoft.public.exchange.misc)
  • Re: garageband loads on bootup
    ... Choose Accounts from the View menu. ... Right/ctrl-click Garageband in the dock ... Open at login is not selected, although GB is on the dock. ...
    (comp.sys.mac.advocacy)