Questions tagged [fbi]

Fbi is an image viewer for the Linux console framebuffer

Fbi is an image viewer for the Linux console framebuffer. It shares its code base with the X11 image viewer ida.

FIM (Fbi IMproved) is a fork of Fbi that uses the SDL library and strives to be customizable and scriptable.

10 questions
10
votes
2 answers

How can I get the number bytes to write per row for FrameBuffer?

Goal: I'm writing a very simple image viewer for framebuffer /dev/fb0 (something like fbi). Current state: My software takes the pixel resolution from /sys/class/graphics/fb0/virtual_size (such as 1920,1080). And then (for each row) it will write 4…
Garid Z.
  • 500
  • 2
  • 12
6
votes
1 answer

Is it possible to run fbi inside tmux if the tmux if running in a virtual tty?

I have already looked at this question and the solution works insofar as I can get an image displayed in my virtual console. However, if I first launch a tmux inside the virtual console, and then try fbi , this fails with the following…
merlin2011
  • 3,855
  • 5
  • 27
  • 36
3
votes
1 answer

How to use fbi from systemd service

I'm trying to display images on a television from a system with no Xserver (Raspbian Buster). I can't get fbi working from a systemd service but it works through ssh terminal. The following works through ssh... sudo fbi -T 1 /path/to/image.jpg But…
deanresin
  • 432
  • 1
  • 5
  • 22
3
votes
3 answers

How to send commands to fbi over SSH?

I'm using fbi to display some images. fbi has some keyboard controls, like +, -, Page Up, Page Down, etc. to control the images. Instead of using keyboard, I want to send these control commands over SSH to fbi. I have already tried the following…
Omid1989
  • 286
  • 1
  • 5
  • 16
2
votes
0 answers

fbi stops reading fifo after first write

I'm having trouble controlling fbi through a named pipe, it seems fbi simply stops listening to the pipe after the first write and I can't figure out why. I'm running something like: $ mkfifo /tmp/fbi $ sudo fbi -T 1 *.png < /tmp/fbi & [1] 19374 $…
2
votes
1 answer

How to display a .jpg file using fbi in a bash script for set amount of time and then execute the next command in the script

I am trying to use fbi in a bash script to display a series of .jpg images. But once fbi begins its process, it continues to cycle through the images and I only want to display each image once for a set period of time.
Steve B
  • 21
  • 1
  • 2
1
vote
1 answer

Can't clear /dev/fb0

I have one of those 7" HDMI diplays from eBay, driving it with a Q1900 board running Ubuntu 20. I can write to the display using fbi: sudo fbi -a -T 1 --noverbose -d /dev/fb0 -t 5 --blend 1000 "${PICTURE}" But the images seem to stay in the…
0
votes
0 answers

What is the definitive (and simplest) way to use fbi on Raspberry OS Buster to display images automatically on startup?

I have made all sorts of modifications to my ACLs and even created a photos.service that starts fbi, but it only starts, and displays 1 image before the screen goes blank. I have other processes (web server also displaying photos), and Samba running…
jp314
  • 131
  • 4
0
votes
1 answer

Buildroot: compile fbi against kernel headers

I'm adding a generic-package to Buildroot 2019.02.1. This package (fbi) includes in the fbtools.c, but the headers are not available in output/target. Compiling the package causes the following error: $ make fbi-rebuild [...] CC …
Bayou
  • 155
  • 7
0
votes
2 answers

How to echo tty1 after displaying an image via fbi?

I can echo to /dev/tty1: echo "hello" > /dev/tty1 I can display an image (while booting or not): fbi -T 1 -noverbose -a test.png I can display the image after printing "hello" to the console, but I can not print anything after displaying an…
ceremcem
  • 2,231
  • 1
  • 23
  • 53