How to restore default Midori configuration/preferences

Asked by Shaawin Vsingam

I've tried removing midori using the command:

sudo apt-get --purge remove midori-granite

and installing it again.

However my prefrences still remain. Reason being , I've screwed around with alot of the prefrences and now I would like the default one back.

Question information

Language:
English Edit question
Status:
Solved
For:
elementary OS Edit question
Assignee:
No assignee Edit question
Solved by:
Cody Garver
Solved:
Last query:
Last reply:
Revision history for this message
Best Cody Garver (codygarver) said :
#1

rm -rf ~/.config/midori

Revision history for this message
Shaawin Vsingam (shaawin95) said :
#2

Using the command above it's made it like stock midori, not the elementary version. Theme looks different, buttons are different etc.

Elementary uses midori-granite and not just midori right?

Also in trying to remove the config file of midori earlier, i deleted the /etc/xdg/midori folder, maybe that's the issue now ?

Revision history for this message
Cris Dywan (kalikiana) said :
#3

Definitely reinstall the package, as in "sudo apt-get install --reinstall midori-granite" and as a rule of thumb, you shouldn't be modifying files outside of your user's home directory.

Indeed "rm ~/.config/midori" is the way to reset config and pick up Elementary defaults.

Revision history for this message
Cris Dywan (kalikiana) said :
#4

One more note: the above also purges bookmarks and history. Be sure to export bookmarks if needed.

Revision history for this message
Shaawin Vsingam (shaawin95) said :
#5

Ended up getting the /etc/xdg/midori folder from someone. That did it, but yes normally you would "rm ~/.config/midori". Thanks