When emptying the trash in my cans, I always sprinkle carpet deodorizer in my new trash bags and in the bottom of my cans to help keep them smelling fresh. Make the whole room smell great. I also do this to my ashtrays and not only does it keep the smoke odors down but also helps keep the nicotine from sticking to the bottoms of the ashtrays. I also place small containers with small amounts of the freshener in places that are not visible to help keep the house smelling fresh.
This page contains the following solutions.
To make cleaning your trash cans easier put them (emptied of bags) out on the porch when it is misting or raining, being sure to flip them over at some point.
Hose your trash and kitchen garbage cans outside and put dish soap in and scrub with a sponge and let it air dry outside. Then spray with disinfectant.