Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

If I want to manually create a Chrome Application Shortcut, I know that I have to point it to the Chrome executable and pass it the URL to the site.

But what argument to I pass so that it opens in an application style window instead of just opening in a new tab in my open Chrome window?

share|improve this question

2 Answers 2

up vote 2 down vote accepted

I was able to accomplish this using the --app="[url]" switch like so:

/opt/google/chrome/google-chrome --app="http://www.pandora.com"

I would speculate that it would work the same in windows if pointed to the chrome.exe file.

You can find this command and others here.

share|improve this answer
    
In Windows, I used Chrome to create an application shortcut, then looked at the shortcut properties. It does indeed use "chromepath\chrome.exe" --app="url" –  Bavi_H Oct 16 '10 at 3:00

Looking at this and this, it does not appear to be possible to create a new window using arguments passed to Chrome.

share|improve this answer
    
If you go back and look at your first link, it actually has the --app switch that I was able to use. –  gabriel1836 Oct 15 '10 at 5:18
    
Yup: "Specifies that the associated value should be launched in "application" mode. --app" –  Wuffers Oct 16 '10 at 19:01

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.