You are not logged in.

#1 2016-07-16 16:35:04

nefas
Member
Registered: 2016-07-16
Posts: 11

[SOLVED] fbi with st terminal emulator

Hi,

I'm trying to use fbi on st but I have an error :

using "DejaVu Sans Mono-16", pixelsize=16.67 file=/usr/share/fonts/TTF/DejaVuSansMono.ttf
ioctl VT_GETSTATE: Inappropriate ioctl for device (not a linux console?)

Looking for solution, I've found that my user should be in video group so fbi have access to /dev/fb0. I've added my user to the video group but it did nothing.
I've tried using fbi with sudo but it did nothing more.

I have this error only with st (on tty1 with graphic interface). fbi works fine on tty2+ (tty without graphic interface).
I've tried with other terminal emulator (xterm and urxvt), with the same result as with st.

Is there a way to make fbi works with st ?

Thank you for your answers.

Last edited by nefas (2016-07-16 18:20:56)

Offline

#2 2016-07-16 16:51:48

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: [SOLVED] fbi with st terminal emulator

fbi outputs directly to the framebuffer, it works *only* without a graphic interface. That's the whole point of it. It's not meant to run in terminal emulators.

Offline

#3 2016-07-16 17:24:37

nefas
Member
Registered: 2016-07-16
Posts: 11

Re: [SOLVED] fbi with st terminal emulator

ok, I had not understood that.

Off-topic : I'm trying to find a way to display pdf, images ... in the neovim terminal (just for "fun", not to do something usefull).

Anyway, thank you for your answer.

[EDIT]: Off-topic 2 : is there a way to mark the thread as solved ?

Last edited by nefas (2016-07-16 17:27:20)

Offline

#4 2016-07-16 18:20:16

2ManyDogs
Forum Moderator
Registered: 2012-01-15
Posts: 4,645

Re: [SOLVED] fbi with st terminal emulator

nefas wrote:

[EDIT]: Off-topic 2 : is there a way to mark the thread as solved ?

Edit the title of your first post.


How to post. A sincere effort to use modest and proper language and grammar is a sign of respect toward the community.

Offline

#5 2016-07-17 02:06:30

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: [SOLVED] fbi with st terminal emulator

For images, try the w3m browser. Yeah it's a web browser, not an image viewer, but it's capable of showing images in a terminal emulator. For pdf, no idea.

Offline

Board footer

Powered by FluxBB