You forgot hydrogen peroxide or using a layer of perlite or sand on top of the soil jondaman. Hydrogen peroxide wont kill the larvae but it will hold off your gnats for a bit. I noticed a couple of gnats in my soil once and I let the soil dry for four days and that took care of it. If you have a major infestation, however, you will need more than dry soil to keep them from returning