Trash Can Smell Masking : If you can't beat them, hide them; that's the whole idea behind perfumes and some such products, isn't it? The methods below basically mask the smell with another more powerful odor rather than remove the smell, so you should be sure you are going to be happy with the result.
Pandan Leaf: It is easy to get pandan leaf in tropical countries as it is widely used in Southeast Asian cooking to add aroma to dishes. Its pleasant aroma also acts as natural air freshener. Just take a few strips of the pandan leaves and tie them into knots. Place the leaves inside the confined space and leave them until the leaves are withered or dried up. Replace the leaves regularly until the trash can smell goes away.