DSL Tips and Tricks :: Small Howto for Netrik internet browser



lucky13

I've ordered "Introduction to Linux (2nd ed)" by Machtelt Garrels.

Many thanks for the comprehensive shell wrapper how to but I've fallen at the first fence. What is dfm?

Hope you won't take this the wrong way but what's pedantic to you is, unfortunately, opaque in places to me. In the circs I'll put this exercise on the back burner until I've gleaned more about things DSL.

Quote
What is dfm?

I know everyone's at a different place on the learning curve.  dfm is the desktop icon manager and file manager in DSL 4+. When you click on the ~/ (home) icon, you're opening a dfm window. When you click on the system icon, you can work yourself to /opt/bin and make your shell wrapper there per the instructions.

The best use I've found for netrik is for viewing man pages. Since DSL doesn't have a local man application, it's rather difficult to just click on a man file and read it.

I installed man2html (approx 45k) and associated man pages with this command:
Code Sample
man2html %f | netrik -

That's midnight commander syntax, but I think it works basically the same for emelfm (as long as you include aterm -e), and can be modified for use in dfm

lucky13,Feb. 07 2008,16:43

<quote> 1. Open dfm to /opt/bin... (...when you click on the ~/ (home) icon, you're opening a dfm window. When you click on the system icon, you can work yourself to /opt/bin and make your shell wrapper there per the instructions.)</quote>

Making progress. Major snag is stage 1 above. Can't see any reference to the system icon. All I get here is a Mail folder and a bunch of files from - I think - /home/dsl.

Stage 2 OK

Stage 3. Ok (the icon is binary.xpm)  

Stage 4: by "text" do you mean either of the Code Sample items in the following?

SAMPLE SHELL WRAPPER

Code Sample
#!/bin/bash
aterm -T nameofsite -e netrik /path/to/link

OR

Code Sample
#!/bin/bash
aterm -T nameofsite -e netrik URI

If so is "nameofsite" a literal e.g. "BBC_News"?

Puzzled by "/path/to/link"

Stages 5 and 6 OK

1. Use the / (root) icon (or manually run something like `dfm /` if its not there)

4.
Either... they're basically the same.
-T just changes the terminal emulator's title.
/path/to/link is just a local reference, whereas URI is some remote address.

Note: please use the quote tags properly... it makes your post hard to read.  You can click the iB Code Buttons if you can't remember which tags this board uses.  Plus you can edit and preview your post.

Next Page...
original here.