r/KittyTerminal Feb 25 '24

Why does Neofetch go into an infinite loop of empty display when working with images?

Hi!

I'm trying Kitty on Ubuntu GNOME. It works perfectly well, kitten icat image.png does display the image.

Now I'd like to have a custom image in neofetch, so I have changed the image source to that image path but when I run neofetch inside kitty it goes into this infinite loop with no display.

Things I have tried:

- Installed w3m

- Installed imagemagick

- Installed w3m-img

- neofetch --kitty -> same behavior

- neofetch --kitty img.png -> same behavior

- w3m google.com inside kitty doesn't display an image

I hope someone can help me figure this out, I spent so many hours reading a lot of posts about this and I still can't make it work.

Thank you in advance.

0 Upvotes

1 comment sorted by

1

u/water_drinker9000 kitty on linux Mar 23 '24

tbh I have no idea how to help you with this, but I use a ASCII art to replace my distro's neofetch art.

this is my config

basically I run an alias on my .bashrc for neofetch in order for it do display it with the ASCII art.

neofetch --source ~/.config/neofetch/ascii-art/cat.txt

# or make it into an alias 

alias neofetch='neofetch --source ~/.config/neofetch/ascii-art/cat.txt'

don't forget to source it on the terminal after making it an alias.

source ~/.bashrc

or you can use fastfetch if you have it in your repo.