Reverting to the default icon of the Trash bin
Solution 1:
when the trash icon is changed by right clicking it, Properties and clicking on icon,
the path of this newly selected icon will be saved in ~/.config/nautilus/desktop-metadata
when the icon was not changed, some of the content in this file is
[trash]
nautilus-icon-position-timestamp=1551022571
nautilus-icon-position=56,146
icon-scale=1
for example:
I have changed the trash-icon by right clicking... then the content of above mentioned file changed to
[trash]
nautilus-icon-position-timestamp=1551022571
nautilus-icon-position=56,146
icon-scale=1
custom-icon=file:///home/pratap/Pictures/Screenshot%20from%202019-02-24%2021-09-32.png
to revert the changes..
the below line need to be deleted from the file ~/.config/nautilus/desktop-metadata
custom-icon=file:///home/pratap/Pictures/Screenshot%20from%202019-02-24%2021-09-32.png
to delete the line and save the changes..run the below command, edit and save the file.
sudo -H gedit ~/.config/nautilus/desktop-metadata
Now logout and login to see the change..