I want to launch Chromium browser with the --no-referrers
switch, which was mentioned on this site. However, I'm not sure how to do that.
Normally, I use the Dash to launch Chromium, how do I add the switch to block the referrers?
Thanks.
I want to launch Chromium browser with the --no-referrers
switch, which was mentioned on this site. However, I'm not sure how to do that.
Normally, I use the Dash to launch Chromium, how do I add the switch to block the referrers?
Thanks.
You need to edit the chromium-browser.desktop
file a bit, but best practice is to edit a local copy of it in ~/.local/share/applications
.
Copy the global chromium-browser.desktop
from /usr/share/applications
to ~/.local/share/applications
cp /usr/share/applications/chromium-browser.desktop ~/.local/share/applications
Open the file:
gedit ~/.local/share/applications/chromium-browser.desktop
Look for the first line, starting with
Exec=
Change it to:
Exec=chromium-browser --no-referrers
Save the file and log out/in to make Dash change its focus from the global chromium-browser.desktop
file to the local one.
Maybe even better would be to set the option as a shortcut to your launcher. To do that:
Open the file (local copy, as described above) look for the line:
Actions=NewWindow;Incognito;TempProfile;
Change it into:
Actions=NewWindow;Incognito;TempProfile;No referrers;
At the very end of the file, add a section:
[Desktop Action No referrers]
Name=No referrers
Exec=chromium-browser --no-referrers
OnlyShowIn=Unity;
Then you'll have the option available as a shortcut, while you still can run `Chromium the "usual way".
(As said, after log out/in)
Open the application "Terminal" like you'd open chromium-browser
and type chromium-browser --no-referrers
and hit Enter. Use chromium and after you closed it, wait a little and close the terminal.
Download this. It is a program called Main Menu that lets you make launchers with custom commands. Create a new launcher and tell it to run the command chromium-browser --no-referrers
. You can find a chromium logo on google and set it as the icon if you want. PS: To get the new launcher on the sidebar, search for it using the super (windows) key and drag it to the launcher.