Did you know that you don't need X-Windows for graphics on Linux? Here's a few console programs that can display graphics using the framebuffer:

- fbi
Display and manage images directly from the command line.

- links2
A simple web browser without CSS and JS, can display inline images when switched to graphics mode with the -g param: 'links2 -g'

- mplayer
Play videos straight from the console! Can be a little tricky.

(And yes, I used a 5:4 monitor the screenshots.)

:crt_w_prompt: :blobowo:

@polychrome SDL has a DirectFB backend, so you might also be able to get some games to work

@impiaaa @polychrome SDL also has a DRM/KMS thing, which should be much faster and support vsync properly.

The fbdev stuff isn’t even used with most graphics drivers anymore.

Follow

@impiaaa @polychrome Also, w3m supports displaying images in terminals without relying on DirectFB graphics modes. Even works with some X11 terminals, though the implementation of that is extremely cursed.

@lachs0r and "ranger" file manager can use w3mimgdisplay for image previews! but yeah, it's pretty much cursed so i gave up on it.

also it isn't documented well, but there's a good article about it, so anyone can use it in their shell scripts: blog.z3bra.org/2014/01/images- .

(although sixel is better, afair fbi supported it)

@impiaaa @polychrome

Sign in to participate in the conversation
nazrin.moe

Tōhō, free software and a cute mouse.