Posts tagged with “bash”

How to use Hald CLUT files on Android (almost the Linux way)

Hald CLUT files offer a quick and easy way to apply effects to photos, and there are plenty of desktop applications that can handle the task. But if you want to use your favorite Hald CLUT files on an Android device, you'll quickly discover that there are not that many apps (if any at all) that allow you to do that. No problem: instead of relying on a third-party proprietary app, you can roll out your own solution using Termux.

Continue reading

Instant offline translation with Argos Translate and a dash of Bash

Google Translate is great, until it's not. The quality of translation is undeniably impressive, and the apps have some genuinely useful features. But even if you choose to ignore the fact that Google lives off our data, there is a matter of Google Translate not working offline—not on a Linux system, anyway. And even if it could do that, there is still a case to be made for using and supporting an open-source alternative free from the shackles of surveillance capitalism.

Enter Argos Translate, an open-source neural machine translation engine that works offline and is available as a Python library, a command-line tool, a web application, and a desktop utility. Install Argos Translate on your machine, add a simple Bash shell script, and you can instantly translate a text selection from any application. Here is how to do this on Ubuntu and Linux Mint.

Continue reading

Android-based camera companion

Nikon D800 and Pixel 4a

I use my Android device for a lot of things: from booking train tickets and checking weather forecasts, to... Well, pretty much everything else. But for some reason, I've never seriously considered it to be useful as a camera tool. While I was tinkering with Termux, it occurred to me that it can transform an Android device into a camera companion that can perform both photo backup and processing duties.

Continue reading