LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 07-12-2016, 04:16 PM   #1
grumpyskeptic
Member
 
Registered: Apr 2016
Posts: 472

Rep: Reputation: Disabled
Clickable stand alone URL links for desktop and folders?


I am using Linux Mint 17.3 Cinnamon 64bit.

How can I make a file that, when clicked on on the desktop or in a folder, starts up Firefox and goes to the webpage? Or if Firefox is already running, goes to the webpage (or preferably opens a new tab and goes to the webpage)?

I found this very useful or borderline essential when using WinXp, as I keep project folders that contain a variety of documents and web links, but the various firefox add-ons I've tried have never produced a clickable link in Linux. The best I can do is open them and manually copy the URL and paste it into the Firefox slot.

My favourite add-on (my favourite add-on of all time in fact, which I wish could be also ported to Opera) for this used to be SaveLink by Prudnik, but although it claims to produce Unix clickable links, none of its several options produces anything that works. I wonder if the ending on the file name is wrong for linux.

Other similar add-ons I have tried are deskCut and Save Link In Folder, but neither of these seem to work either.

I assume that this question belongs here rather than in the Networking section.

Thanks.
 
Old 07-12-2016, 09:33 PM   #2
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
Make a text file called:
Code:
MyURL.desktop
Format it like this:
Code:
[Desktop Entry]
Encoding=UTF-8
Name=Link to MyURL
Type=Link
URL=http://www.mysite.net/MyURL.html
Icon=text-html
Save it to
Code:
/home/username/Desktop/MyURL.desktop
When you click it the browser will open and take you to URL listed in the file. For more options:

http://kb.mozillazine.org/Creating_a...t_to_a_webpage. I hope this helps.
 
1 members found this post helpful.
Old 07-13-2016, 12:57 AM   #3
grumpyskeptic
Member
 
Registered: Apr 2016
Posts: 472

Original Poster
Rep: Reputation: Disabled
Thanks. I wonder if using either the Cinnamon or MATE version of Linux Mint would make any difference? I do not understand the difference, but I could make this choice when or if I upgrade to the new version 18 of Mint. I am currently using Cinnamon.

And, does the .desktop file ending only work on the desktop or should it also work when clicked in other folders?

Last edited by grumpyskeptic; 07-13-2016 at 01:00 AM.
 
Old 07-14-2016, 03:15 AM   #4
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
Desktop files work by clicking them, whether or not they are in the ~/Desktop folder.
 
Old 07-19-2016, 11:59 PM   #5
robertdaleweir
Member
 
Registered: Jul 2006
Location: Canada
Distribution: Fedora
Posts: 93

Rep: Reputation: 11
Quote:
Originally Posted by AwesomeMachine View Post
Desktop files work by clicking them, whether or not they are in the ~/Desktop folder.
There is an option within Firefox to simply drag and drop the little 'i' in front the address bar and holding down the left mouse key drag to your desktop and release. You can rename after but it works on FF 47 for me. Sometimes the link may be a 'php' script instead of an 'html' so you may have to adjust the 'open with' application to Firefox for these types.
 
Old 10-07-2016, 08:21 AM   #6
grumpyskeptic
Member
 
Registered: Apr 2016
Posts: 472

Original Poster
Rep: Reputation: Disabled
Thanks. The good news is that I did try dragging the "I" in Firefox to the desktop, and it did work as hoped. It also worked from another folder as well, not just the desktop.

The bad news is two things.

First, I have been completely unable to open this "I" file to see how it works. For a fraction of a second it displays as a file, maybe html or something else, in the text editor, but then the text disappears and I get a red error message saying that it does not know what its format is. I have tried the options offered, I have tried renaming it to a txt file, but nothing makes any difference. When I try to open it with Bless Hex Editor it just displays a few 00000s and says I have an empty file. When I tried opening it with LibreOffice5 then LO5 just froze and I had to restart the computer.

Secondly, I followed AwesomeMachine's instructions to make the myurl.desktop file, but when I clicked on it all the icons on my desktop disappeared, and clicking or right-clicking did not bring up any menus. So I had to restart.

Does anyone know please, why I have the problems above?

Thanks
 
  


Reply



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
[SOLVED] Bash script: Convert MS URL files to Linux desktop links äxl Programming 3 11-15-2013 02:30 PM
Clickable RSS feeds on the desktop? clifford227 General 5 02-21-2011 06:36 AM
Active Clickable Desktop - Image Map Like Gary987 Linux - Software 0 03-22-2009 03:37 PM
Clickable Shortcuts (On Desktop) to Apps BarfBag SUSE / openSUSE 2 03-27-2005 11:13 PM

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

All times are GMT -5. The time now is 04:04 AM.

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