How to remove chromium-browser settings from Ubuntu 14.04?

I have already gone through How do I completely uninstall Google Chrome and Chromium? and I'm really not getting why the solutions given there are not working for me.

What I'm doing is:

sudo apt-get purge chromium-browser  
rm -rf ~/.config/chromium  

Then reinstalling by running the following command:

sudo apt-get install chromium-browser 

This must remove the settings of chromium-browser and do a fresh installation. The browser is uninstalling, but after being installed it is containing the previous settings, moreover it's not signing me out of even Gmail!


Execute these commands in terminal :

sudo apt-get remove chromium --purge
rm -rf ~/.config/chromium
rm -rf ~/.cache/chromium
sudo rm -rf /etc/chromium

You don't need to uninstall/reinstall the browser.

To delete the settings for a given user, you must delete the config folder for that user (placed in its home, as a hidden folder, thus the . at the start of the name).

You may delete that folder using the terminal or you may open the home folder in Nautilus and press Ctrl+H to show the hidden files and folders, then delete the folder you want to delete as you would do with any other file.

This prevents you from using rm -rf variations in which a small typo can have serious consequences.