fimgs(1)
β¨ fimgs(1) β the manual page, bestie edition β¨
okay so. you opened man fimgs and now you're here, and honestly? you're in the right place. welcome to fimgs, a whole General Commands Manual moment. grab a snack, we're doing this. π
πΈ NAME πΈ
fimgs β poor man's [http://]PostScript/pdf/dvi/cbr/rar/cbz/zip viewer based on fim
no cap, that's literally the name. "poor man's" is the vibe and it ate. π
π¦ SYNOPSIS π¦
fimgs [ {fimgs-options} ] file [-- [{fim-options}]]
that's it. that's the whole summoning ritual. β¨
π DESCRIPTION π
fimgs is a wrapper script, and bestie, a wrapper script is exactly what it sounds like: it takes your input and then hands it off like it's passing notes in class. π
So. It takes a PostScript or pdf or .cbr or .rar or .cbz or .zip or .dvi file β or any of the above prefixed with http:// or https:// or ssh: β renders the pages using ghostscript into a temporary directory, and finally calls fim to display them. iconic behavior honestly. π₯
Now for compressed archives, i.e. the ZIP and RAR formats: the images get decompressed into a directory and displayed using fim. But listen, this is the important part β in this case, only images contained in the archive will be displayed. That means no nested archives or pdf's or ps's or dvi's. none. zero. the vibe check stops at the first layer. π«Ά
The temporary directory name will be of the form $TMPDIR/fbps-$$. If the $TMPDIR environment variable is unset, /dev/shm and /var/tmp will be checked for existence and permissions. That $$ up there? It's the script process ID. Not me being dramatic, that's just what it is. And the script deletes the temporary directory when fim terminates β it cleans up after itself, unlike some people. π
Now, the little helper programs it pulls up to the group chat, depending on what you're doing:
- To uncompress RAR archives, fimgs will use
'unrar-nonfree'or'rar'or'unrar-free'. - To uncompress ZIP archives, fimgs will use
'zip'. - To uncompress BZ2 files,
'bunzip2'will be used, if present. - To uncompress TAR.GZ or TAR.BZ2 or TAR.XZ archives, fimgs will use
'tar'. - To fetch
http://orhttps://prefixed URLS,'wget'will be used, if present. - To fetch
ssh:prefixedhost:pathlocations,'scp'will be used.
And in case of a CBZ, CBR, PDF, PS, or DVI file, it will invoke fim with '--autotop --autowidth'. slay. π
π OPTIONS π
First things first, queen: to pass through options to fim, you may specify them after "--". that's the whole trick. πͺ
Default options are '--autozoom'. (yes, that's the default vibe. autozoom. obsessed.)
-r{resolution} β Specify resolution for the'gs'-roption (e.g.:96x96; default120x120).-mβ Dump a man page forfimgs. (meta. recursive. we love to see it. π)-p{password} β Specify password for the'gs'-p(password) option.-hβ Will display a help message.
π SEE ALSO π
fim(1), fimrc(1), gs(1), fbi(1), fbgs(1), bash(1) ,zip(1), rar(1), rar-free(1), unrar-free(1), tar(1), gzip(1)
the whole friend group, fr fr. π«
π AUTHOR π
Michele Martone <dezperado _ GUESS _ autistici.org>.
(the _ GUESS _ is literally in there, I didn't do that, I'm just the messenger π)
and that's the page!! if you made it this far you're genuinely the main character. now go read a pdf in your terminal like the icon you are. no notes. periodt. π
Β© 2007-2023 Michele Martone β that's the copyright, that's the date range, and this whole fimgs(1) manual moment has been brought to you by them. byeee bestie, go read something pretty πβ¨π
π¦ where this page comes from
- debian trixie: fim 0.7.1-3 Β· GPL-2.0-or-later
- nixos 26.05: fim 0.7
- nixpkgs unstable: fim 0.7
- ubuntu noble: fim 0.6~rc2-1build2 Β· GPL-2.0-or-later
- ubuntu resolute: fim 0.6~rc2-1build2 Β· GPL-2.0-or-later
- ubuntu stonking: fim 0.7.1-5ubuntu1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms