Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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 ?

share|improve this question
up vote 5 down vote accepted

Edit the .desktop file in


Edit the exec line and add the arguments you need

share|improve this answer
Thanks, that works :) – Maxime R. May 10 '13 at 15:12
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. – Glutanimate May 10 '13 at 19:47

Your Answer


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.