LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-24-2015, 07:39 PM   #1
BrainPowered
LQ Newbie
 
Registered: Oct 2015
Location: New Braunfels, TX
Distribution: Mint Cinnamon
Posts: 27

Rep: Reputation: Disabled
Open URL files


Linux browsers won't open and parse a file that contains only the text
[InternetShortcut]URL=http://linuxquestions.org/
to get and render a default file from a web server.

[rant]
They have no problems pushing advanced advertising code.
[/rant]

Last edited by BrainPowered; 10-26-2015 at 05:54 PM.
 
Old 10-24-2015, 09:58 PM   #2
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
It's not quite clear what you want to do and how it fails. I am speculating that it's one or more of the below things; can you be a bit more specific?

Double-clicking on a URL file in the GUI? What happens?
Issuing some bash command, but which command? How does this fail?
Searching something on your computer? On the internet? What do you do, and how does it fail?
Modifying URL files from a Windows system perhaps, so that you can use then in the Mint file manager?
 
Old 10-25-2015, 04:14 AM   #3
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
so you are using chrome for linux, and it has the capability to save url's as icons/files to your desktop?
and now you need to edit these files?
am i understanding this correctly?
 
Old 10-26-2015, 07:52 AM   #4
BrainPowered
LQ Newbie
 
Registered: Oct 2015
Location: New Braunfels, TX
Distribution: Mint Cinnamon
Posts: 27

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ondoho View Post
am i understanding this correctly?
Thanks.

Last edited by BrainPowered; 10-26-2015 at 05:40 PM.
 
Old 10-26-2015, 01:42 PM   #5
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
ok, so i was going to ask you: "how did you create these .url files in the first place?"

but your ongoing rant kind of suggests that you come from a proprietary os and now complain that linux does not behave the same way.
whatever.

searching your problem gives many results, and skimming a few, it seems you can make .url files open in your browser rather easily.

this one looked good and recent.
 
Old 10-26-2015, 04:42 PM   #6
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
n/m.

.url is a windows thing?

Last edited by Habitual; 10-26-2015 at 04:43 PM.
 
Old 10-26-2015, 09:13 PM   #7
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,539
Blog Entries: 28

Rep: Reputation: 6205Reputation: 6205Reputation: 6205Reputation: 6205Reputation: 6205Reputation: 6205Reputation: 6205Reputation: 6205Reputation: 6205Reputation: 6205Reputation: 6205
This

Code:
[InternetShortcut]URL=http://linuxquestions.org/
appears to be a Windows thing: https://msdn.microsoft.com/en-us/lib...(v=vs.85).aspx

It's certainly not valid HTML.

Last edited by frankbell; 10-26-2015 at 09:15 PM.
 
Old 10-27-2015, 04:26 PM   #8
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
^ exactly, it's another of those bs-pseudo-standards created by microsoft, ignoring all real standards.

searching for it yesterday, there was some beautiful rant, but op wanted a (boooring!) solution.
a simple shell script.
the beauty of linux.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
CURL Changes the url and cannot open it disno Programming 1 06-09-2014 07:57 AM
open a URL from shell plisken Linux - General 3 11-10-2005 01:43 AM
open a url in c++ bertlef Programming 2 01-07-2005 04:27 PM
It's so slow to open a url j.vilon Debian 12 10-04-2004 12:32 PM
how to use php open and url antony_csf Programming 7 09-27-2004 12:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration