I want to add a parameter to a software . How to add parameter to command line of software icon? I use ubuntu11.10. Thanks
1 Answer
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:
- Open a terminal
- Type
alacarte
, and press Enter. Ifalacarte
hasn't been installed yet, you should first typesudo apt-get install alacarte
and press Enter. - Navigate to the application you want to add a parameter to, and click on Properties.
- 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 inchromium
). - Click on Close, and click another time on Close in
alacarte
.