Posted on 07-25-2021 02:01 PM
So I was having a hard time removing TV.app from the dock. Now before we start I know I could've used dockutil (which I've used in the past before) to make my life easier. However I didn't want to push any more 3rd apps unless I really needed to. I decided to use the built-in tools JAMF has to keep our deployment lean. I read a lot of post and found nothing relating to the TV.app itself.
Some Applications are found in /Applications (Music, Numbers) while other like TV.app is found in /System/Applications (Launchpad, Photos). So I kept on trying /System/Applications/TV.app and nothing happen, it didn't remove itself. I tried every thing I can think of and nada, it was putting up a hell of a fight. So I decide to dig into the app itself. I finally came across something interesting. If you open up this file: /System/Applications/TV.app/Contents/version.plist
You will find:
<string>TVDesktop</string>.
Now I haven't seen any mention of this any where before. I was like hmmmmmm let me try it, what do I have to lose. Besides the fact that I was running low on coffee and snacks. So I update the Dock Item to file://~/System/Applications/TVDesktop.app
What do you know, that pesky app finally gave up and disappeared from the Dock. I tell ya it put up a hell of a fight. I was about to give in and use dockutil but I held on strong. So if anyone is having an issue removing an item, dig into the version.plist and see if it has another name you can use and test.
I hope that this helps out anyone else running into a Dock items that doesn't want to be removed.
~L0$
Posted on 08-03-2021 11:44 AM
Hi @Wakko , wow how I wish that worked. I am fighting this same fight. But try as I might, I can't get Apple TV removed from a default dock, even using your tips. This is macOS Big Sur 11.5.1.
Posted on 08-03-2021 12:15 PM
I just N&P (Nuked & Paved) machine with a fresh install of macOS 11.5.1 this afternoon. Was recording the enrollment process to share with the team. It removed the TV app from the dock as expected. These are the setting I have and it worked as expected. LMK how I can help out.
~L0$
Posted on 12-09-2021 06:04 AM
Thank you @Wakko .. this was really helpful.
Posted on 12-09-2021 06:53 AM
Glad to help.
Posted on 06-29-2022 07:26 AM
@Wakko , This was perfect. Just a note, I did not think it mattered, but it did not work for me until I named the Dock Item "TV".
Posted on 08-08-2022 10:12 AM
@dmcnicholas1 hmmm I just ran it against macOS 12.Cinco and it worked just fine removing it. What I have noticed is that if a script doesn't finishing installing something that is needed on the dock. When it tries to re-render the dock it fails. Hopefully this helps. LMK. Glad to help!
Posted on 11-21-2022 05:35 AM
Same goes for me - I just renamed it to TV and it worked like a charm (macOS 13.0.1)
Posted on 09-20-2022 12:38 PM
I've tried all of these tips and none seem to work.
Posted on 09-20-2022 10:22 PM
Posted on 09-25-2022 02:37 PM
I'm currently using this on both macOS Big and macOS Monterey. I can confirm that is works on 11.7 & 12.6. I'm attaching dos screenshots for your reference. Hopefully this will help you out with your deployments. If they still don't work, then I agree with @syed_hyder in requesting screens for us to review as well.
~L0$
Posted on 04-04-2023 09:59 AM
Thank you!!
Posted on 09-03-2024 09:40 AM
Confirmed this still works. I had to rename the dock item to just "TV" for it to remove successfully.. very strange