Image paste on Konsole

I’ve been using konsole for the longest time mostly because I don’t really care about configurations and special features on my console emulation. Also it already has good integration all across kde. However one feature I really miss is pasting images, especially now with AI agents. To put it simply when I want to paste an image to show e.g. claude code what I want to fix/create I have to add the image in my project and tell it to use it instead of just pasting it. It would be a great feature.

Terminals in general aren’t really designed to work with images. Konsole can display images printed in the Sixel format, but as for pasting in a common image file (e.g. a PNG), that is not gonna work.

Spectacle can be configured to copy the file path of the output when taking a screenshot (Spectacle → Configure Spectacle… → General → After taking a screenshot: → set dropdown to “Copy image to clipboard”). With that configured, you can take a screenshot and immediately paste the file path into your chat prompt, which might be sufficient for your use case. You can also Ctrl+click an image file path in Konsole to open it in your default image viewer.

You mean the image buffer from clipboard history or an image file from your computer? If it’s the latter then you can paste the path to the image no need to add it to the project.

From what I can see if I take a screenshot using e.g. spectacle and paste it in the terminal engine of Intellij IDEA it pastes the /tmp path it was saved so it can work in that sense. But in the default konsole instance you can’t do that.