Trade unions and other civil society groups announced plans for a silent demonstration outside the Tunis museum where 20 foreigners and at least one Tunisian died in Wednesday’s assault.
The authorities said the two dead gunmen had been identified and other suspects had been rounded up.
“The security forces were able to arrest four people directly linked to the (terrorist) operation and five suspected of having ties to the cell,” the president’s office said in a statement.
As international outrage grew over the worst post-revolution attack in the birthplace of the Arab Spring, President Beji Caid Essebsi vowed to fight extremists “without mercy to our last breath”.
The leader of the Islamist opposition party Ennahda, Rached Ghannouchi, said he was convinced that “the Tunisian people will stay united in the face of barbarity”.
The media also called for solidarity, with newspaper La Presse appealing for “total unity and a sense of responsibility shared by all”.
No group has claimed the attack by gunmen in military uniforms who opened fire at visitors as they got off a bus and then chased them inside the museum.
The dead included three Japanese, two Spaniards, a Colombian, an Australian, a British woman, a Belgian woman, two French, a Pole and an Italian, Health Minister Said Aidi said.
He said a policeman was also killed but did not mention a second Tunisian victim initially reported by the authorities.
Dozens more people were wounded in the assault, in a massive blow to Tunisia’s heavily tourism-dependent economy.
At least two major cruise ship operators suspended stopovers in Tunis following the attack.
After cowering in fear in the museum during the night, two Spanish tourists were discovered alive and well, officials said.
In a show of defiance, the government said the National Bardo Museum would reopen early next week.
– ‘Gunmen named’ –
Prime Minister Habib Essid named the two gunmen killed by security forces as Yassine Abidi and Hatem Khachnaoui.
But “for the moment we cannot say if they belong to one or another terrorist organisation,” he told RTL French radio.
He said Abidi was known to the police.
Tunisia has seen an upsurge in Islamist extremism since the 2011 revolution that ousted longtime strongman Zine El Abidine Ben Ali and sparked the Arab Spring uprisings around the region.
The museum assailants were “probably” Tunisian, the interior ministry said.
The authorities gave no further details about the attackers but had said on Wednesday that two or three accomplices could be at large.
Nine of the slain tourists were from the MSC Spendida cruise ship, whose owners said a special psychologist unit had been set up for passengers.
MSC Cruises and Italian operator Costa Crociere said they would divert cruise ships which had been due to berth in Tunis.
The attack appeared to be the worst on foreigners in Tunisia since an Al-Qaeda suicide bombing of a synagogue killed 21 people on the island of Djerba in 2002.
It was also the first time civilians have been targeted since the revolution.
– ‘Wanton violence’ –
The assault sparked outrage, with hundreds of people gathering late Wednesday in a major thoroughfare of the capital, singing the national anthem and shouting slogans against the attackers, labelling them terrorists.
US Secretary of State John Kerry denounced the “wanton violence”.
British Prime Minister David Cameron said he was “appalled” by the attack and French President Francois Hollande expressed “solidarity”.
A Japanese survivor described how she and her mother were shot in the hail of bullets.
“I was crouching down with my arms over my head, but I was shot in the ear, hand and neck,” 35-year-old Noriko Yuki said from her hospital bed in comments aired by Japanese broadcaster NHK.
“My mother beside me was shot in the neck.”
– ‘Run! Run!’ –
Museum employee Dhouha Belhaj Alaya said she heard “intense gunfire” around noon.
“My co-workers were screaming ‘Run! Run! Shots are being fired!'” she told AFP. “We escaped out the back door with co-workers and some tourists.”
Tunisia has taken pride in forming a democratic government and achieving stability since the Arab Spring — in marked contrast to countries such as Egypt and Libya.
But dozens of police and military personnel have been killed or wounded in attacks blamed on Islamist militants.
An army offensive against jihadists linked to Al Qaeda in the Islamic Maghreb has been under way since 2012.
The country is also fighting against the radicalisation of Muslim youth. Authorities say as many as 3,000 Tunisians have gone to Iraq, Syria and Libya to fight in jihadist ranks, including with the Islamic State group.
About 500 jihadists are believed to have since returned home.