If I move an app in Launchpad and then I "killall Dock" from the terminal, the Launchpad sometimes gets its previous configuration so my changes are lost. How can I restart the Dock without losing the Launchpad configuration?

  • Why do you restart Dock after changing the Launchpad configuration? – duci9y Aug 25 '12 at 15:28
  • I'm a developer and I'm wondering what to do if an user restarts the Dock (losing the Launchpad configuration) – user732274 Aug 25 '12 at 15:30
  • Though it’s pretty unlikely that a normal user would restart Dock randomly, you should know that Launchpad configuration isn’t written to disk as soon as changes are made. They are written to disk at certain intervals. – duci9y Aug 25 '12 at 16:09
  • Can I force those changes to be written to disk? – user732274 Aug 25 '12 at 16:12
  • To answer that I would like to know something. How exactly are you modifying the Launchpad? – duci9y Aug 25 '12 at 16:13

Something like osascript -e 'quit app "Dock"' might work. If not, you could also quit and reopen Dock by logging out and back in.

  • Yes, it should work since the Dock is not killed but properly stopped. I'll try that, thank you – user732274 Aug 26 '12 at 14:28

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .