open windows .url files in linux
Categories
(Core :: Widget: Gtk, enhancement)
Tracking
()
People
(Reporter: alpeterson, Unassigned)
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36
Steps to reproduce:
switch from windows to linux
want to open .url files that are text files with a line:
URL=https://website.com/we/want/to/visit/
told Dolphin (KDE plasma file browser) to open .url files with firefox
Actual results:
it opens it as a text file.
I wrote a shellscript to grep the file, cut it, and open firefox with the URL.
That kinda works... but if we close the terminal firefox closes. If we use the ampersand at the end of it, then it closes firefox super quickly... we tried the disown command too... it's all kinda sad.
Expected results:
it should parse the file and open the URL
Comment 1•4 years ago
|
||
Bugbug thinks this bug should belong to this component, but please revert this change in case of error.
Comment 2•4 years ago
|
||
Hi, what does this have to do with Firefox if your system (not Firefox) decides how and where to open a file?
Comment 3•4 years ago
|
||
Oh wait, Firefox itself renders the file content as plain text? ("it" is a vague term...)
Still sounds like something to implement on the system level, so your system parses and passes the URL in that file to Firefox, and not the text file itself to Firefox...
Reporter | ||
Comment 4•4 years ago
|
||
we set the browser to open them, and it treated it like a plain text file.
we wrote a script to open firefox when the file was passed to it .. spent hours on it... and no luck.
I think people expect .url files to open the url contained within.
I am not sure if windows opens it and then opens firefox with a url, or if firefox parses the .url file.
eitherway, it is a pain the the rear, and i'd like to keep the bug open until there is a solution
In reply to Andre Klapper from comment #2)
Hi, what does this have to do with Firefox if your system (not Firefox) decides how and where to open a file?
Comment 5•4 years ago
|
||
Description
•