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

Booting, installing, newbie
Post Reply
Message
Author
jakfish
Posts: 762
Joined: Fri 18 Jul 2008, 19:09

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

#1 Post 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

Minimatter
Posts: 33
Joined: Sun 08 Feb 2009, 21:50
Location: Massachusetts

#2 Post 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.

jakfish
Posts: 762
Joined: Fri 18 Jul 2008, 19:09

#3 Post by jakfish »

Wonderful. That fit the bill exactly.

Many thanks for such fast help,
Jake

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

#4 Post 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

jakfish
Posts: 762
Joined: Fri 18 Jul 2008, 19:09

#5 Post 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

Post Reply