Spring Fever: The best way to get rid of the trash can smell? Get rid of it from the source. Be more prudent with your waste materials. Put things away as soon as you're done using them. Throw things away as soon you know you won't use them. Everyday maintenance is the key to a breathable, livable home.
Baking soda: This is also a good absorbent. Put a generous amount of baking soda in an uncovered container (the size of the container depends on the size of the confined area) and leave it for several days. Remove the baking soda and replace it with new one and leave it for a couple of days. Continue replacing the baking soda until it has cleared the trash can smell.