www-gem words

Image viewer/browser: ucollage

Published on

cli I spent most of my time in the terminal just because I can now complete most of my tasks faster that way but - as everyone knows - image viewing in a terminal is not that great. There’re some options to view images using specific terminals or tools but you’re mostly limited to actually view the images, you can’t manipulate them. You may get lucky if you’re offered some manipulating options. Thanks to our great community, you always find the right tool for your needs and ucollage is the tool I was looking for.

As far as I’m concerned, browsing, viewing and manipulating images is really what makes me use ucollage so let’s see what you get.

╭── Images browsing

ucollage let you browse an entire folder. When you open it, images and video thumbnails will be shown to you using a grid. Note that you can customize the size (column and lines) of this grid and you can also sort the files by name, time, size, and extension. From there you simply move across the files and open the one you want to show in fullscreen. Once you’re done with a specific image, you can directly move to the previous/next image in the folder or go back and navigate through the grid again.

╭── Images manipulation

Here are the possible images manipulations:

Images editing supports undo and redo actions as well.

╭── Customization

Customizatin of ucollage can be done:

For example, here are 2 customized command I use:

map="xd" command="delete" script="trash-put %s" # send the file to trash [1]
map="xw" command="wallpaper" script="xwallpaper --stretch %s" # set the file as wallpaper

[1] see the trash-cli tool

Note that ucollage uses ueberzug to show the images but unfortunately the latter (which I also use in combination to fzf) has been recently abandoned by its developer (seebye) for personal reasons. It’s still used by a lot of other tools and it’s nice to see that this awesome project has been forked by ornfelt .


Thanks for your read. Hope it's been useful to you.


Interact with this post using Mastodon or

Comment on wwwgem's post

Copy and paste this URL into the search field of your favourite Fediverse app or the web interface of your Mastodon server.

✄ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈

More food for thoughts? Check other posts about: #Cli