Items appear in Dock

macboy
Contributor

I am having a difficult time trying to find where iBooks and Maps keeps appearing in the dock of managed machines. I created a dock, captured through composer, delivered to machines with Fill User Directory and Existing directory checked. I push this to machines. The dock looks as expected with the exception of it keeps putting iBooks and Maps on the end of the dock items. I checked all plist files (in the Library for defaults and through my package) and iBooks and Maps is no where in them. However, when I look at the logged in user after imaging it is n the plist file. I have looked and no one has them being pushed through a policy or configuration, etc. Any ideas?

8 REPLIES 8

bentoms
Esteemed Contributor
Esteemed Contributor
#!/bin/bash
rm -rf /Library/Preferences/com.apple.dockfixup.plist

macboy
Contributor

So run that as script during imaging time?

bentoms
Esteemed Contributor
Esteemed Contributor

Yep. Give it a test.

nessts
Valued Contributor II

or you could edit that plist and make it put things you want in the order you want, but apple can update that with an OS X update so be prepared to either continue to maintain it or remove it.

nessts
Valued Contributor II

gosh @bentoms are you sure you should be promoting the use of bash scripts, should that be csh, tcsh, ksh or zsh LOL

macboy
Contributor

Thanks. I will test that.

bentoms
Esteemed Contributor
Esteemed Contributor

@nessts, the only safe computer is an off computer.

nessts
Valued Contributor II

well if you're going to get all logical then so be it. :)