Please support VectorLinux!

Author Topic: Force a File or a Web Page to Open with an Application of My Choosing  (Read 990 times)

BazzaBoy

  • Member
  • *
  • Posts: 1
I would like to create a shortcut on my Desktop which will open the Google website with Chrome and not with the default browser.

From memory I think the shortcut properties should be:

Code: [Select]
http://www.google.com "C:\Documents and Settings\username\Local Settings\Application Data\Google\Chrome\Application\chrome.exe"

But for some reason, it does not work. Maybe I got the syntax wrong.

Can someone help?

Regards.

stretchedthin

  • Administrator
  • Vectorian
  • *****
  • Posts: 3780
    • Opensourcebistro.com
Your post sound like you actually have Chrome running on your VL box.

If so...
Are you running Chrome in wine or crossover? 

And if you are running Crome in Wine, then cool...how'd you do that? :)

The desktop shortcut info will change slightly based on your info.

Otherwise Chrome as an .exe file is a windows program and is just not going to run.
Vectorlinux screencasts and  tutorials can be found at....
http://www.opensourcebistro.com/blog1
http://www.youtube.com/user/vid4ken?feature=mhee

M0E-lnx

  • Administrator
  • Vectorian
  • *****
  • Posts: 3208
This will only work if the app is designed to take arguments.
Some good examples of where this would work would be links or elinks. In these browsers, you would call the program, and then feed it an argument in this case an URL, and they'll go straight there.

I'm not sure about chrome.
I'm sure your syntax is wrong though
If anything, you would have to launch the app first and the argument (URL) later.