Posts: 903
plvera
Joined: 11 Oct 2008
#16
Thanks, Anti. I missed that the first time around.

And thanks Secipolla. That looks really cool. I'll have to try it out.

In the meantime, I found another site with some great advice and I reconfigured the console to change the font. Right now I'm using terminus which I think look better than the standard vga.

the idea (and the procedure on how to do it) come from:
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://jengtron.wordpress.com"
linktext was:"http://jengtron.wordpress.com"
====================================


Basically, as root, I did:"dpkg-reconfigure console-setup" and changed the font and the size. This was probably known to a lot of people here, but it was news to me.

Here's a screenshot of how my system looks now:



So that's terminus (not terminus bold) size: 14. I prefer terminus and have that set up in my work laptop to do all my vim work.

Pedro
anticapitalista
Posts: 5,956
Site Admin
Joined: 11 Sep 2007
#17
Pedro, I'd also like to thank you for this thread. It is educational to us all, I'm sure.

How did you get screen to display as it does? It is set up that way in .screenrc?
Posts: 903
plvera
Joined: 11 Oct 2008
#18
Anti, you're welcome __{{emoticon}}__ I'm actually learning a lot and having a lot of fun doing this!

The screen is running the byobu script that I mentioned earlier. byobu makes configuring screen a LOT easier. It also provides some default rebindings that I find useful (for example F2 to create a new window). byobu sets up its own rc file where the settings are stored. If you want to bypass those setting and just run regular screeen (with its own .screenrc), then type screen (instead of byobu). BTW, one of the features of byobu is the ability to call up byobu automatically when you log in, which is pretty neat.

Oh, and a while back you had asked about a pdf viewer for cli: fim is it! I'm very impressed and happy with it. I highly recommend it.

Pedro

P.S. Not sure if I misunderstood your question, but what's displayed in that shot is byobu (enhanced screen, sort of), with a vertical split, and a horizontal split.
Last edited by plvera on 20 Nov 2010, 23:23, edited 1 time in total.
anticapitalista
Posts: 5,956
Site Admin
Joined: 11 Sep 2007
#19
fim I have used and it is very impressive. I also have byobu, but there is something about it that annoys me, don't know what it is though. I'll give it more time when I have some.
Posts: 903
plvera
Joined: 11 Oct 2008
#20
The good news is that you don't really need byobu. It just makes the .screenrc part much easier (or maybe I'm just lazy?). At any rate, I'd be interested to know what you find annoying.

In terms of screen itself, I find control-a an annoying key combinatiion. I should look into rebinding it.
Posts: 903
plvera
Joined: 11 Oct 2008
#21
I opened up the sid repos briefly so that I could grab netsurf-framebuffer and it seemed to install fine. It starts up ok and it shows a mouse pointer, but I can't move it. Also, keyboard does not work (even though it's supposed to have keyboard support).

I ran it in verbose and noticed that it keeps looking for a ~./netsurf/Options file, which does not exist, since the sid package did not create a .netsurf directory.

Not sure how to fix this. Tried looking for examples of .netsurf/Options file on the web, but no luck so far.

On the plus side, netsurf looks really nice!
Posts: 903
plvera
Joined: 11 Oct 2008
#22
I installed several other packages that are supposed to be required for a debian install of netsurf, and tried to compile netsurf, but I'm getting compiling errors.

However, I noticed that if I run netsurf as root, then I have mouse control, but not as regular user. I thought that was odd. Any suggestions on how to change that so that regular users also have mouse control?

thanks.
anticapitalista
Posts: 5,956
Site Admin
Joined: 11 Sep 2007
#23
Same here pedro. As root, mouse works, but you can't click to type to search.

Another app you may want to try is tmux. A more up-to-date screen (apparently).


========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://tmux.sourceforge.net/"
linktext was:"http://tmux.sourceforge.net/"
====================================
Posts: 1,228
secipolla
Joined: 15 Jun 2008
#24
The version in sid is a bit outdated.
I can't help much except by saying that even me compiled and installed netsurf 2.6 some time ago (gtk version).

Basically what should be done is what's outlined in that article I linked, i.e., download, compile and install the dependencies and then at last netsurf itself. Everything is very clear in the README files.
You read the README for netsurf and it says that it needs this and this and in a given order. Then you download the dependencies (it gives the addresses) and read their README and so on so you do it in order.
Not much work as everything is quite small.

I'm not sure but maybe the fb version is just netsurf without the gtk parts. The source can be found at
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.netsurf-browser.org/downloads/source/"
linktext was:"http://www.netsurf-browser.org/downloads/source/"
====================================
Posts: 903
plvera
Joined: 11 Oct 2008
#25
@antix: thanks! it looks really nice. I'll give it a try.

@secipollla: Thanks for the extra info. I did d/l the source code and tried to follow the instructions in the README files for the framebuffer build. However, either I left something out, or there are discrepancies between what's needed for a Debian OS and the framebuffer. I'll have to spend more time working on this.
Posts: 162
drg
Joined: 22 Feb 2010
#26
To find out what was installed with the teapot .deb

If you have the .deb on hand, use mc (press F3) to view the text part of the compressed little bugger, which might have that info.

Use dpkg -L (package-name). ...capital ‘ell’.

Wow, the info coming in here is great!
Last edited by drg on 23 Nov 2010, 19:59, edited 1 time in total.
Posts: 57
pcalvert
Joined: 28 Jan 2008
#27
oldhoghead wrote:... and I still have a sidux, uh aptosid Xfce version there, fully du with latest kernel and it still works great, even tho I really don't care much for Xfce.
Install your favourite window manager and use it instead. For example, I'm planning to install IceWM on top of the Xfce version of sidux hypnos. I'll probably even copy over some images and whatnot from antiX to make it look pretty.

Do you think anyone would be interested in a script that can make all (or most) of those changes automatically?

Phil
Posts: 903
plvera
Joined: 11 Oct 2008
#28
Here's is an update of my struggles with Netsurf.

I downloaded and built the following packages (listed on the left side of page; excluding the RISC OS) from the Netsurf website:


========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.netsurf-browser.org/"
linktext was:"http://www.netsurf-browser.org/"
====================================


NOTE: A. For tar files, the procedures were:
1. download tar file
2. tar -zxvf file
3. cd newdirectory
4. make (as regular user)
5. make install (as root)

B. For SVN files (noted below)
1. type svn command as listed on the website
2. cd newdirectory
3. cd newdirectory
4. make (as regular user)
5. make install (as root)

1) LibParserUtils
2) Hubbub
3) LiWapcaplet
4) LibCss
5) Install subversion (from Debian repos; use apt-get)
6) LibDom - use SVN instructions from website
7) Libsvgtiny - use SVN instructions from website
8 ) LibNSFB
-this was a tricky package.
-had all these dependencies that I had to install (after searching in the net)
a. libsdl-dev
b. libxcb1-dev
c. libxcb-image0-dev
d. libxcb-icccm1-dev
e. libxcb-keysyms1-dev
f. libxcb-aux0-dev
9) Libnsbmp
10) Libnsgif
11) Netsurf 2.6
use the following instructions for framebuffer build:
make TARGET=framebuffer
then, as root:
make TARGET=framebuffer install

So, after all that, Netsurf compiled successfully. However, it gave an error when I tried to start it as a regular user, but root started fine. After digging around in the net, I found the answer. I had to change the ownership of a file. So, as root:

chmod ugo+rwx /dev/psaux

Then, Netsurf started fine (as a regular user). I have no idea what psaux does, but it has something to do with allowing netsurt fo recognize the mouse.

Altough Netsurf is now running and it is an impressive app, I'm still having problems. Namely, I can't discover the keyboard shortcuts. Can't even quit it properly, have to do a shutoff. I looked in the netsurf mailing list and some has already reported this but no solution has been offered yet.

I've also discovered that framebuffer will not run inside screen or tmux.

I have made a fair amount of progress getting this to work, but it sill has some rough spots. I'llt ry posting in the Netsurf mailing list and maybe I can get an answer to fix the keyboard shortcuts problems. It really is a very neat app, but so far, it's proven a lot of work.

Pedro
Posts: 903
plvera
Joined: 11 Oct 2008
#29
I wanted to get wireless going in this box with an Antix-core install and no X. Ethernet was fine, but I wanted to tackle wireless. After some hassle, here's how I got it to work:

1) apt-get install wireless-tools
2) apt get install firmware-b43-installer
3) edit /etc/modprobe.d/b43.conf to:

install b43 true
install b44 true
#install ssb true

4) modprobe -r b43
5) modprobe -i b43
6) at this point i was very happy since ifconfig showed up both the ethernet and the wireless card.
7) getting wireless to work with my router (WPA) was a struggle. I wasted a LOT of time, installed wpa_supplicant, created a wpa.conf file with my network passphrase, all to no avail.
8 ) Realized that life is short and ceni works great so: used smxi to install Ceni and now wireless works.

Only problem is that it does not persist a reboot, so I have to do the modprobe -r/-i b43 and rerun Ceni. It's kind of a bother (maybe I can write a script), Perhaps someome will have another suggestion for this.

Still,I'm very happy with this box running antix-core, no X and only user 14 megs as shown by htop.

Pedro
Posts: 2,238
dolphin_oracle
Joined: 16 Dec 2007
#30
Pedro,

try adding your modprobe lines to the end of rc.local. It will be the last thing that happens at boot up that way.

not sure about ceni. I've always been a wicd guy, and it runs as a daemon at boot, but it requires x to set up.