How to restore default Midori configuration/preferences

Asked by Shaawin Vsingam on 2013-05-16

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:
2013-05-17
Last query:
2013-05-17
Last reply:
2013-05-16
Best Cody Garver (codygarver) said : #1

rm -rf ~/.config/midori

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 ?

Christian 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.

Christian Dywan (kalikiana) said : #4

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

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