1

I launched chromium with --disable-web-security, and now whenever I click on the launcher icon in Ubuntu 16.04, Chromium launches with this option.

How to remove this option, to launch Chromium normally again?

  • Really sorry, I was mess up with all my questions. I ened up editing the content of the .desktop file to enable web security thanks to your answer ! – Louis Jan 25 '17 at 13:47
2

Quick & short answer

Chromium obviously created a local .desktop file in ~/.local/share/applications, running Cromium with the option you mention (both Google-Chrome and Chromium are quite "productive" when it comes to producing local .desktop files).

Simple solution is to remove any local .desktop file(s) in ~/.local/share/applications, referring to Chromium (you don't need them if you didn't deliberately create them locally), log out and back in before running Chromium again.

Note

~/.local is a hidden folder by default. Press while in your home directory (in nautilus) Ctrl+H to make it visible.

Background information

Local .desktop files overrule global ones in /usr/share/applications. If applications produce local .desktop files in ~/.local/share/applications (some applications do), functionality may change, compared to the original one.

This obviously was the case in your situation.

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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