My main solution to this is that it's the other half's job to put the food in the bin
But all this washing powder stuff etc sounds like it's defeating the whole purpose of being ecological. Nothing better than maggots unfortunately. We have two bins for food waste and every so often put one of them down the back of the garden fully open after being emptied and let nature take it's course.