The orange peel thing was in reference to an earlier comic, as they can be used to repel gnats.  The gnat trap described in the comic works like a charm, though.  Another point is that dirt may be housing gnat eggs, so if you have any potted plants inside, beware!