Science and technology

Relax by the hearth at your Linux terminal

Welcome again. Here we’re, simply previous the midway mark at day 13 of our 24 days of Linux command-line toys. If that is your first go to to the sequence, see the hyperlink to the earlier article on the backside of this one, and have a look again to be taught what it is all about. In quick, our command-line toys are something that is a enjoyable diversion on the terminal.

Maybe some are acquainted, and a few aren’t. Either method, we hope you’ve gotten enjoyable.

If you are within the northern hemisphere outdoors of the tropics, maybe winter is beginning to rear its frigid face outdoors. At least it’s the place I dwell. And some I might love nothing greater than to twist up by the hearth with a cup of tea and my favourite ebook (or a digital equal).

The dangerous information is my home lacks a hearth. The excellent news is that I can nonetheless fake, because of the Linux terminal and in the present day’s command-line toy, aafire.

On my system, I discovered aafire full of aalib, a pleasant library for changing visible photos into the type of ASCII artwork and making it out there at your terminal (or elsewhere). aalib permits all types of enjoyable graphics on the Linux terminal, so we might revisit a toy or two that make use of it earlier than the tip of our sequence. On Fedora, this meant set up was so simple as:

$ sudo dnf set up aalib

Then, it was easy to launch with the aafire command. By default, aalib tried to attract to my GUI, so I needed to manually override it to maintain my hearth within the terminal (this can be a command-line sequence, in any case). Fortunately, it comes with a curses driver, so this meant I simply needed to run the next to get my hearth going:

$ aafire -driver curses

You can discover out extra in regards to the aa-lib library and obtain the supply on Sourceforge, beneath an LGPLv2 license.

Do you’ve gotten a favourite command-line toy that you just suppose I ought to incorporate? The calendar for this sequence is usually stuffed out however I’ve acquired a number of spots left. Let me know within the feedback under, and I am going to test it out. If there’s area, I am going to attempt to embody it. If not, however I get some good submissions, I am going to do a round-up of honorable mentions on the finish.

Check out yesterday’s toy, 
Patch into The Matrix at the Linux command line , and test again tomorrow for an additional!

Most Popular

To Top