We do keep a fair amount of fruits and veggies in the kitchen and gnats can be a nuisance. One tidbit I picked up on the web last year is to pour a little vinegar in the kitchen sink at the end of the day, just before bedtime or anytime the sink is not going to be used for a while. The next morning, virtually all gnats are gone.