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?
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
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
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.
~/.local is a hidden folder by default. Press while in your home directory (in nautilus) Ctrl+H to make it visible.
.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.