Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
add comment

1 Answer 1

up vote 3 down vote accepted

Edit the .desktop file in

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

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
1  
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
add comment

Your Answer

 
discard

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.