This has happened to me more than once: hands full of garlic and onion skins or browned banana peels and no way to open the trash can. Here’s where lids and pedals make all the difference.