Page 1 of 1

Open "bookmarks.html" with Links instead of Puppy Browser?

Posted: Sat 12 Jun 2010, 12:55
by jakfish
In 4.31, Seamonkey's bookmark.html is symlinked to Puppy Browser. I would like to symlink bookmark.html to Links.

I can do that by right-clicking ROX, "open with," "customize," and dragging /usr/bin/links to "open with" directory and symlinking.

The trouble is, the command to open links is "links -g" How do I put in the argument "-g" in a symlink?

Possible?
Jake

Posted: Sat 12 Jun 2010, 13:45
by Minimatter
You might write a short wrapper script like

#!/bin/sh
exec links -g "$1"

and put it into the open with directory, instead of a symbolic link.

Posted: Sat 12 Jun 2010, 20:36
by jakfish
Wonderful. That fit the bill exactly.

Many thanks for such fast help,
Jake

Posted: Sat 12 Jun 2010, 22:41
by big_bass
since you got it working make a nice clean bookmarks index

here's something I wrote to save the seamonkey bookmarks and strip off the "extra"code cookies etc ...to leave just the active link
so it is very easy to manage the new index for a number of uses

and when you do a new install you can run this to keep the bookmarks

if you look at the original seamonkey index it's clean to view
but it saves extra code not needed if you plan to share bookmarks
or post download links

its just a one click auto build the index and display it script
two files are auto generated without editing your original bookmarks
and auto opens for viewing

a clean url list
/root/bookmarks_stripped.txt


a clean working index for any browser
/root/new_index_list


http://www.murga-linux.com/puppy/viewto ... h&id=19665

Joe

Posted: Sun 13 Jun 2010, 03:51
by jakfish
Joe,

That's a great program, and useful in many ways. Once I put in the correct directory (I have seamonkey symlinked to a cf hard drive), it stripped everything but the vitals.

You're right; it's very transportable.

Jake