These 4 TUI apps will convince you to actually use your Linux terminal


It’s easy to get intimidated by the Linux terminal’s numerous commands. cp, mkdir, lsblk, piping—are they really worth memorizing? Not necessarily; you can actually make use of the terminal without memorizing complex commands thanks to TUIs.

A TUI, short for terminal user interface, is a program that you run in the terminal and that gives you something like a very primitive graphic window to complete tasks in. They’re usually more visually engaging, which is why, in videos made by Linux influencers, they’ll usually have a TUI of some sort running in on their monitor in the background. These are some neat ones I’ve come across and think are worth giving a try, even if you aren’t a command line pro.

bandwhich

Monitor all your network utilization in one screen

A terminal screen is open, and it displays the bandwhich utility. On the screen are the details for a number of active, cumulative connections.

Are you curious about what kind of network connections are being made on your Linux system? You can watch a live feed of connection activity with the Bandwhich tool.

Bandwhich watches all of the processes running on your system. When a process makes a network call, bandwhich displays that process in its TUI interface along with useful info like the process ID, the data rate, the network adapter, and the connection destination. It’s able to use DNS lookups to resolve hostnames, making it easy to understand those destinations.

If you want to install Bandwhich, you’ll need to either download it from Snapcraft with this command:

sudo snap install bandwhich

Or, folks on Arch Linux can find it in their repositories:

sudo pacman -S bandwhich

Everyone else will have to visit the bandwhich release page and download the latest binary.

However you install it, you’ll need to run bandwhich with sudo in order to give it the permissions it needs to monitor activity across your system:

sudo bandwhich

Optionally, you can run it with the -t flag for “total utilization,” which will keep all packet records in a list rather than only showing the most recent.

Caligula

Write images to USB with a visual speed graph

Using Caligula to burn an ISO file to a drive.

If you’re like me, you’re constantly downloading ISOs and IMG files to burn them to USB sticks for testing various Linux distros and setting up new self-hosted services. The task of writing to USB drives is repetitive, though, and sometimes feels like something easily done in the terminal.

Of course, you can do that in the terminal by using That’s why I like Caligula. It’s a simple, lightweight TUI meant just for burning images to disks. Let’s say you just downloaded Ubuntu. You can run this command in the directory with that ISO file:

caligula burn ubuntu-desktop.iso

The Caligula interface will open up, prompting you verify the file’s checksum and to choose a target disk for writing. Once it gets started, you get a nice-looking graph tracking the write speed of the burn process on your USB drive.

Person's hand putting a USB drive in a laptop port.


I Turned a USB Drive Into a Linux App Swiss Army Knife

AppImages and a thumb drive are a matched made in heaven.

To get Caligula, you can install it on Arch Linux systems with this command:

sudo pacman -S caligula

If you already have Rust utilities installed, you can run this command to get it from Crates.io:

cargo install caligula

Everyone else can check out the Caligula installation guide.

kew

Listen to your music collection in the terminal

Kew playing a Sleep Party People song in a Linux terminal.

Do you have a digital music collection on your Linux computer you like to listen to while you work? There’s a TUI for you: kew.

The kew app, on launch, will ask you to confirm that your music is stored in the typical spot: your home directory’s ~/Music directory. Assuming you don’t have music elsewhere, you can just press Enter, and kew will show you your whole library. Navigate it with the arrow keys and press Enter on any song or album to start playing it.

When you’re listening, you can use your function keys to switch between a visualizer mode with album art for the current track, a playlist showing what’s currently queued, or keep browsing your library.

What I really like about kew though is its intuitive launch command. Rather than just typing kew in the command line, you can specify what you’re launching kew to listen to. For example, you can run this command:

kew smiths

And kew will guess that you probably want to listen to The Smiths and will play the first song by them in your library. You can even say kew shuffle smiths to shuffle their music.

To install kew, you can find it in several repositories.

sudo apt install kew #Debian and Ubuntu
yay -S kew #Arch User Repository
sudo zypper install kew #openSUSE Tumbleweed

nnn

Fly through your file system

nnn file manager showing several subdirectories inside a Music directory.

If you know anything about Linux commands, you’re probably familiar with cd and ls for navigating the filesystem. It can be slow and painstaking, though, repeatedly running those commands to see which files and directories exist and where.

That’s where nnn comes in. Also called n³, it’s an ultra-fast file browser for the Linux terminal that lets you use your arrow keys to navigate your file system rather than clunky, difficult-to-remember commands.

Just type nnn in the terminal wherever you are, and you’ll get a list of files and folders. Tap the Right arrow key to go into a directory or to open a file, and press the Left arrow key to go back. At the bottom of the TUI, nnn tells you any pertinent info about the file or directory, like modification dates and permissions.

Tux, the Linux mascot, appears inside a retro computer window, surrounded by vintage joysticks and a black chess piece.


3 games you can play in the Linux terminal

Ever wanted to play an RPG without leaving the command line?

You can find nnn in most Linux repositories:

sudo apt install nnn #Debian and Ubuntu
sudo dnf install nnn #Fedora
sudo pacman -S nnn #Arch Linux
sudo zypper install nnn #openSUSE

The Linux terminal doesn’t have to be scary, and in fact it can look really cool and feel intuitive with TUIs like these. There are even TUIs that exist just to make you look like a hacker or like you’re busy when you’re actually doing nothing.



Source link

Leave a Reply

Subscribe to Our Newsletter

Get our latest articles delivered straight to your inbox. No spam, we promise.

Recent Reviews


Spotify aims to provide a consistent listening experience that uses minimal data. As a result, your audio quality might be less than ideal, especially if you’re using a pair of high-fidelity headphones or high-end speakers. Here’s how to fix that.

Switch audio streaming quality to Very High or Lossless

The default audio streaming quality in both the mobile and desktop Spotify apps is set to Automatic, which usually keeps the audio quality at Normal, which is only 96 Kbps. Even though Spotify uses the Ogg Vorbis codec, which is superior to MP3, OGG files exhibit slight (but noticeable) digital noise, poor bass detail, dull treble, and a narrow soundstage at 96 Kbps.

Even worse, Spotify is aggressive about adjusting the automatic bitrate. Even though 4G is more than fast enough to stream high-quality OGG files, even with a weak signal, Spotify may still drop the quality to Low, which has a bitrate of just 24 Kb/s. You will notice such a sharp drop in quality, even on a pair of bottom-of-the-barrel headphones.

To rectify this, open the Spotify app, tap your user image, open “Settings and privacy,” and tap the “Media Quality” menu. Once there, set Wi-Fi streaming quality and cellular streaming quality to “Very high” or “Lossless.”

I recommend setting cellular streaming quality to Very high and reserving Lossless for Wi-Fi, since lossless streaming is very data-intensive. One hour of streaming lossless files can take up to 1GB of data, as well as a good chunk of your phone’s storage, because Spotify caches files you’re frequently streaming. Besides, you’ll struggle to notice the difference unless you’re listening to music on a wired pair of high-end headphones or speakers; wireless connection just doesn’t have the bandwidth needed to convey the full fidelity of Spotify lossless audio.

You might opt for High quality if you have a capped data plan, but I recommend doing so only if you stream hours upon hours’ worth of music every single day over a cellular network. For instance, I burn through about 8 GB of data per month on average while streaming about two hours of very high-quality music over a cellular network each day.

Illustration of a headphone with various music icons around.


How Audio Compression Works and Why It Can Affect Your Music Quality

Feeling the squeeze when listening to your favorite song?

Set audio download quality to Very high or Lossless

If you tend to download songs and albums for offline listening, you should also set the audio download quality to “Very high” or “Lossless.” This setting is located just under the audio streaming quality section.

The audio download quality menu in Spotify's mobile app.

If you’ve got enough free storage on your phone, opt for the latter, but if you’d rather save storage space, set it to Very high. You’ll hardly hear the difference, but lossless files are about five times larger than the 320 Kb/s OGG files Spotify offers at its Very high quality setting, and they can quickly fill up your phone’s storage.

Adjust video streaming quality at your discretion

The last section of the Media quality menu is Video streaming quality. This sets the quality of video podcasts and music videos available for certain songs. Since I care about neither, I set it to “Very high” on Wi-Fi and “Normal” on cellular, but you should tweak the two options at your discretion because songs sound notably better at higher video streaming quality levels.

If you often watch videos over cellular and have unlimited data, feel free to toggle video quality to very high.

Make sure Data Saver mode is disabled

Even if your audio quality is set to Very high or Lossless, Spotify will switch to low-quality streaming if the app’s Data saver mode is enabled. This option is located in the Data saving and offline menu. Open the menu, then set it to “Always off,” or choose “Automatic” to have Spotify’s Data Saver mode kick in alongside your phone’s Data Saver mode.

You can also enable volume normalization and play around with the built-in equalizer

Spotify logo in the center of the screen with an equalizer in front. Credit: Lucas Gouveia / How-To Geek

Last but not least, there are two additional features you can play with to improve your listening experience. The first is volume normalization, which sets the same loudness for every track you’re listening to. This can be handy because different albums are mastered at different loudness levels, with newer music usually being louder.

Since I’m an album-oriented listener, I keep the option disabled. I can just play an album and set the audio volume accordingly, and I don’t really mind louder songs when listening to playlists, artists, or song radios.

But if you can’t stand one song being quiet and the next rattling the windows, visit the Playback menu, enable “Volume normalization,” and set it to “Quiet” or “Normal.” The “Loud” option can digitally compress files, and neither Spotify nor I recommend using it. This also happens with “Quiet” and “Normal,” since both adjust the decibel level of the master recording for each song, but the compression level is much lower and extremely hard to notice.

Before I end this, I should also mention that you can access the equalizer directly from the Spotify app, where you can fine-tune your music listening experience or pick one of the available equalizer presets. If your phone has a built-in equalizer, Spotify will open it; if it doesn’t, you can use Spotify’s. On my phone (a Samsung Galaxy S21 FE), I can only use One UI’s built-in equalizer.

To open the equalizer, open “Playback,” then hit the “Equalizer” button. Now you can equalize your audio to your heart’s content.


Adjusting just a few settings can have a drastic impact on your Spotify listening experience. If you aren’t satisfied with Spotify’s sound quality, make sure to adjust the audio before jumping ship. You should also check the sound quality settings from time to time, as Spotify can reset them during app updates.​​​​​​​

Three phones with a Spotify screen and the logo in the center.


These 8 Spotify Features Are My Favorite Hidden Gems

Look for these now.



Source link