URL Launcher from Desktop like Palemoon

Window managers, icon programs, widgets, etc.
Post Reply
Message
Author
B.K. Johnson
Posts: 807
Joined: Mon 12 Oct 2009, 17:11

URL Launcher from Desktop like Palemoon

#1 Post by B.K. Johnson »

Hello All
I like the array of icons on the Palemoon home page
http://start.palemoon.org/
and thought of a smaller version for my puppy (see attached).

The attached is a simple html file with links to the appropriate URL. From the HTML file in a browser, I can click an icon and go to its URL, Now I want to place the html on the desktop from where I can launch the URLs. How can I do this?

information from http://puppylinux.org/wikka/DesktopIcons states:
Applications that are shown in the menu are listed at: /usr/share/applications ... and relevant file, which has executable permission,
  • Do I have to create a destop file?
    Is am html file considered executable?
    Or do I have to ceate a an icon file which displays the html?
Again from .../DesktopIcons
For Desktop Icon Sets, file-system location: /usr/local/lib/X11/themes
No theme in my HTML. Is there some other appropriate place for my icons?


B.K. Johnson
User avatar
nilsonmorales
Posts: 972
Joined: Fri 15 Apr 2011, 14:39
Location: El Salvador

#2 Post by nilsonmorales »

First sorry my english in not very good looking :D
i think understand that you want.
1- download a right icon in 48x48.png
2- open the rox filer and in a blank space do a right click >>new >>script and create a new script and name as you want.
ex. Puppy-forum
3- open the script as text and type inside

Code: Select all

#!/bin/sh
defaultbrowser http://www.murga-linux.com/puppy/index.php 
save in a directory if you want ex. my-urls, you can save your custom icons there too.
4- drag and drop the script to the desktop
5- right click to the script in the desktop >>file puppy-forum >>define icon and assign the right icon in your directory or whatever icons directories.
6- drag and drop the right icon to the define icon box
7- you can use some dockbar like wbar or cairo dock too and custom your arrays urls icons
8- another way is creating a nice gtkdialog window but this is other history to the next time.
Image
[b][url=http://nilsonmorales.blogspot.com/]My blog |[/url][/b][b][url=https://github.com/woofshahenzup]| Github[/url][/b]
[img]https://i.postimg.cc/5tz5vrrX/imag018la6.gif[/img]
[img]http://s5.postimg.org/7h2fid8pz/botones_logos3.png[/img]
B.K. Johnson
Posts: 807
Joined: Mon 12 Oct 2009, 17:11

#3 Post by B.K. Johnson »

Hello nilsonmorales

Thanks for your answer. I'll see what I can do with it

B.K. Johnson
B.K. Johnson
Posts: 807
Joined: Mon 12 Oct 2009, 17:11

#4 Post by B.K. Johnson »

I wasn't happy with the rescaling of my icons to 48x48 but did it anyway despite the text not always clear.
Since there was nothing in my situation that had to do with puppy forum, I changed the name of the script to launchurls which is more descriptive to me.

The directory is AltLauncher and it has:
launchurls
bbc-news-logo-48x48.png
goofy-yahoo-logo-48x48.png
googleplus-icon-logo-48x48.png
youtube-logo-48x48.png

I got to step 4 and got lost. Some questions:
I assume this launches the default browser
defaultbrowser http://www.murga-linux.com/puppy/index.php

When I right-click ihe launchurls script on the desktop >>file >>launchurls >>set icon and choose an icon in the AltLauncher directory, I assume I can only select 1 icon and 1 icon is displayed. What of thr other icons? And can they be arranged in an array?

Finally, would not the array display in the default browser? That's not what I want.

Can you please elaborate? Appreciate your help.


B.K. Johnson
User avatar
Galbi
Posts: 1098
Joined: Wed 21 Sep 2011, 22:32
Location: Bs.As. - Argentina.

#5 Post by Galbi »

Not sure if I understand what you want.
What I did is:
- Downloaded the index.html file from the palemoon start page with wget.

-Launch that file with any browser i.e. chromiun /root/my-documents/index.html

The page loads, the links, works but I don´t see the icons.

So, editing the index.html file you can point the src= to some icons in your machine i.e. src="/usr/share/icons/firefox.png¨

:( It needs to edit every link manually.

Then you can put an icon in the desktop to launch your favorite browser pointing to your edited index.html.file.

Hope it helps.
Attachments
image-2.png
(60.94 KiB) Downloaded 461 times
Remember: [b][i]"pecunia pecuniam parere non potest"[/i][/b]
B.K. Johnson
Posts: 807
Joined: Mon 12 Oct 2009, 17:11

#6 Post by B.K. Johnson »

You wrote:
Not sure if I understand what you want.
The idea is to create on a puppy desktop an array of boxes say 2x7. In each box will be a logo of each URL (see attachment to my original post). Each graphic is linked to the website/URL for that logo. For example, again looking at the attachment in my uriginal post. clicking on the BBC liogo will take me to BBC News.

I already know how to get the logos and the related URL.

In a capsule here is what I need someone to tell be how to do in Gtk

Code: Select all

For I= 0 to 1
For I= 0 to 6
DrawBox
set cusor to next start line positon
next
Function DrawBox
[i]The drawbox code
[/i]
Once the 2 x 7 array of boxes are on the desktop, I can manually insert the logos and the links,
What I did is:
- Downloaded the index.html file from the palemoon start page with wget.

-Launch that file with any browser i.e. chromiun /root/my-documents/index.html

The page loads, the links, works but I don´t see the icons.

So, editing the index.html file you can point the src= to some icons in your machine i.e. src="/usr/share/icons/firefox.png¨
That wasn't necessary. Perhaps I misled you. If you have Palemon installed and launch it you will see the array of logos from which you can link to the related website. It is easy to get the logos and the URLs. But I do not want all the logos/URLs there, I want to add my own.


S
ad It needs to edit every link manually.

Then you can put an icon in the desktop to launch your favorite browser pointing to your edited index.html.file.
This would give me a webpage which is not what I want. I want a permaneny "thing" on my puppy desktop.

Hope that is now clear. :wink:


B.K. Johnson
User avatar
Galbi
Posts: 1098
Joined: Wed 21 Sep 2011, 22:32
Location: Bs.As. - Argentina.

#7 Post by Galbi »

Ok, I thought you wanted some kind of speed dial like Opera browser.
Remember: [b][i]"pecunia pecuniam parere non potest"[/i][/b]
Philh
Posts: 150
Joined: Wed 17 May 2006, 13:26
Location: England

#8 Post by Philh »

I cant see any attachment but if you just want a bar of icons
then Easy Launcher might be of use.
http://www.murga-linux.com/puppy/viewtopic.php?p=805260
You could make an array then edit the icons and pointers to your url files.
[/url]
User avatar
trio
Posts: 2076
Joined: Sun 21 Dec 2008, 15:50
Location: अनà¥￾मोदना

#9 Post by trio »

B.K. Johnson
Posts: 807
Joined: Mon 12 Oct 2009, 17:11

#10 Post by B.K. Johnson »

trio
I installed desktopicommaker and for a while was lost :oops: . After entering the info for bbc-news and clicking Create, nothing seemed to happen. When I clicked on Create a second time and again nothing seemed to happen, I clicked the Quit button and shut down.

Next day when I booted i saw 2 bbc-news icons on the desktop. What happeed? Seems my desktop was covered with several open windows and I did not see the icon placed on the desktop when I clicked Create, And a second icon /launcher was made when I clicked a second time. It is working 8) . Thanks!

A few questions:
  • 1. To remove that extra bbc-news, do I just delete the icon on the desktop?
    2. I suppose if I want to align the icons I have to do it manually?
    3. What. other than the default browser. can be entered as the path?
B.K. Johnson
User avatar
trio
Posts: 2076
Joined: Sun 21 Dec 2008, 15:50
Location: अनà¥￾मोदना

#11 Post by trio »

Hi,

1) yes, but for the actual icon you need to remove from the app, to also delete the app path
2) Yes
3) many kinds of apps tha supports arguments
Alternatively you can make launcher for anything:

defaultaudioplayer /path/to/your/music.mp3
mplayer rstp://your.streaming.audio.address
Attachments
launchers.jpg
(5.31 KiB) Downloaded 246 times
B.K. Johnson
Posts: 807
Joined: Mon 12 Oct 2009, 17:11

#12 Post by B.K. Johnson »

trio
Got it. Thanks

B.K. Johnson
Pelo

My Cloud apps

#13 Post by Pelo »

clouds-apps does it, i f remeber. You have just to fullfill url and the icon appears, link is done. I check further..
here we are My Cloud apps
Attachments
cloudapps.jpg
Change URL as you like, choose icon (png)
(32.82 KiB) Downloaded 180 times
menuCloud.jpg
You can change sites.
(33.56 KiB) Downloaded 174 times
Post Reply