I enabled some experimental features in Chrome (using the about:flags page), and I'm trying to reinstall it completely (since it has begun to malfunction in various ways - for example, flash applets and extensions are no longer working.) Is there any way to completely reset Google Chrome on Ubuntu, so that all default settings are restored?
- 2,261
- 6
- 24
- 36
-
In general, what process should be followed for completely reinstalling an application on Ubuntu? – Anderson Green Feb 04 '13 at 23:21
-
I found a duplicate question, but it doesn't have any useful answers yet: http://askubuntu.com/questions/225811/how-to-reinstall-google-chrome – Anderson Green Feb 04 '13 at 23:25
-
you might also go to Settings, create and edit a new user, than delete the old one (http://askubuntu.com/a/231014/47206) – Feb 04 '13 at 23:47
-
Another duplicate (which actually solved my problem!): http://askubuntu.com/questions/82186/how-do-i-completely-uninstall-google-chrome-and-chromium – Anderson Green Feb 04 '13 at 23:53
-
maybe resetting settings is not a duplicate of reinstalling, although the user agreed to reinstalling – Feb 04 '13 at 23:54
-
By the way, people may like to "star" this bug which asks for a convenient way to reset `about-flags`: [ Issue 139307: Provide a way to reset all chrome://flags/ to factory settings](https://code.google.com/p/chromium/issues/detail?id=139307). – Feb 05 '13 at 01:21
3 Answers
A general answer to that can be found in the link below, this should be closed as duplicate.
What is the correct way to completely remove an application?
Basically
apt-get purge package
apt-get install package
-
For the command `sudo apt-get purge google-chrome`, I got the following error: `Virtual packages like 'google-chrome' can't be removed`. – Anderson Green Feb 04 '13 at 23:29
-
2have you tried to use the auto-completion? In my case I have to say `apt-get purge google-chrome-stable`. I assume you are using [this](http://www.ubuntuupdates.org/ppa/google_chrome) ppa. There is no package called google-chrome – LeoR Feb 04 '13 at 23:33
-
I ran the command `sudo apt-get purge google-chrome-stable`, and then reinstalled Chrome, but all of my settings were still the same after reinstallation. What I really need to do is to remove all the configuration files for Google Chrome, since they were apparently not removed. – Anderson Green Feb 04 '13 at 23:49
-
@AndersonGreen Yes, as (I) mentioned in the answer to the question linked here, it won't remove any user-level configuration changes. See the [other answer](http://askubuntu.com/a/251430/88802) of cipricus - that should work. – gertvdijk Feb 05 '13 at 00:03
-
@gertvdijk you're right, I misinterpreted the question. [at]AndersonGreen it would be helpful for later visitors if you could change the accepted question from mine to the answer of cipricus, which, together with the comment of gertvdijk, would be the correct approach. – LeoR Feb 05 '13 at 00:26
I think this works without removing all the program. Create new profile (User) like this.
Than delete the old/default one.

-
7Alternatively, remove `/home/username/.config/google-chrome` recursively (e.g. `rm -rf ~/.config/google-chrome`) to remove *all* of the configuration files. (in case Chrome isn't even starting up anymore to perform the steps in the answer) – gertvdijk Feb 05 '13 at 00:04
-
`rm -rf ~/.config/chromium` for fixing chromium! Chromium just keep loading on Ubuntu after sync up with google account. This command save my ass. – Robert Apr 17 '14 at 03:21
That was interesting! After a routine updating in Ubuntu 14.04, Chrome would only try to start showing the first window, and after a few seconds would just disappear. I opened xfe in superuser mode (sudo xfe) and I went to the home/user/.config and searched for the file corresponding to google, (google-chrome). Changed the name of that file, (just in case I needed it again), and magically, now Chrome has no problem running. Chrome managed to reconstruct the google-chrome, end even kept my bookmarks, etc.
- 1