The protests were mostly peaceful but scuffles broke out in the capital Algiers between police and protesters near the presidential palace, witnesses said.