Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 31 Jan 2015, 01:39
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Desktop
URL Launcher from Desktop like Palemoon
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [13 Posts]  
Author Message
B.K. Johnson

Joined: 12 Oct 2009
Posts: 161

PostPosted: Sun 07 Dec 2014, 16:30    Post subject:  URL Launcher from Desktop like Palemoon  

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:
Quote:
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
Quote:
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
Back to top
View user's profile Send private message 
nilsonmorales


Joined: 15 Apr 2011
Posts: 581
Location: El Salvador

PostPosted: Sun 07 Dec 2014, 17:08    Post subject:  

First sorry my english in not very good looking Very Happy
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:
#!/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.

_________________
My blog


Back to top
View user's profile Send private message 
B.K. Johnson

Joined: 12 Oct 2009
Posts: 161

PostPosted: Sun 07 Dec 2014, 19:57    Post subject:  

Hello nilsonmorales

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

B.K. Johnson
Back to top
View user's profile Send private message 
B.K. Johnson

Joined: 12 Oct 2009
Posts: 161

PostPosted: Sun 07 Dec 2014, 22:24    Post subject:  

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
Back to top
View user's profile Send private message 
Galbi


Joined: 21 Sep 2011
Posts: 537
Location: Bs.As. - Argentina.

PostPosted: Mon 08 Dec 2014, 00:31    Post subject:  

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¨

Sad 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.
image-2.png
Description 
png

 Download 
Filename  image-2.png 
Filesize  60.94 KB 
Downloaded  49 Time(s) 

_________________
Remember: "pecunia pecuniam parere non potest"
Back to top
View user's profile Send private message 
B.K. Johnson

Joined: 12 Oct 2009
Posts: 161

PostPosted: Mon 08 Dec 2014, 17:52    Post subject:  

You wrote:
Quote:
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:
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,

Quote:
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
Quote:
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
Back to top
View user's profile Send private message 
Galbi


Joined: 21 Sep 2011
Posts: 537
Location: Bs.As. - Argentina.

PostPosted: Mon 08 Dec 2014, 19:33    Post subject:  

Ok, I thought you wanted some kind of speed dial like Opera browser.
_________________
Remember: "pecunia pecuniam parere non potest"
Back to top
View user's profile Send private message 
Philh

Joined: 17 May 2006
Posts: 104
Location: England

PostPosted: Tue 09 Dec 2014, 09:56    Post subject:  

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]
Back to top
View user's profile Send private message 
trio


Joined: 21 Dec 2008
Posts: 1965
Location: अनुमोदना

PostPosted: Tue 16 Dec 2014, 03:35    Post subject:  

Desktop Launcher Icon Maker
_________________
My apps
Back to top
View user's profile Send private message 
B.K. Johnson

Joined: 12 Oct 2009
Posts: 161

PostPosted: Sat 20 Dec 2014, 01:25    Post subject:  

trio
I installed desktopicommaker and for a while was lost Embarassed . 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 Cool . 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
Back to top
View user's profile Send private message 
trio


Joined: 21 Dec 2008
Posts: 1965
Location: अनुमोदना

PostPosted: Sat 20 Dec 2014, 01:36    Post subject:  

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

Quote:
Alternatively you can make launcher for anything:

defaultaudioplayer /path/to/your/music.mp3
mplayer rstp://your.streaming.audio.address
launchers.jpg
 Description   
 Filesize   5.31 KB
 Viewed   89 Time(s)

launchers.jpg


_________________
My apps
Back to top
View user's profile Send private message 
B.K. Johnson

Joined: 12 Oct 2009
Posts: 161

PostPosted: Sat 20 Dec 2014, 12:31    Post subject:  

trio
Got it. Thanks

B.K. Johnson
Back to top
View user's profile Send private message 
Pelo


Joined: 10 Sep 2011
Posts: 3682
Location: Mer méditerrannée (1 kms°)

PostPosted: Tue 20 Jan 2015, 12:38    Post subject: My Cloud apps  

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
cloudapps.jpg
 Description   Change URL as you like, choose icon (png)
 Filesize   32.82 KB
 Viewed   23 Time(s)

cloudapps.jpg

menuCloud.jpg
 Description   You can change sites.
 Filesize   33.56 KB
 Viewed   24 Time(s)

menuCloud.jpg


_________________
Puppy, buitin power in Paris Eiffel tower
Back to top
View user's profile Send private message Yahoo Messenger 
Display posts from previous:   Sort by:   
Page 1 of 1 [13 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Desktop
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0826s ][ Queries: 12 (0.0042s) ][ GZIP on ]