Coffee: Ground coffee has a nice, crisp natural aroma. Just put about a cup of ground coffee in a flat, uncovered container. Place the container inside the confined space for several days. If the bad smell is extremely horrible, put more ground coffee. The area will smell of fresh coffee for many days.
This may all seem anal and tiring, but if you really want to avoid your home smelling like a dumpster, then you better shape up and not throw your trash all around as if your home is a dumpster. Be responsible of your trash for your own sake, or don't be and suffer the consequences.