Interact with this post using Mastodon or
Image viewer/browser: ucollage
Published on
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:
- renaming
- rotation
- moving to trash
- saving modifications
- and more via scripts use (see the section below)
Images editing supports undo and redo actions as well.
╭── Customization
Customizatin of ucollage
can be done:
- through a list of variables .
- by editing the keybindings to your liking. You can change the keybindings associated to the default commands but also call your own scripts.
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.
✄ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈
More food for thoughts? Check other posts about: #Cli