I would like to not show the trash icon at the bottom of the Unity launcher.
Is this possible without having to recompile anything? :P
In the desktop interface, the Dash icon and the Trash icon use the top and bottom slots of the launcher, always. We have not allowed the removal of the Trash so that we can enable developers to trust that it will always be there, which means "drag to the trash" is always possible.
It might be worth considering relaxing the requirement that the trash always be on the bottom corner, allowing other icons to take that spot. A blueprint to that effect, discussing the consequences and solutions to issues that might arise, would be welcome.
Currently it's not possible. You should start a blueprint for this in Launchpad, so we can see it in future versions of Unity.
I have found a way to visually make the trash icon disappear. The icon will still spatially be there. Make backups of the icon image if desired.
sudo -H nautilus
.svgextension. Select the second largest version of the trash icon and open it with inkscape.
You should then see that the trash icon has visually disappeared and if you mouse over its usual location at the bottom of the launcher, a flag should pop up saying "Trash" or "Empty trash" as usual.