Changing "show-recents" to 0, for Dock with Terminal does change the code but doesn't apply it.

Hey there


I'm trying to make some scripts which I can execute on BigSur Macs to make installation time faster and one of the points I want to automate is removing show-recents.

I tried:

defaults write com.apple.Dock show-recents 0


When I check it with

defaults read com.apple.Dock

I can see that the value of "show-recents" changed to "0"

But in the Dock I can still see it.

I also tried

killall Dock

and restarting the device but to no prevail.


Thanks for the help!

Posted on Oct 20, 2021 2:35 AM

Reply

Similar questions

1 reply

Oct 25, 2021 7:03 AM in response to Römu

Römu wrote:

Hey there

I'm trying to make some scripts which I can execute on BigSur Macs to make installation time faster and one of the points I want to automate is removing show-recents.
I tried:
defaults write com.apple.Dock show-recents 0

When I check it with
defaults read com.apple.Dock
I can see that the value of "show-recents" changed to "0"
But in the Dock I can still see it.
I also tried
killall Dock
and restarting the device but to no prevail.

Thanks for the help!



To make what installation faster...?


I hardly see the correlation, maybe I am missing something. I have never heard of this...I do not have Recents in my Dock(?)



If you think this your way forward you can try —

defaults write com.apple.dock show-recents -bool FALSE && killall Dock


This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Changing "show-recents" to 0, for Dock with Terminal does change the code but doesn't apply it.

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.