LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Can anyone get seejpeg & svgalib to work? An alternative non-X image viewer? (https://www.linuxquestions.org/questions/slackware-14/can-anyone-get-seejpeg-and-svgalib-to-work-an-alternative-non-x-image-viewer-4175624449/)

RandomTroll 02-25-2018 03:19 PM

Can anyone get seejpeg & svgalib to work? An alternative non-X image viewer?
 
I was happy with seejpeg & svgalib, but they stopped working sometime ago and nothing I have tried has gotten them to work. I've been building fbida to view images non-X-ly. I see no alternative package in Slackware: have I missed it?

BW-userx 02-25-2018 03:31 PM

Monkey Linux
current version 06
released 9/5/1997
http://projectdevolve.tripod.com/table/seejpeg.htm

BSD Port
https://www.freshports.org/graphics/seejpeg/

syg00 02-25-2018 10:20 PM

Have a look at feh - I quite like it.

orbea 02-25-2018 10:23 PM

Quote:

Originally Posted by syg00 (Post 5824305)
Have a look at feh - I quite like it.

Does feh work without xorg? I tried opening an image in tty2 with feh and received this error.

Code:

feh ERROR: Can't open X display. It *is* running, yeah?

syg00 02-25-2018 10:30 PM

Hmmm - sorry about that ... coulda sworn I'd used it on one of my non-GUI systems.

bassmadrigal 02-25-2018 11:16 PM

On 14.1, I was able to rebuild libcaca after installing imlib2 from SBo and removing the --disable-imlib2 from the libcaca SlackBuild, but in my quick tests, I'm running into compilation issues on 14.2. Unfortunately, I don't have time to dig into it right now, but it might be worth looking into yourself.

Once you have libcaca built with imlib2 support, you can use cacaview to view images in the terminal without X.

vonbiber 02-26-2018 01:29 AM

Quote:

Originally Posted by RandomTroll (Post 5824170)
I've been building fbida to view images non-X-ly. I see no alternative package in Slackware: have I missed it?

I have fbida-2.13 installed in my system (14.2 64-bit) and it works ok
in a console (no X).

fbv (FrameBuffer Viewer) (I didn't build/install it):
http://repo.or.cz/w/fbv.git

fbvis (which I built but didn't install) is a small framebuffer image viewer.
It includes stbi and lodepng and does not use external libraries.
fbvis is short for visualize on the framebuffer.
http://repo.or.cz/fbvis.git

fim (lightweight image viewer) (I built version 0.5_rc3 but it's not installed)
http://www.nongnu.org/fbi-improved/

RandomTroll 02-26-2018 09:08 AM

Quote:

Originally Posted by BW-userx (Post 5824176)
Monkey Linux
current version 06
released 9/5/1997
http://projectdevolve.tripod.com/table/seejpeg.htm

That's a version of seejpeg and svgalib even older than Slackware's package; the links it has to source are dead.

Quote:

Originally Posted by vonbiber (Post 5824328)
I have fbida-2.13 installed in my system

From a Slackware package? I've been using fbida for years but I've built it myself.

Quote:

Originally Posted by vonbiber (Post 5824328)
(I didn't build/install it):
fbv (FrameBuffer Viewer)...fbvis... fim (lightweight image viewer)

Quote:

Originally Posted by bassmadrigal (Post 5824318)
On 14.1, I was able to rebuild libcaca after installing imlib2 from SBo and removing the --disable-imlib2 from the libcaca SlackBuild,...Once you have libcaca built with imlib2 support, you can use cacaview to view images in the terminal without X.

Quote:

Originally Posted by syg00 (Post 5824305)
Have a look at feh - I quite like it.

I raised the issue in the Slackware forum because I hoped that Slackers would want a non-X image viewer as part of Slackware. If I'm the only one - hard cheese for me.

vonbiber 02-26-2018 10:29 AM

Quote:

Originally Posted by RandomTroll (Post 5824451)
From a Slackware package? I've been using fbida for years but I've built it myself.

fbida, fim, fbvis: I built all of these from source and
my own SlackBuilds (which I'd be happy to share)

BW-userx 02-26-2018 10:50 AM

Quote:

Originally Posted by RandomTroll (Post 5824451)
That's a version of seejpeg and svgalib even older than Slackware's package; the links it has to source are dead.


that is what made me wonder why you looking to raise the dead. then I read about it in the paper, (LQ post) So I just stayed out of it.

vonbiber 02-26-2018 02:31 PM

There's also zgv
http://www.svgalib.org/rus/zgv/
but, looking at the ChangeLog, the latest version (5.9) dates from 2005-01-28

Alien Bob 02-26-2018 02:49 PM

I'll go on a tangent.
Perhaps you should try netsurf? It is actually a light-weight web browser that works in the framebuffer but it displays mere images just fine, too.
See https://alien.slackbook.org/blog/net...amebuffer-too/ for more info. Actually very useful if you need information from the Internet and you're on a server without X.

RandomTroll 02-26-2018 04:13 PM

Quote:

Originally Posted by vonbiber (Post 5824493)
fbida, fim, fbvis: I built all of these from source and
my own SlackBuilds (which I'd be happy to share)

I've been building fbida for years and am happy enough with it (though it often can't display PDFs). I didn't ask about a viewer but a package, in case I had missed a package in Slackware so I didn't waste my time asking for a package to be added.

Quote:

Originally Posted by vonbiber (Post 5824586)
There's also zgv
http://www.svgalib.org/rus/zgv/
but, looking at the ChangeLog, the latest version (5.9) dates from 2005-01-28

I tried to build zgv and failed: it requires svgalib.

Quote:

Originally Posted by BW-userx (Post 5824500)
that is what made me wonder why you looking to raise the dead. then I read about it in the paper, (LQ post) So I just stayed out of it.

seejpeg and svgalib are still Slackware packages: they may be effectively dead but they live in Slackware's distribution. If no one can make them work perhaps they should be removed.

Quote:

Originally Posted by Alien Bob (Post 5824589)
I'll go on a tangent.
Perhaps you should try netsurf? It is actually a light-weight web browser that works in the framebuffer but it displays mere images just fine, too.
See https://alien.slackbook.org/blog/net...amebuffer-too/ for more info. Actually very useful if you need information from the Internet and you're on a server without X.

Thanks. I downloaded it and will try it. I have X but I prefer non-X and I'd rather not start up a browser just to display an image.

chemfire 02-26-2018 04:17 PM

Alien Bob - Along Alien Bob's tangent why not use links? Its already in slackware!

"links -driver fb" - should start the graphical version using the frame buffer.

allend 02-26-2018 05:32 PM

A quick test of .jpg and .png with
Code:

links -g <filename>
works for me.


All times are GMT -5. The time now is 02:54 AM.