Guns are not used as much in the desert, ditto with shields but this was the city of Arrakeen, the Sardauker were using guns, also Duncan used a shield till it was penetrated by a Maula pistol.
Even then there were various scenes of Harkonnens being ambushed by weapon wielding Firemen, not to...