Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (4) </ 1 [2] 3 4 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Small Howto for Netrik internet browser< Next Oldest | Next Newest >
lucky13 Offline





Group: Members
Posts: 1478
Joined: Feb. 2007
Posted: Feb. 07 2008,01:45 QUOTE

Quote
IMHO netrik doesn't seem to be doing what it says on the tin.

Which version of DSL are you using? If you're using 4+, you can set this up in a shell wrapper so it opens netrik in aterm to whatever page(s) you want. As far as it not working as advertised, you might want to take a look again at your netrikrc. I haven't tried this myself, but I'm willing to bet you two doughnuts that fixing the link by leaving the "file://///////" part out MIGHT make it work right.

EDIT --
from:
file:///home/dsl/.netrik/bookmarks.html

to:
/home/dsl/.netrik/bookmarks.html

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


Then chmod +x, set an icon using the dfmtext tool. Click, voila. If you're not using 4+, you can add menu entries, add buttons in emelfm,  make a quick gui launcher for websites with murgalua, etc.


--------------
"It felt kind of like having a pitbull terrier on my rear end."
-- meo (copyright(c)2008, all rights reserved)
Back to top
Profile PM WEB 
curaga Offline





Group: Members
Posts: 2163
Joined: Feb. 2007
Posted: Feb. 07 2008,06:55 QUOTE

I have found Netrik is an OK text browser. Many keybindings are similar to Lynx, which I use more often.
The only thing that I don't like in it, is it's inability to download files. When you follow a file link, it just displays it, aka garbage with binaries :(


--------------
There's no such thing as life. Those mean little jocks invented it ;)
-
Windows is not a virus. A virus does something!
Back to top
Profile PM 
jaygeedsl Offline





Group: Members
Posts: 62
Joined: Jan. 2008
Posted: Feb. 07 2008,11:10 QUOTE

Hi lucky13

Tried removing "file:///" but it didn't work. Hold the doughnuts though as I'm dieting.

I'm using 4.2.4. Setting up a shell wrapper and an icon sounds a good idea but at this stage of my LLC (Linux learning curve) I need more detailed how-to level instructions. For instance entering "!/bin/bash" in a terminal is a no-no so the next line can't be entered . Probably best to wait for my Linux primer to arrive from Amazon.
Back to top
Profile PM 
lucky13 Offline





Group: Members
Posts: 1478
Joined: Feb. 2007
Posted: Feb. 07 2008,16:43 QUOTE

Quote
Hold the doughnuts though as I'm dieting.

It worked perfectly fine for me when I did it.

I don't know which book you've ordered, but the DSL Book was written pre-DSL 4.

More pedantic shell wrapper how to...
1. Open dfm to /opt/bin (you can do this anywhere, but it's a good idea to put these kinds of things in one place; my preference is some place in PATH so it can be executed on the fly).
2. Right click and select the to option to create a new file. Give it a name and hit enter.
3. You may have to hit refresh when you right click to see the new icon for the empty file you just created. When you can see it, double click and it should open in your default editor (which is most likely beaver).
4. Enter the text with an appropriate HTML document for netrik to open.
5. Save and exit.
6. In dfm, right click over the icon and select options. There is a list of permissions near the bottom of the window that will open. You want to click the box for user (optionally also group) to execute. Hit save and then exit.
7. Now you can use that icon to open netrik with whichever HTML document you want. You can make links to it on your desktop, you can do whatever you need with it.
8. You can change the icon to suit your own desires with either the same options dialog or with the dfmtext editor in your menu.

Let me know if you need any clarification with any of these steps.


--------------
"It felt kind of like having a pitbull terrier on my rear end."
-- meo (copyright(c)2008, all rights reserved)
Back to top
Profile PM WEB 
jpeters Offline





Group: Members
Posts: 804
Joined: April 2006
Posted: Feb. 07 2008,19:05 QUOTE

Quote (curaga @ Feb. 07 2008,01:55)
I have found Netrik is an OK text browser. Many keybindings are similar to Lynx, which I use more often.
The only thing that I don't like in it, is it's inability to download files. When you follow a file link, it just displays it, aka garbage with binaries :(

hmm....I tried it and it's pretty bad (at least the default version loaded with "netrik <site>"  gets a lot of "can't read data" errors (or something to that effect) when you click on links. Works well for their own site, "netrik http://netrik.sourceforge.net//?intro.html" though, if only web developers used that format.
Back to top
Profile PM 
18 replies since Jan. 18 2007,16:04 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (4) </ 1 [2] 3 4 >/
reply to topic new topic new poll
Quick Reply: Small Howto for Netrik internet browser

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code