LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-20-2021, 11:23 AM   #1
vanmol
Member
 
Registered: May 2020
Posts: 38

Rep: Reputation: Disabled
Using the launcher


Hi, Can you tell me how to create a launcher for Web Sites. I was able to create one for Shutdown with a button installed on the desktop because instructions were small and easy. All instructions I have found are geared to Apps and seem quite complicated. Can it even be done?
 
Old 07-20-2021, 11:33 AM   #2
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,579
Blog Entries: 19

Rep: Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453
It depends on your desktop. You haven't told us which one you are using.

I'm not sure what you mean by a launcher, but if you mean a desktop icon used as a short cut, most desktops have a standard procedure for creating them, often accessed by right-clicking on the desktop. They differ from each other only in the command you run and the icon you choose to display. For a website, the command would be something like
Code:
firefox www.mychosensite.com

Last edited by hazel; 07-20-2021 at 11:41 AM.
 
1 members found this post helpful.
Old 07-20-2021, 11:51 AM   #3
vanmol
Member
 
Registered: May 2020
Posts: 38

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by hazel View Post
It depends on your desktop. You haven't told us which one you are using.

I'm not sure what you mean by a launcher, but if you mean a desktop icon used as a short cut, most desktops have a standard procedure for creating them, often accessed by right-clicking on the desktop. They differ from each other only in the command you run and the icon you choose to display. For a website, the command would be something like
Code:
firefox www.mychosensite.com
WOW, couldn't be any easier. I was not using Firefox at beginning of URL. I also thought you needed to indicate the "working directory". Thanks much.
 
Old 07-20-2021, 12:00 PM   #4
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,579
Blog Entries: 19

Rep: Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453
The command text for the shortcut needs to be an actual command and a URL isn't a command. Grammatically speaking, it's a noun, not a verb! But any browser worth its salt will accept a URL as an argument when launched from the command line.

I'm not sure what you mean by a working directory, but by default browsers look for a file called index.html in the toplevel directory of the site and display that.
 
Old 07-20-2021, 12:00 PM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,710

Rep: Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899
Plese define what you mean by launcher for websites?

As I posted before you can create a shortcut by highlighting the URL in the web browser and dragging it to the desktop.

There already is a Firefox shortcut on the taskbar.
 
1 members found this post helpful.
Old 07-20-2021, 12:14 PM   #6
vanmol
Member
 
Registered: May 2020
Posts: 38

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by michaelk View Post
Plese define what you mean by launcher for websites?

As I posted before you can create a shortcut by highlighting the URL in the web browser and dragging it to the desktop.

There already is a Firefox shortcut on the taskbar.
I realize that I am getting old and can't run as fast but this is embarrassing. Moving the URL in linux mint has never worked for me before. I just installed newest Linux Mint Cinnamon XCFE and because of past experiences, never even tried that method, which works just like Windows 10. Happy camper and good to go. Thanks
 
Old 07-20-2021, 12:19 PM   #7
vanmol
Member
 
Registered: May 2020
Posts: 38

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by vanmol View Post
I realize that I am getting old and can't run as fast but this is embarrassing. Moving the URL in linux mint has never worked for me before. I just installed newest Linux Mint Cinnamon XCFE and because of past experiences, never even tried that method, which works just like Windows 10. Happy camper and good to go. Thanks
How about one more thing? How would I change the desktop shortcut to show that URL's flavicon?
 
Old 07-20-2021, 03:22 PM   #8
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,710

Rep: Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899
I quick google... Here is one way using LQ as an example to download the icon and automatically modify your shortcut.
Code:
curl -v https://icons.duckduckgo.com/ip2/www.LinuxQuestions.com.ico > /path/to/lq.ico
sed -i 's:Icon=text-html:Icon=/path/to/lq.ico:'  LinuxQuestions.org.desktop
Replace LQ's URL and desktop shortcut with any other shortcut you create. This does not account for sites that do not have favicons.

Last edited by michaelk; 07-20-2021 at 10:54 PM.
 
  


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
LXer: How to create multiple profiles for Unity launcher in Ubuntu using launcher-list-indicator LXer Syndicated Linux News 0 08-30-2016 05:30 PM
[SOLVED] firefox launcher doesn't show icon on panel bar of slackware but launcher still there mshlinux Linux - Newbie 6 04-24-2013 10:56 PM
Launcher Problems! Why is there a line through my icons on my launcher? LinuxNoob12 Linux - Newbie 1 10-26-2012 01:37 AM
LXer: Move unity launcher to the bottom with Unity Bottom Launcher | PPA Ubuntu LXer Syndicated Linux News 0 12-19-2011 12:30 AM
Creating a launcher (could be java launcher) The_Messiah Linux - Newbie 12 04-06-2005 01:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:22 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