Mint Extract: If you favor neither the smell of citrus nor vanilla, you can perhaps use mint extract instead. Pour several drops of mint extract on a couple of cotton wools. Toss the cotton wools inside the confined space and leave them for a couple of days.
Don't be surprised that most the things that can remove the bad smell can easily be found in your kitchen. You can also use the combination of any of the tips below together to effectively remove any bad trash can smell. Try those tips and you will say goodbye to trash can smells forever.