You are not logged in.

#1 2012-09-20 21:57:01

rix
Member
Registered: 2012-07-25
Posts: 238

How to have Firefox working in Frame Buffer?

Hi everyone. smile

In according with this thread, I've created this one.

I've tried to reboot and * run Firefox in Linux Tty and in Fbpad * (that is quite as Fbterm), and it doesn't work.
But, in the case of Tty, it * can't find any display *, in the case of Fbpad it * found "fb0" display *.
In both cases if I set the * "$DISPLAY" variable * (I use Bash), it says to me that can't open the specified display, whatever I set.

What am I missing?

Thank so much in advance.

Last edited by rix (2012-09-20 22:03:54)

Offline

#2 2012-09-20 22:51:49

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: How to have Firefox working in Frame Buffer?

Offline

#3 2012-09-20 22:54:57

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,152

Re: How to have Firefox working in Frame Buffer?

Is that display available? That is, does it correspond to the value of $DISPLAY in your X session?


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#4 2012-09-20 23:05:37

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: How to have Firefox working in Frame Buffer?

cfr wrote:

Is that display available? That is, does it correspond to the value of $DISPLAY in your X session?

That would open firefox in X and he wants it in tty.

Offline

#5 2012-09-20 23:14:32

rix
Member
Registered: 2012-07-25
Posts: 238

Re: How to have Firefox working in Frame Buffer?

@ karol: I've already read it and the DFB documentation about how to run Firefox but I didn't have success in make it works. I think it isn't the right (only) way to do that. In the thread I've linked in my first post in this thread, an user said that he's made it works (also with Flash support) with xf86-video-fbdev. So, at least, we know that is possible. @ cfr: display is available and I've tried various combinations setting for the "$DISPLAY" variable but without any success. Thanks for reply to both of you and sorry for errors or incorrect syntax/formatting, I'm posting from my N8.

Last edited by rix (2012-09-20 23:17:24)

Offline

#6 2012-09-20 23:24:13

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: How to have Firefox working in Frame Buffer?

Can you post how exactly are you setting the DISPLAY? Something like

export DISPLAY=:0.0

should work.

$ echo $DISPLAY
:0
$ DISPLAY=:1 chromium

opened chromium in another X session (which I have already launched before).

Last edited by karol (2012-09-20 23:25:00)

Offline

#7 2012-09-20 23:34:17

rix
Member
Registered: 2012-07-25
Posts: 238

Re: How to have Firefox working in Frame Buffer?

I'm not on my home laptop right know but I can tell you that I've tried many solutions for the $DISPLAY ((/dev/)fb,fb0,fd,fbdev,dummy,:0...) and no one works. I haven't tried the ":0.0" but I have to wait tomorrow to give it a try. Thank so much again.

Offline

#8 2012-09-21 00:38:44

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,152

Re: How to have Firefox working in Frame Buffer?

karol wrote:
cfr wrote:

Is that display available? That is, does it correspond to the value of $DISPLAY in your X session?

That would open firefox in X and he wants it in tty.

Oh. I didn't think that was possible for something like Firefox. Don't applications need to have been designed to work in a frame buffer? I didn't think you could run arbitrary graphical applications there. (Neat if you can, though!)


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#9 2012-09-21 01:07:07

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,358

Re: How to have Firefox working in Frame Buffer?

cfr wrote:

(Neat if you can, though!)

You really should read through the discussion before replying. I had the same thought you did on seeing the topic, but its already been covered above...


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#10 2012-09-21 02:11:16

Jristz
Member
From: America/Santiago
Registered: 2011-06-11
Posts: 1,022

Re: How to have Firefox working in Frame Buffer?

I run th entire xfce + libreoffice, snes,firefox, flash...only using xorg+xf86-video-fbdev and NO ether xf86-video installed and runing startx


Well, I suppose that this is somekind of signature, no?

Offline

#11 2012-09-21 02:57:44

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: How to have Firefox working in Frame Buffer?

I foudn this the other day... looked interesting.  Not firefox though...
http://soosck.wordpress.com/2010/11/16/ … -line-css/

Offline

#12 2012-09-21 07:56:33

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: How to have Firefox working in Frame Buffer?

Jristz wrote:

I run th entire xfce + libreoffice, snes,firefox, flash...only using xorg+xf86-video-fbdev and NO ether xf86-video installed and runing startx

Just to be 100% sure: you run firefox etc. in X, not in tty, right?

Offline

#13 2012-09-21 08:00:12

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: How to have Firefox working in Frame Buffer?

karol wrote:
Jristz wrote:

I run th entire xfce + libreoffice, snes,firefox, flash...only using xorg+xf86-video-fbdev and NO ether xf86-video installed and runing startx

Just to be 100% sure: you run firefox etc. in X, not in tty, right?

Firefox!? What about Libreoffice?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#14 2012-09-21 09:12:30

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: How to have Firefox working in Frame Buffer?

rix - I think you're confused. The post that you link to says you installed xf86-video-fbdev (like jristz above), which is a X driver. You still have to run X to use it, and you still have to run your apps inside your X session. When you run X the DISPLAY variable is set automatically. I just closed down X here, removed the radeon driver that I normally use, installed that fbdev driver, and restarted X. Everything came up just fine, including firefox.

If you're really looking for a way to run gui apps e.g. firefox outside X, then afaik DirectFB is your only option.

Offline

#15 2012-09-21 09:14:29

rix
Member
Registered: 2012-07-25
Posts: 238

Re: How to have Firefox working in Frame Buffer?

Good morning to everyone and thanks for the reply.

I'm becoming confused. smile

@ Jristz:
have you run all those stuff in X or in the Tty?
I'm talking about how to run them in Tty.

@ WonderWoofy:
I'm reading the link. Thanks.

@ jasonwryan:
I don't understand your post. Did you mean that you can run also Libreoffice in Tty?

...
Edit:

@ tomk:
Yeah, I'm confused right now. smile
So it's as I thought. It's possible just via DirectFb.
Now the question is: how?
I've already tried with Firefox, with DFB documentation without luck.

My goal would just be to have a "graphical" browser * outside * X. Just to have a decent Javascript support.
I already can read my mail, pdf, images, browsing the web (W3m for inline image and Elinks for navigation via hints), watching video (Flash too) anche listen to music. And for panels, session and keyboard shortcuts I use a scripted Tmux.
I know that support for "Office files" still left but it's not so important and we do what we can.
But what about Javascript?

Thank so much. smile

Last edited by rix (2012-09-21 09:28:08)

Offline

#16 2012-09-21 09:45:18

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: How to have Firefox working in Frame Buffer?

netsurf link provided by WonderWoofy looks interesting. You will have to modify the PKGBUILDs a bit, because the project uses -git instead of -svn. If the current builds allow

make TARGET=framebuffer

it may work.

Offline

#17 2012-09-21 10:53:26

rix
Member
Registered: 2012-07-25
Posts: 238

Re: How to have Firefox working in Frame Buffer?

I can't install Netsurf.
The version from Arch repo just doesn't work w/ Framebuffer.
Trying from source, it says that Libnsfb is missing but when I try to install it via Git (git clone git://git.netsurf-browser.org/libnsfb.git), compilation fails w/:

Makefile:10: /opt/netsurf/share/netsurf-buildsystem/makefiles/Makefile.tools: File or directory don't exist.
Makefile:83: /Makefile.top: File or directory don't exist.
make: *** No rules for generate target «/Makefile.top».  Stop.  

Suggestions would be really appreciate.
Thank so much. smile

Last edited by rix (2012-09-21 10:56:44)

Offline

#18 2012-09-21 11:07:09

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: How to have Firefox working in Frame Buffer?

Why aren't you using the AUR packages?

Offline

#19 2012-09-21 11:44:35

rix
Member
Registered: 2012-07-25
Posts: 238

Re: How to have Firefox working in Frame Buffer?

@ tomk:
because svn packages require Libnsfb and the problem w/ it, it's the same w/ the source.
The git package need Lemon which I don't even know what's it.

Last edited by rix (2012-09-21 12:37:02)

Offline

#20 2012-09-21 12:49:47

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: How to have Firefox working in Frame Buffer?

Please search, it's not hard:

aur/lemon 1.69-2 (90)
    The LEMON LALR Parser Generator used in sqlite 1.69

And as mentioned already, the svn packages are obsolete.

Offline

#21 2012-09-21 12:56:05

rix
Member
Registered: 2012-07-25
Posts: 238

Re: How to have Firefox working in Frame Buffer?

@ tomk:
you're right, sorry. Often I serach everywhere forgetting Aur...

I'm trying that.
Sorry for that stupid mistake and thank so much for reply.

---
Edit:

Lemon installed (thank tomk). Now the git Netsurf Aur package requires Libhubbub which I downloaded from Aur (I'm learning the lesson big_smile ). But the Libhubbub installation returns me this error:

Makefile:10: /usr/share/netsurf-buildsystem/makefiles/Makefile.tools: Permission denied.
Makefile:44: /Makefile.top: File or directory don't exist.
make: *** No rules to generate target «/Makefile.top».  Stop.

Thank so much. U^U

Last edited by rix (2012-09-21 13:04:46)

Offline

#22 2012-09-21 13:01:53

ANOKNUSA
Member
Registered: 2010-10-22
Posts: 2,141

Re: How to have Firefox working in Frame Buffer?

So, just because I'm that kind of jerk, I have to ask:  Any reason you need to run Firefox through a tty, rather than just using something like w3m (which supports images)?  Seems like a hell of a lot of hassle for no payoff at all, and if your machine's resources are so limited that running from tty is a necessity, then Firefox isn't the best choice in the first place.

Anyhoo, you could just follow karol's instructions using the Netsurf PKGBUILD from ABS if not the AUR.

Offline

#23 2012-09-21 13:14:37

rix
Member
Registered: 2012-07-25
Posts: 238

Re: How to have Firefox working in Frame Buffer?

@ ANOKNUSA:
I need some kind of graphical browser (Firefox, Netsurf...) in the hope to reach to have a better Javascript (and so on) support in Tty web browsing.
As mentioned above I already use W3m (for inline images) and Elinks (for hints) for "normal" browsing.

And also we can say I need Tty because my Vaio it's quite old (just 1Gb of Ram) and X have a problem that I can't resolve (see this thread).

Last edited by rix (2012-09-21 13:19:45)

Offline

#24 2012-09-21 13:34:29

skanky
Member
From: WAIS
Registered: 2009-10-23
Posts: 1,847

Re: How to have Firefox working in Frame Buffer?

Have you tried Links2? ELinks is based on Links 0.9 (I think) so Links2 has a different base set and supports at least some forms of javascript.
The problem is that you need to compile Links and specifically enable js support as it was buggy, apparently.

There's a Links package in Community (I think it is) that is, not js enabled, and a framebuffer & js enabled package in AUR - https://aur.archlinux.org/packages.php?ID=23408


"...one cannot be angry when one looks at a penguin."  - John Ruskin
"Life in general is a bit shit, and so too is the internet. And that's all there is." - scepticisle

Offline

#25 2012-09-21 13:46:58

rix
Member
Registered: 2012-07-25
Posts: 238

Re: How to have Firefox working in Frame Buffer?

@ skanky:
sincerly I haven't tried Links2. I leaved it apart at the moment of choosing a text web browser.

I start to think that give it a try it's my last chanche to get a more decent Js support.

Thank so much for reply. wink

Offline

Board footer

Powered by FluxBB