Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to add launch parameter to Google Chrome on Mac? [closed]

I wanna run Chrome on Mac with the parameter --enable-speech-input.

Can anyone tell me the steps to do this and the steps to undo this? (If one day I wanna run Chrome without the launch parameter)

like image 331
weilou Avatar asked Feb 16 '11 15:02

weilou


People also ask

How do I launch Chrome from terminal Mac?

Type "chrome" without quotation marks to run Chrome from the terminal. Chrome is installed in your binary path, so no special directory is required.

How do I get Google to open automatically on my Mac?

If that does not apply to you, go into Apple menu -> System preferences -> Accounts and select your startup account. Startup Items are listed there. The solution for me was to right-click (or control-left-click) the Chrome icon in the dock, select "Options", and make sure "Open at Login" is deselected.


1 Answers

Run Terminal.app then use the following command:

open /Applications/Google\ Chrome.app --args --enable-speech-input 

This will launch it once using your parameter. From there you could make an alias to make it easier to launch from the terminal or write an AppleScript to make it double clickable.

Find more information here.

like image 154
bb121622 Avatar answered Sep 20 '22 02:09

bb121622