Atomic total electron-capture cross sections from C-, O-, F-, and S-bearing molecular gases for ~MeV/u H+ and He+ projectiles.