Why did Tunisia transition peacefully in the wake of the Arab Spring?

one hardly needs to hide the djanbia and it used not even to be unusual to have a spot to put the kalash at the café.

this very much because the gendarmie and the army openly refused the orders to use violence against protests, leaving him only with the more narrow special police and guards.

The ousted government doesn’t appear to have been totalitarian enough to sideline civil society groups, who were able to plan for a process of transition. I suspect the prominent position of a woman in that group might have had something to do with it, too:

http://www.theguardian.com/world/2015/oct/09/tunisian-national-dialogue-quartet-wins-2015-nobel-peace-prize

You are confused and have not understood correctly.

This award of the prize is for the Quartet that negotiated the coalition that replaced the interim government avoiding the political crisis at the end of the transition period.

It is not the Revolution that overthrew the regime Ben ali. It is the following transition and is not in any way about totalitarianism, but the compromise of the parties later.

I am sad to say that the regime Ben ali had many women in it, for as we say in arabe, beni adam beni adam - people are people, and it is not one sex that has a better morality. Indeed the regime Ben Ali had a great deal of praise for its “progressive” face with promotion of women.
Like the secularism worn as a convenient veil… a partially good policy was used to deceive.
the exploitation of the western fetish about the muslim women and the stereotype image as if we are all in the Saudi conditions let Ben ali sell sell himself to the westerners very well, for all the promotion was corrupt and benefited most the cronies whether it was a direct corrupted or as a wife of a corrupted

I can add that the Guardian has very badly discussed this.
This paragraph makes it sound as if the Tunisia was in a condition like Egypt

that is false.
The Ennahda led government that won the first interim election was always in a coalition government in the parliament with two of the secular parties (indeed the president of the government was Marzouki, a hard leftist secularist) and while it made many errors and was often too arrogant, it was never behaving in a way like the stupid clumsy Ikhouane government of the Egypt.
I give credit as well to the centrist of the Ennahda party who refused the Ikhouane tendency that wanted to take their path.
But they must (along with Marzouki’s party) bear great responsibility for allowing the emptying of the prisons after the revolution and letting out the takfiri salafistes. They had sympathy for the political imprisoned, but they ignored the real threat of the violent takfiri.