VectorLinux
July 28, 2014, 02:04:02 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1]
  Print  
Author Topic: Force a File or a Web Page to Open with an Application of My Choosing  (Read 832 times)
BazzaBoy
Member
*
Posts: 1


« on: July 22, 2009, 08:50:08 pm »

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:
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.
Logged
stretchedthin
Administrator
Vectorian
*****
Posts: 3780


WWW
« Reply #1 on: July 22, 2009, 09:58:22 pm »

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? Smiley

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.
Logged

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: 3178



« Reply #2 on: July 23, 2009, 11:52:33 am »

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.
Logged

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!