hackerb9 / lsix

Like "ls", but for images. Shows thumbnails in terminal using sixel graphics.
GNU General Public License v3.0
3.99k stars 129 forks source link

Xterm Nothing Appears #11

Closed jlpoolen closed 5 years ago

jlpoolen commented 5 years ago

Using Gentoo Linux. installed lsix by placing in file: /tmp/lsix.

I'm in a Gnome desktop. I installed xterm

`jlpoole@taurus ~/Pictures $ eix -I xterm [I] x11-terms/xterm Available versions: 327{tbz2} ~333 ~337 {Xaw3d +openpty toolbar truetype unicode xinerama} Installed versions: 327{tbz2}(02:26:05 PM 12/27/2018)(openpty truetype unicode -Xaw3d -toolbar -xinerama) Homepage: https://invisible-island.net/xterm/ Description: Terminal Emulator for X Windows

jlpoole@taurus ~/Pictures $ `

I then launch an xterm:

xterm -ti vt340 &

And then within the displayed Xterm:

screenshot from 2018-12-27 20-24-45

My /home/jlpoole/.Xresources file:

 #
 # per    
 #  https://github.com/hackerb9/lsix/blob/master/lsix
 #
 #   xterm -ti vt340
 #

 xterm*decTerminalID    :   vt340

 xterm*allowWindowOps      : False

 xterm*disallowedWindowOps : 1,2,3,4,5,6,7,8,9,11,13,18,19,20,21,GetSelection,SetSelection,SetWinLines,SetXprop
hackerb9 commented 5 years ago

Looks like you're doing everything right.

Have you tried it with a different image, or perhaps a directory of images?

What happens when you use mlterm instead of xterm?

What happens if you don't specify the image to view and just run lsix without arguments?

Is there a reason you're running lsix through bash instead of just chmoding it ? Either way should work, but chmod is more convenient.

By the way, you don't need to specify "./" in "./test.png", but it shouldn't hurt.

jlpoolen commented 5 years ago

A run of lsix without arguments resulted in nothing.

I installed multi-aterm which has support for jpeg and png and when I ran lsix in it, a character stream appeared as if one performed a cat on a binary file.

Good luck.