indyrikki wrote:
@etresoft - Thanks for looking - I'm not super techy, but have basic understanding of terminal, so yes, it would be great to be able to get to the bottom of this, and may even help others out in the future, so let me know what you reckon. Cheers.
OK. In some cases, there is a Finder method to do things. Not in this case.
The first thing is that you have to find your configuration directory. Run the following command to obtain that path:
getconf DARWIN_USER_DIR
It will print something like, "/var/folders/8p/75lrr_8s2qzbn9hdj6h16nl80000gp/0/".
Next, you'll want to copy that path to your clipboard since you don't want to try to copy it by hand.
At this point, you could use the Finder if you want. You want to navigate to that folder. In the Terminal, that would be:
cd /var/folders/8p/75lrr_8s2qzbn9hdj6h16nl80000gp/0/
Or you can do Finder > Go > Go to Folder, and paste the path in there and click the "Go" button. This will open a new Finder window. Look for the folder "com.apple.dock.launchpad". That's the one you want.
Now, that's the location of the file. However, your problem likely stems from that folder changing on you. You'll have to locate that folder in your backup. It will be in /var/folder, but there is no way to know what the rest of it will be. It may be not the same as your current folder. If you can replace your current "com.apple.dock.launchpad" folder with your backed up version, then it might restore your settings.
But replacing these files while your system is running is tricky. It might work. You'll need to restart right away and hope it works, but it might not work. Ideally, you would log out of your current account and log in to a different administrator account. Then copy that folder from the backup to that specific folder using the other account. If your normal account is logged out, then there will be no running LaunchPad app to get confused. You could do this with the "sudo ditto" command or by copying in the Finder. If you use the Finder, you'll have to make sure to change the ownership back to the original account. When it comes to permissions, there is a lot to go wrong.