How to launch google-chrome with custom parameters by default?

7,952

Edit the .desktop file in

/usr/share/applications/google-chrome.desktop

Edit the exec line and add the arguments you need

Share:
7,952

Related videos on Youtube

Maxime R.
Author by

Maxime R.

Updated on September 18, 2022

Comments

  • Maxime R.
    Maxime R. over 1 year

    I want to launch chrome and chromium from the unity launcher with the --purge-memory-button option.

    For chromium I was able to add the above parameter to /etc/chromium-browser/default but that's not an option for google-chrome.

    How do I do it for google-chrome ? Would an alias in my .bash_profile work ?

  • Glutanimate
    Glutanimate almost 11 years
    The .desktop file might get reverted on your next chrome update. So it might be a good idea to copy it to ~/.local/share/applications.