Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I accidentally clicked Always open files of this type on a file I had downloaded and now I can't turn it off. There seems to be no option in the settings page, and files that are automatically opened don't appear in the download bar so there is no way to uncheck that option from there. Apparently, there used to be a button that would reset that setting, but it seems to have been removed as of version 33.

The <chrome root>/User Data/Default/Preferences file is a JSON file containing all Chrome settings. The following data can be found in it:

"download": {
   "extensions_to_open": "jpg",
}

I tried to solve the problem by removing the extension from the setting:

"download": {
   "extensions_to_open": "",
}

However, that didn't work. The setting was reverted to the original value shortly after. The same thing happened when I edited the file with Chrome closed, and with my Google account disconnected.

Is there any way to make Chrome stop opening files automatically?


<chrome root> refers to a path on the file system that varies depending on the opearting system.

  • In Windows

    C:\Users\<username>\AppData\Local\Google\Chrome\
    
  • In OS X

    ~/Library/Application Support/Google/Chrome/
    
  • In Linux

    ~/.config/google-chrome/
    

As pointed out, there really is a button to reset this flag. However, it does not appear in my settings page for some reason.

The button does not appear.

What could possibly be happening?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

You can clear the auto-opening settings in the Downloads section in the Chrome settings:

enter image description here

share|improve this answer
    
That's weird. My settings page does not have that button. I amended my question with a screenshot. What could be the problem? –  Matheus Moreira Mar 7 at 21:24
1  
@MatheusMoreira: Huh, that's weird. Are you logged into Chrome with a Google account to sync settings? I would recommend trying to make sure that all Chrome processes are shut down (even possible background ones) and then adjusting the preferences file again. Unless you're syncing settings with a Google account, I can't imagine why it would come back. Let me know if you find out anything –  Oliver Salzburg Mar 7 at 21:49
    
Yes, I'm logged into my Google account. At first, I tried closing down all Chrome windows and even signing out of Chrome, to no avail. I just restarted my computer for other reasons and sure enough, it was there. I suppose I forgot about the background process. Funny how "restarting the computer" never really crossed my mind. –  Matheus Moreira Mar 7 at 22:13
1  
@MatheusMoreira: Hey, I hardly ever reboot myself :) I'm glad you were able to solve it! –  Oliver Salzburg Mar 7 at 22:38

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.