Linux Candy is a series of articles covering interesting eye candy software. We only feature open source software in this series.
Some of the programs in this series are purely cosmetic, frivolous pieces of fun. Candy at their finest. But we also include some programs that aren’t purely decorative.
There’s a diverse range of programs included in this series. Programs such as eDEX-UI and Variety are actually highly practical programs. ASCIIQuarium has soothing and relaxing qualities for your desktop. Other programs included in this series (such as lolcat, cacafire) are included purely for their decorative qualities. And then there’s some really fun software that just raises a smile or two.
cbonsai is a bonsai tree generator, written in C using ncurses. It intelligently creates, colors, and positions a bonsai tree in your terminal.
On our test Ubuntu 23.04 system installation was plain-sailing. There’s a package in the Ubuntu repositories. Issue the command to install:
$ sudo apt install cbonsai
Issue the command
cbonsai and a randomly generated static tree is created in your terminal.
Besides the static mode, there’s also a live mode where you see the growth of the tree step-by-step. There’s the option to set the wait time between the steps of growth. Here’s a short video of cbonsai in its live mode with the default wait time of 0.03 seconds.
There are lots of configuration options available. Here’s a short outline:
- Infinite mode – keep growing trees.
- Screensaver mode – this is a combination of the live mode and the infinite mode.
- Attach a message next to the tree.
- Choose a different ascii-art plant base, and a list of comma-delimited strings randomly chosen for leaves.
- Branch multiplier.
- There’s also options to print the tree to the terminal, and change the seed random number generator.
cbonsai is a perfect candidate for the Linux Candy series.
We’re using it as a ‘screensaver’ on one of our monitors; it’s strangely mesmerizing with an almost haunting and hypnotic effect which is actually not good for productivity. OK, we’re waxing lyrically now!
We’re hoping the neofetch mode of bonsai.sh gets added in a later release.
Developer: John Allbritten
License: GNU General Public License v3.0
cbonsai is written in C. Learn C with our recommended free books and free tutorials.
Complete list of articles in this series:
|ASCIIQuarium||Embrace marine life from the terminal with beautiful ASCII art|
|BobRossQuotes||Collection of quotes from Bob Ross|
|Boxes||Command line ASCII boxes|
|Buoh||Online strips comics reader|
|cacafire||Color ASCII fire|
|catclock||xclock with an enhanced cat mode|
|cbonsai||Generate bonsai trees in the terminal|
|chucknorris||Chuck Norris jokes in your terminal|
|cornyjokes||Corny jokes for the terminal|
|CMatrix||ncurses program that simulates the display from “The Matrix”|
|ctree||A Christmas tree right on your terminal|
|eDEX-UI||Sci-fi computer terminal emulator and system monitor|
|emoj||Simple tool that to find suitable emojis for pasting to your clipboard|
|Emote||Modern popup emoji picker|
|Evolvotron||Interactive generative art|
|Fondo||Find beautiful wallpapers from Unsplash|
|gti||Typo-based curio inspired by Steam Locomotive|
|Hollywood||Fill your console with Hollywood melodrama technobabble|
|linuxwave||Generate music from the entropy of Linux|
|lolcat||Rainbows and unicorns|
|No More Secrets||Recreates the data decryption effect from the Sneakers movie|
|nyancat||Terminal-based Pop Tart Cat Animation|
|oneko||Animal chasing fun|
|pipes.sh||Animated pipes terminal screensaver|
|ponysay||cowsay reimplemention for ponies|
|projectM||Music visualizer originally based on Milkdrop|
|pyjokes||One line jokes for programmers|
|Pywal||Generate color schemes on the fly|
|Relaxator||Relax to soothing sounds|
|Rusty Aquarium||Monitoring by visualization|
|Steam Locomotive||C program written in 295 lines. It's harmless fun|
|Ternimal||Animated lifeform in the terminal|
|terminal-parrot||Party parrot time|
|tetris||Tile-matching puzzle video game in your terminal|
|Variety||Wallpaper manager with many desktops and wallpaper sources|
|WallGen||Generate HQ poly wallpapers with a few arguments.|
|WallpaperDownloader||Download, change, and manage wallpapers|
|xcowsay||Displays a cow on your desktop with message|
|XDecorations||Add some festive cheer to your desktop|
|XScreenSaver||Framework and collection of screensavers|
What a bizarre app!
Linux is full of weird and wonderful apps, one reason why I love it!