I changed the Dock properties to show the “Remove from Dock” option for Finder and Trash (tutorial here).
But the Dock displays these icons in the Dock by default every time it is launched, so you have to use an AppleScript to click automatically this option in each icon’s menu.
Problem: this script is not “universal”, i.e. the “Remove from Dock” option, and even the name of the Trash changes in each language.
So I thought about creating a shell script that changes the Dock defaults
, but neither the Finder nor the Dock appear in the persistent-
categories…
How to delete these items?
1