Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

nate.rich

macrumors newbie
Original poster
Jun 5, 2011
9
0
I am new to using terminal, and I was trying to make a "recent applications stack" in the Dock. So I typed in this:


defaults write com.apple.dock persistent-others -array-add '{ "tile-data" = { "list-type" = 1; }; "tile-type" = "recents-tile"; }'

And then I typed in this

Killall Dock

But Now the Dock won't open back up, and I already had a widget on my desktop with the Hack where you can drag widgets onto your desktop so now My widget just keeps blinking in and out of my desktop.

What should I do, it could be great if someone could help me
 
Last edited:
The dock preference file is probably corrupted. Move ~/Library/Preferences/com.apple.dock.plist to the trash and kill the dock in terminal. This will reset the dock.
 
Jolly Jimmy
macrumors 6502a



Join Date: Dec 2007
The dock preference file is probably corrupted. Move ~/Library/Preferences/com.apple.dock.plist to the trash and kill the dock in terminal. This will reset the dock.
I did try to reboot, and it didn't work but i'll try moving that file. but I can't do kill Dock, because I tried, and I have no processess even related to dock. I tried to do

ps -ax | grep Dock

But NO processess showed up, SHOULD I STILL TRY IT?

And this probably sounds stupid. But What do I type in to move that file?
 
So will it work even if there are no Dock processess whatsoever? ANd I meant how do you meove the file in Terminal?
 
Honestly if I were you I'd stay out of the terminal for the moment. As you can see it's easy to mess things up. Just find the file in the finder, move it to the trash and reboot.
 
Hey I fixed it, here is what I did in Terminal.



Last login: Tue Feb 10 14:54:28 on console
nathan-richmans-macbook-2:~ nathanrichman$ mv ~/library/preferences/com.apple.dock.plist to ~/Desktop
mv: rename to to /Users/nathanrichman/Desktop/to: No such file or directory
nathan-richmans-macbook-2:~ nathanrichman$

I don't understand how it worked though.


And I have one more question, why couldn't I find that file in finder. Is it because it was a hidden file?
 
I don't know how it worked either because that mess you typed into the terminal would have done nothing.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.