How could you distinguish between #CO_2# from #H_2S#?
Odour would be the best bet.
Hydrogen sulfide, which is poisonous in large enough concentrations (mind you, so is
Lead acetate paper is available commercially, and is used as a test for hydrogen sulfide, and gives a grey precipitate of lead sulfide. Carbon dioxide would fail this test.