Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gnome-terminal + vte with sixel support, but lsix not working #66

Closed
qrockz opened this issue Oct 14, 2023 · 2 comments
Closed

gnome-terminal + vte with sixel support, but lsix not working #66

qrockz opened this issue Oct 14, 2023 · 2 comments

Comments

@qrockz
Copy link

qrockz commented Oct 14, 2023

GNOME Terminal
Version 3.51.0 for GNOME 46
Using VTE version 0.75.0 +BIDI +GNUTLS +ICU +SIXEL +SYSTEMD

But lsix still not working despite vte provides sixel support as you can see above.
Error: Your terminal does not report having sixel graphics support.

@hackerb9
Copy link
Owner

Thanks for reporting the problem. Is sixel now in the standard version of GNOME Terminal? Or is this a fork?

To debug this, please check the device attribute codes that lsix shows: those are the features which your terminal has reported as being available. A terminal that supports sixel will have the number "4". Then try this:

convert  foo.jpg  -geometry 800x480  sixel:-

If using convert by hand works and there is no "4" in the list, then that means your terminal has a bug which should be reported. Please let me know what your tests reveal.

@qrockz
Copy link
Author

qrockz commented Oct 15, 2023

Ah, I had to enable it in Gnome-Terminal GUI/Edit/Preferences/Compatibility/"Enable SIXEL images"
screenshot

Is sixel now in the standard version of GNOME Terminal? Or is this a fork?

I don't know if this Checkbox Enable SIXEL images was there before I've recompiled vte with -Dsixel=true option + gnome-terminal.
I've followed these constructions:

       git clone https://github.com/GNOME/vte.git
       cd vte
       meson build -Dsixel=true
       ninja -C build install
       sudo ldconfig
       sudo apt install appstream
       git clone https://gitlab.gnome.org/GNOME/gnome-terminal
       cd gnome-terminal
       meson build -Dsearch_provider=false
       ninja -C build install

@qrockz qrockz closed this as completed Oct 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants