puppy website launch icon

For discussions about programming, programming questions/advice, and projects that don't really have anything to do with Puppy.
Post Reply
Message
Author
big_bass
Posts: 1740
Joined: Mon 13 Aug 2007, 12:21

puppy website launch icon

#1 Post by big_bass »

this is some thing easy to do but practical if you dislike bookmarks
or adjusting home pages

personally I dont have puppy as my home page but for the sake of an easy example
I used it


basically it is a *.desktop but the magic is smart enough to detect it is a desktop without the
.desktop

you can place it on the desktop or run it where it is *I use firefox but you can edit it for seamonkey

Code: Select all

[Desktop Entry]
Version=1.0
Encoding=UTF-8
Type=Link
Name=puppylinux
Comment=
Exec= /usr/lib/seamonkey/seamonkey puppylinux.com
Icon=/usr/share/doc/puppylogo48.png
URL=puppylinux.com




sometimes easy stuff can be helpful

Joe
Attachments
puppylinux.tar.gz
(252 Bytes) Downloaded 327 times
puppy-desktop-icon.png
(15.43 KiB) Downloaded 488 times
Last edited by big_bass on Sat 06 Aug 2011, 17:47, edited 1 time in total.

User avatar
harii4
Posts: 448
Joined: Fri 30 Jan 2009, 04:08
Location: La Porte City, IA , U.S.A.
Contact:

#2 Post by harii4 »

you can paste it on the desktop or run it where it is *I use firefox but you can edit it for seamonkey
How would you use "/usr/local/bin/defaultbrowser" with that?
"/usr/local/bin/defaultbrowser puppylinux.com"?

An HOME folder full of these would be way easy to keep bookmarks - thanks
like an speed dial - cool
3.01 Fat Free / Fire Hydrant featherweight/ TXZ_pup / 431JP2012
----------------------------------------------------------------------------------------
Peace and Justice are two sides of the same coin.

Bruce B

#3 Post by Bruce B »

You could take a bookmarks file as the source doc and generate the contents with a script.

Suppose the site name is www.example.com, you could name it Example or Example.com

But what if you want this item:
www.example.com/2011/videos/world, how would you want the script to name it?

~

big_bass
Posts: 1740
Joined: Mon 13 Aug 2007, 12:21

#4 Post by big_bass »

harii4 wrote:

An HOME folder full of these would be way easy to keep bookmarks - thanks
like an speed dial - cool
yeah thats the point with names you choose and icons you choose and it doesnt matter what window manager you use also
so it gets around a few problems and is nice when you want to update or use a different linux version

if you could tell me what is the folder name in /usr/lib for seamonkey
I will edit the launch icon for you then you will see how to modify
it for any other website you choose

a tip the correct locations for icons is /usr/share/pixmaps
I used the puppy logo because its usually in that other location by default




another tip puppy used the defaultbrowser (its not bad but hides whats happening ) that then links to the browser its better to do it the linux way and call what you are using for the browser directly this way you can launch "the website" an not just the browser
you gain more control that way




Joe

Bruce B

#5 Post by Bruce B »

Another naming idea would be to interactively move through the files and have you enter names as the script displays the URL.

Yeah, that would be best and fairly easy and fast.

If you want me to write a routine to do it, you can attach either the .json file and an exported bookmark file so I can inspect the internals of both. Albeit, mine would be the same. But just to be sure 'cause I'm using an old Firefox

~

Post Reply