FIM – Linux framebuffer image viewer
42 points by Mr_Minderbinder 3 hours ago | 22 comments

lrvick 2 hours ago
You can also use mplayer with "-fp" to play video on the frambuffer as well.

I have gone weeks at a time without using a graphical desktop at all thanks to these tools.

reply
hkt 2 hours ago
This is a great tip, do you have others? I've tried to ditch graphical desktop envs and failed pretty miserably on media consumption and browsing before.
reply
redsocksfan45 35 minutes ago
Don't use mplayer for this. Use mpv --vo=gpu --gpu-context=drm

This gives you hardware acceleration without a desktop environment.

reply
antisol 41 minutes ago
yep! and ffplay will detect your situation and run on the framebuffer if that seems appropriate. I'm sure there's arguments to explicitly tell it to do that, but I've never used them :)
reply
pjmlp 19 minutes ago
More like UNIX and MS-DOS concepts.
reply
globalnode 11 minutes ago
this wont work with wayland will it? has to be a raw tty?
reply
anthk 58 minutes ago
I think this came with fbgs too; and fbpdf2 it's a better fbpdf (no more slow GhostScript convertings), it just calls poppler/MuPDF libraries.
reply
sylware 3 hours ago
Should it be DRM nowdays?
reply
whizzter 2 hours ago
I think the framebuffer devices is a least common denominator that is available on even miniscule or emulated hardware whilst anything above thats starts requiring a whole lot more infrastructure.

And honestly, you don't need much more for an image viewer.

reply
antisol 2 hours ago
This is exactly right - you can get a framebuffer on just about anything, including pretty much any video card made since about 1990, and also more fun things like the little i2c display that your toaster has. No need to restrict relatively simple software like fbi/fim to running on less hardware by using drm.
reply
anthk 54 minutes ago
I used to play videos with the framebuffer just fine and read PDF's with fbpdf2, among watching TV with fbtv and the like. I didn't miss nearly anything, as most games under SDL1/2 can render into FB with

      export SDL_VIDEODRIVER=fbcon 
or

      export SDL_VIDEODRIVER=kmsdrm
And tons of games too, such as Supertux2, Crispy Doom, SDLQuake, FreeCiv-SDL...
reply
antisol 35 minutes ago
another fun one if you're in an exotic situation and don't have a framebuffer (or if you just want to have some fun by making your games to look worse):

export SDL_VIDEODRIVER=aalib

unfortunately it's only SDL1, though

reply
kevinten10 2 hours ago
[dead]
reply
mnkylikeskbd 2 hours ago
Related to this are the (rather poorly named) kitty terminals graphics protocol: https://sw.kovidgoyal.net/kitty/graphics-protocol/

Yeah it is playful and all, but telling your colleagues to use "kitty" doesn't sound very professional. You might disagree with this, but that doesn't change the overall perception and general take in corporate world.

reply
bschwindHN 57 minutes ago
Did you just... make a new account just to say the word "kitty" is "unprofessional"?
reply
dspillett 11 minutes ago
As much as there are issues people have with kitty's creator/maintainer, which are easy to search for so I'll not reiterate them, choosing a slightly cutesy name is hardly a massively unprofessional act. It isn't like it is called Completely Uncomfortably Named TTY or similar… If you are so uptight that you can't cope with the word “kitty” being used to refer to a protocol, then maybe call it “kay-eye-tee-tee-why” instead?

> but that doesn't change the overall perception and general take in corporate world.

It may come as a shock to you, but many don't really care about the feelings of the corporate world, away from our day jobs. Heck, some of us struggle to care in our day jobs! Luckily my corporate overlords and immediate management are not quite so sensitive.

reply
opan 2 hours ago
The name "kitty" is nothing compared to the attitude and crimes of the dev (destroying bitmap support and telling people to buy new monitors). I will never use, support, or recommend kitty.
reply
moritonal 52 minutes ago
Interesting you say the Dev isn't a great person, because I had a hunch when I saw the use of the Lena photo on the front page (https://pursuit.unimelb.edu.au/articles/it-s-time-to-retire-...). It's interesting how small gestures present how someone sees the world.
reply
miki_oomiri 5 minutes ago
Man… you guys are ruthless. The dude provides a free tool to use, and used a cute named, have opinions about code, and used the most common used photo on his webpage, and suddenly he gets insulted on a public forum by strangers. He's not perfect. Nobody is. He has opinions, and might not even know about Lenna.

You people are gross.

reply
redsocksfan45 38 minutes ago
[dead]
reply
gbin 46 minutes ago
A crime?! Please people I don't even know what happened here but removing some bitmap support is a crime now for a maintainer of an open source piece of code? You are not happy with the project then where is your fork so we can assign some crimes to you and get out of our way to not recommend it? (Note: I am not affiliated at all with the project and I don't even know what happened but you really need to take a breather, no one forced you to use kitty)
reply
opan 16 minutes ago
>where is your fork

Luckily there are better terminal emulators out there, such as foot, so a fork is not necessary.

reply
roer 2 hours ago
The graphics protocol might be relevant, but I fail to see how the rest of your comment is.
reply
Chaosvex 40 minutes ago
Wait until you find out about Git.
reply