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 add a parameter to a software . How to add parameter to command line of software icon? I use ubuntu11.10. Thanks

share|improve this question
add comment

1 Answer 1

up vote 4 down vote accepted

What do you mean exactly? Do you want to add a parameter to the application behind the icon, so each time you run the application by clicking on the icon, the application is run along with the parameter? If that is what you mean, you should do as follows:

  1. Open a terminal
  2. Type alacarte, and press Enter. If alacarte hasn't been installed yet, you should first type sudo apt-get install alacarte and press Enter.
  3. Navigate to the application you want to add a parameter to, and click on Properties.
  4. Edit the third rule (the command line) to add a parameter. For example, if you want to use chromium in private mode each time it starts, change /usr/bin/chromium-browser %U to /usr/bin/chromium-browser %U --incognito (incognito is the parameter for private browsing in chromium).
  5. Click on Close, and click another time on Close in alacarte.
share|improve this answer
    
Thanks a lot ! This is what I want to know . –  waterloo2005 Jan 21 '12 at 16:10
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.