Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

altjx

macrumors member
Original poster
May 12, 2010
87
2
I'd like to always start Google Chrome in Incognito mode. In Ubuntu, I'd just modify the Chrome shortcut and append "--incognito" at the end. With Windows, I'd just append "-incognito" to the shortcut, and both of these solutions worked for these OSes...

Can someone tell me how to do this for the dock icon in Mountain Lion?
 
Maybe something in Chrome Preferences.

Anything within Chrome's preferences will only take place after Chrome starts. The problem is that it's going to start in the regular mode, and not Incognito. There's no way, from the preferences at least, to make Chrome start up in Incognito.

I think modifying the shortcut is absolutely necessary. Thanks for replying though.
 
I'd look into either
1) achieving the same with an environment variable
2) if that fails and you're absolutely sure Chrome for OS X takes same command-line parameter, then why not just create a small shell script that launches the program with the parameter?
 
I'd look into either
1) achieving the same with an environment variable
2) if that fails and you're absolutely sure Chrome for OS X takes same command-line parameter, then why not just create a small shell script that launches the program with the parameter?

Yep, I actually got this working doing the same thing you mentioned in the second step. Thanks for responding! :)
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.