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.
Lemon or Lime Peels: Just put some lemon or lime peels into an uncovered container and leave them inside the confined area for a couple of days. The citrus smell will naturally replace the bad trash can smell.