Selasa, 31 Januari 2023

5 Linux Distros for Visually Impaired People

5 Linux Distros for Visually Impaired People

If a user is visually impaired or blind, they may rely on sound prompts or other interactions (like Braille) to read and communicate.

How can they use a Linux distribution?

Well, in general, accessibility software help make it possible.

But what are the Linux distributions that focus on accessibility? What are the best distros tailored for visually impaired users?

I focus on listing some of the best options here. Before that, there are some essential pointers to note before you try/recommend Linux for visually challenged users.

Is Linux Ideal for Visually Challenged Users?

Unfortunately, not entirely.

Compared to Windows and macOS, the accessibility software/options available are limited on Linux.

Even though Red Hat hired a blind software engineer last year to help improve things, it is a work in progress and may not be a seamless experience.

I came across a year-old Reddit thread where a blind user shares his experience on the state of accessibility on Linux, and it may not sound good.

It is still usable depending on what you want to do and which distro you choose.

Some of the points worth noting include:

  • Not every desktop environment offers good accessibility options. You can explore and experiment, but GNOME and KDE are acceptable options.
  • The documentation for accessibility in Linux distributions may not be comprehensive. So, you might want to explore and research before getting started. Here are the links to GNOME and KDE documentation.
  • You can always install popular Linux distributions like Ubuntu and set it up with screen reader tools to get started.

However, some distributions might give you a good experience out of the box and may be worth trying.

Here are your best picks:

📋
The list is in no particular order of ranking.

1. Accessible-Coconut (AC)

5 Linux Distros for Visually Impaired People

Accessible-Coconut is a community-driven Linux operating system based on Ubuntu MATE.

Out of the box, you will find all the essential tools or software needed to make the Linux experience accessible for people with visual impairment.

Some of those include a screen reader that supports speech synthesis and Braille, screen magnification, a screen reader for the console, an ebook speaker, a daisy player, and more.

The software that comes baked in is known for better accessibility. So, you may not need to search for alternatives after installing the operating system.

2. Vojtux

Vojtux is an unofficial Fedora-based distribution created by a blind software engineer.

It is an exciting option for most users because the creator knows what visually impaired users need. By default, you will have the Orca screen reader starting at login, with Qt accessibility enabled, a custom repository for extra voice synthesis and other software.

Also, interestingly, you will find a script that can turn your monitor on and off quickly.

However, you must build the live media ISO before installing it. So, if you do not have technical knowledge for that, you may ask around your friends who would be willing to set it up for you.

You can learn more about it on its GitHub page or a blog post about it by its creator.

3. Trisquel

5 Linux Distros for Visually Impaired People

Trisquel is a Ubuntu-based Linux distribution with a Linux-libre kernel. It is tailored for home, office, and education institutions.

Unlike some other options, Trisquel focuses on accessibility features by default, like having the Orca screen reader enabled. You can find audio guides on their website and screen-reader-friendly manuals.

Head to its official website to explore more about it and download the ISO.

4. Ubuntu MATE

5 Linux Distros for Visually Impaired People

If you want to go with mainstream distributions, Ubuntu MATE will be a good fit for users who like a traditional desktop approach to user experience.

You can find the Orca screen reader pre-installed and other tools that give you a good accessibility experience.

5. Fedora Workstation

5 Linux Distros for Visually Impaired People

Fedora Workstation is the best bet for users who want to experience the best of the GNOME desktop environment.

You will find the latest GNOME desktop installed. So, it is likely that you will end up having an accessible experience on Fedora.

Not to forget, the community of Fedora users is known to be passionate about keeping accessibility at the forefront and fixing any issues reported as soon as possible.

💬What would be your pick? Did we miss any other options? Do share your thoughts in the comments below.



from It's FOSS https://ift.tt/tdg3LG2
via IFTTT

Kamis, 26 Januari 2023

Install and Setup ZSH on Ubuntu Linux

Install and Setup ZSH on Ubuntu Linux

The default Linux terminal may get your job done but it looks boring.

Boring doesn't mean bad. It's just ... boring.

Want to spice things up? There are several ways to do that:

Yes! The third option also gives you an entirely different experience.

One such popular shell is Zsh. You can imagine its popularity from the fact that it has become the default shell in macOS.

ZSH (Z Shell) allows you to add plugins and themes by which you can tweak the whole terminal experience. Here's an example.

Install and Setup ZSH on Ubuntu Linux

Pretty cool. Right?

In this tutorial, I'll share how you can set up Zsh to make your terminal look like the one in the screenshot above.

I am using Ubuntu in the tutorial but feel free to follow it on other Linux distributions except for the steps that require package installation.

Install ZSH on Ubuntu

First, let's install the Zsh with some prerequisites that will be useful in the later part:

sudo apt install zsh git fonts-font-awesome

Once you are done with the installation, you can start Zsh with the following command:

zsh

And it will give you various options to deal with the Zsh config file.

I'm going to configure everything from scratch so I will  go with the option 0 to have an empty .zshrc file:

Install and Setup ZSH on Ubuntu Linux

As I went with the empty config file, you will get the following prompt:

Install and Setup ZSH on Ubuntu Linux

I know it looks pretty dull (worse than bash). But hang on. We are just getting started!

Customise ZSH on Ubuntu

For the customization of Zsh, I will be covering:

  • Installing Oh my Zsh (a framework to manage Zsh)
  • Auto suggesting
  • Syntax highlighting
  • Powerlevel10k (theme for Zsh)

So let's start with the Oh My Zsh.

1. Install Oh My Zsh on Ubuntu

Using Oh My Zsh is the easiest way to manage plugins and themes for Zsh.

So it will serve as a base for plugins and themes that I'm going to share in a moment.

To install Oh My Zsh, all you have to do is execute a simple script:

sh -c "$(wget https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh -O -)"

And it will ask you whether you want to change your default shell to Zsh or not. I would recommend you not to change it:

Install and Setup ZSH on Ubuntu Linux

Once you press n, it will get you into the basic Oh My zsh look:

Install and Setup ZSH on Ubuntu Linux

Pretty minimal by default. Isn't it?

2. Enable auto-suggestions on zsh

The auto-suggestion plugin will suggest you the command based on your Zsh command history.

And everyone uses a couple of commands on daily basis such as commands to update the repository, list the contents of a directory, etc.

To add the auto-suggestion plugin, first, use the given command to clone the repository:

git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions

Now, to activate the auto-suggestion plugin, open the zshrc file:

nano ~/.zshrc

And add zsh-autosuggestions in the plugins:

Install and Setup ZSH on Ubuntu Linux

Save changes and exit from the nano text editor.

Now, restart your terminal and start Zsh:

zsh

And it will enable the auto-suggestion:

Install and Setup ZSH on Ubuntu Linux

When you type a command and get the right suggestion, you can auto-complete that part using the right arrow key.

3. Enable syntax highlighting on Zsh

The best part of using syntax highlighting is that you know whether the command you are writing is correct.

But apart from command, it is also helpful while programming.

To add the syntax highlighting on Zsh, first, you have to clone the repository using the given command:

git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting

Next, open the zshrc file:

nano ~/.zshrc

And add zsh-syntax-highlighting to plugins as shown:

Install and Setup ZSH on Ubuntu Linux

Now, save changes by Ctrl + O, hit enter, and press Ctrl + X to exit from the nano text editor.

Next, restart the terminal and start the Zsh to enable syntax highlighting:

zsh

And the syntax-highlighting should give you the following effect:

Install and Setup ZSH on Ubuntu Linux

4. Customise Zsh with Powerlevek10k theme

From here, you will see major visual changes in your terminal.

So the first step is to clone the Powerlevel10k repository:

git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k

Now, you will have to change the default theme (which came with Oh My Zsh). And to change that, first, open the zshrc file:

nano ~/.zshrc

You will find the currently applied theme at the line starting with ZSH_THEME

Here, the default theme will be named robbyrussell which needs to be changed with powerlevel10k/powerlevel10k:

Install and Setup ZSH on Ubuntu Linux

Save changes and restart your terminal.

Start the Zsh instance and you will be met with the configuration wizard for the powerlevel10k theme:

zsh

Here, it will ask you certain questions. It will start with Does this looks like a diamond (rotated square)? For me it doesn't:

Install and Setup ZSH on Ubuntu Linux

Next, it will ask the same question but for the lock. To me, it looks like one so I will go with Yes (y):

Install and Setup ZSH on Ubuntu Linux

Next, it will ask whether the icons fit between crosses. To me, it doesn't, so I'm going with No (n):

Install and Setup ZSH on Ubuntu Linux

Once you answer all the questions, it will get you into prompt style selections where you have to choose how you want your terminal to look like:

Install and Setup ZSH on Ubuntu Linux

From here on, it will get you various options to choose from. Select as per your preference.

And once you are done choosing the prompt style, it will get you into the instant prompt mode.

Here, I would recommend going with the Verbose option as it will create a backup config file:

Install and Setup ZSH on Ubuntu Linux

And finally, press y to apply changes to the zshrc file:

Install and Setup ZSH on Ubuntu Linux

Once you apply the changes, it will show the location of the new and backup config file:

Install and Setup ZSH on Ubuntu Linux

Not happy with the choices you made? You can configure the powerlevel10k theme from the start using the following command:

p10k configure

Change default shell to Zsh on Ubuntu

Once you are comfortable with the customizations, you can set the Zsh as your default shell.

To change your default login shell, first, execute the given command:

chsh

And to change your default shell, enter the following path of Zsh and press enter:

/bin/zsh
Install and Setup ZSH on Ubuntu Linux

But if you remember, this will serve as a basic setup so if you want to try something else, you can select from various zsh themes from GitHub.

Want to try lesser-known shells? Here you have it

Like me if you love to explore various tools, we have a dedicated guide on 9 lesser-known shells that you can try:

Beyond Bash: 9 Lesser-Known Linux Shells and Their Capabilities
You probably already know about the popular shells like bash and zsh. Let us explore some interesting and unique shells.
Install and Setup ZSH on Ubuntu Linux

I hope the given guide will help you to enhance the way you communicate with your terminal and will help you to embrace the terminal.

Let me know if I missed anything or want me to cover something else.



from It's FOSS https://ift.tt/f6vCwE8
via IFTTT

Rabu, 25 Januari 2023

Flatpak vs. Snap: 10 Differences You Should Know

Flatpak vs. Snap: 10 Differences You Should Know

Flatpak and Snap packages are more popular than ever among Linux users who no longer prefer native binary packages or AppImages.

Primarily because of its ease of use, integration with the software center, and the ability to get the latest app updates hassle-free.

You no longer need to worry about the dependencies when installing an app.

For some, the security advantages of sandboxing/isolation are a factor too. But we will not discuss the specifics for that here.

No matter the benefits of Flatpak and Snap, what are their differences? What should you consider using? In this article, we explore how they're distinct to help you decide what you want to use.

1. Origin

Snap was developed by Canonical to build applications for IoT platforms. The aim behind Snap has always been to encourage app updates, and make things easier for developers to maintain them when compared to deb packages.

Eventually, it made its way for applications meant for desktops (with GUI as well).

If you wanna explore more Snap's history, I recommend you to read the blog post by Alan Pope.

Flatpak was created by Alexander Larsson, Principal Software Engineer at Red Hat. It is an independent open-source project where many notable developers from GNOME, Fedora, and Red Hat are involved.

The aim behind it was to have a robust framework to distribute Linux desktop applications across various distributions.

Originally, it was known as xdg-app, and later renamed to "Flatpak" in 2016.

For more interesting insights on Flatpak's history, take a look at Alexander's old blog post.

2. Use Cases

Flatpak vs. Snap: 10 Differences You Should Know

Every package format has its advantages. Some might say, "why do we need this"?

We need every package format available. So, you can choose to use whatever you need per your requirements. Hence, it is essential to learn where and why Flatpak and Snap packages can be helpful.

Flatpak is only tailored for Linux workstations and personal computers to run desktop applications. You can explore more about it in our resource on what Flatpak is.

However, Snaps work on your desktop and can also be used for server-focused terminal applications.

For instance, Ubuntu Core, the operating system for IoT, and Edge are built from snaps to keep things secure and ensure reliable updates.

As far as I know, Flatpak has not been used for anything similar because of its different approach and targeted use case.

3. Startup Time

Snap applications have been known to have a slow startup compared to Flatpak.

Canonical has been working on this for a while, but it was still a problem when publishing the article.

Of course, practically, not every user may notice or care about the difference. But, the overall consensus regarding the app startup time remains better for Flatpak compared to Snap.

For instance, I find launching the Spotify app as a Flatpak faster than its Snap. It can be subjective. So, take it with a pinch of salt.

4. Performance

Flatpak vs. Snap: 10 Differences You Should Know

The performance of an app not only refers to its responsiveness but its stability and feature offerings.

Some applications perform better as Snap, and some as Flatpak.

For instance, the Flatpak version of GNOME Boxes does not support device sharing compared to its Snap package. One can use this example to say that Snaps are better.

However, I always prefer to install Spotify as a Flatpak instead of Snap.

So, you need to test your favorite applications to realize what is better for you; no one gets a clear edge here.

5. Availability and Popularity

Flatpak vs. Snap: 10 Differences You Should Know

While you can install either of them on any Linux distribution, Flatpak gets an edge for its availability and out-of-the-box support on more distributions when compared to Snap.

For instance, Linux Mint comes with snap disabled but features Flatpak support built-in.

Distributions like Pop!_OS and Ubuntu MATE also offer Flatpak support by default. In other words, you will find plenty of different Linux distributions (other than Ubuntu flavours) that have Flatpak baked in by default.

However, Snaps are preferred mainly by Canonical's Ubuntu and its official flavors. If you are not using Ubuntu or its flavors, refer to our Snap guide to get it setup.

So, one can say that Flatpak's adoption for Linux desktops is much wider (if not necessarily with a more extensive user base).

💡
One may mention that the number of applications available as Snap is more. While that was a solid difference a couple of years back, Flatpak's recommended store Flathub now features most of the essential apps, which may not make it a deal breaker.

6. Open Source vs. Closed Source

Flatpak is entirely open source.

Unfortunately, when it comes to Snap packages, the answer is not as simple.

Snap is an open-source project at its core, including snapd, the background service that manages/installs snap apps.

However, the back-end of the snaps is proprietary and controlled by Canonical without any community involvement.

As an end-user, you should not have a problem with the closed-source parts of Snap as long as the app gets the job done.

Of course, Flatpak will be your choice if you prefer completely open-source technologies.

Suggested Read 📖

10 Awesome Open Source Tools I’d Recommend You to Use in 2023
There are thousands of excellent open-source tools to try. Here are some of our suggestions for 2023!
Flatpak vs. Snap: 10 Differences You Should Know

7. Decentralized vs. Centralized

Flatpak vs. Snap: 10 Differences You Should Know

Flatpak is open-source and embraces a decentralized approach.

Even though we have a famous "Flathub" portal where most users get their apps from, Flatpak allows having multiple stores when/if needed.

With Snap, you are limited to Canonical's Snap store.

Some users prefer a centralized application store for convenience. So, you should not have any issues with either of them. However, Flatpak gives you an edge to add an extra repository if needed.

8. Updates

Flatpak vs. Snap: 10 Differences You Should Know

Snap applications get updated automatically by default. The user can modify when and how often the updates happen. Also, you can hold and postpone updates for selected snaps.

On the contrary, Flatpak packages do not get updated automatically. If you have Flatpak integration with the software center, you will be notified of available updates, but it will not be forcefully updated.

You can always refer to our guide on updating Flatpak packages.

With Flatpak, you get more control by default. But, some users forget to update the packages missing out on new features or security/bug fixes.

So, whether you want automatic updates to the applications you use or want the control to update them manually, that will influence what you like better.

9. Working

Flatpak does not need admin privileges to install applications but Snap does.

Flatpak comes with sandboxing enabled by default. It uses Linux Kernel's namespaces feature for sandboxing whereas Snap utilizes AppArmour.

You can explore both the developer documentations to learn more. But, these two key points might influence picking one of them for your use-case.

10. Maintainer's Perspective

When going through forums and Reddit threads before writing this article, I found some interesting insights from app maintainers. Some of those include:

  • Snaps are easier to maintain/build compared to Flatpak packages.
  • Snap security is a tad bit advanced.
  • With Flathub as Flatpak's store, maintainers get help from various developers to test and improve the Flatpaks.

Of course, for further technical information and differences, the documentations will be a great place to start.

💬Which one do you prefer? Flatpak or Snap? And, why? Share your thoughts in the comments section below.



from It's FOSS https://ift.tt/W0xOS4d
via IFTTT

Selasa, 24 Januari 2023

14 Rust Tools for Linux Terminal Dwellers

14 Rust Tools for Linux Terminal Dwellers

Rust programming language is constantly getting more famous for its performance-oriented and memory-safe approach.

You can find plenty of software rewritten in Rust just to make things faster and more robust. As an example relevant to Linux users, System76 chose to build its desktop environment from scratch powered by Rust. So, it is undoubtedly loved by many.

Let me highlight some of the best Rust-powered Linux terminal tools to save you some trouble.

📋
The list is in no particular order of ranking.

1. Exa

One of the first tools, that comes to my mind, when thinking about rust apps is exa, a great alternative to the most common ls command.

It offers features like colored output, icon support, etc that make it visually pleasing to use.

14 Rust Tools for Linux Terminal Dwellers
Exa: An alternative to ls command

Features of Exa

  • It uses colors to distinguish file types and metadata.
  • It knows about symlinks, extended attributes, and Git.
  • Exa queries files in parallel, giving you performance on par with ls
  • Built-in tree tool
  • Column view support

Install Exa

Exa is available in almost all the repositories of major distributions. In Ubuntu, you can install exa by the following command:

sudo apt install exa

Once installed, you can use exa in the terminal to use it. If you want it instead of ls all the time, create an alias for ls with exa.

Suggested Read 📖

Linux Alias Command: Set, Create and Remove Aliases
Alias command in Linux saves a lot of your time and improves your efficiency. Learn how to use this command properly and see some of the common aliases I use.
14 Rust Tools for Linux Terminal Dwellers

2. Bat

One of the most commonly used command-line tool is cat, where we can output the content of a file to the terminal.

Bat is a worthy alternative to the cat command, which according to its developers, is "cat clone with wings."

14 Rust Tools for Linux Terminal Dwellers
Bat

Features of Bat

  • Syntax Highlighting for a large number of programming and markup languages.
  • Git integration
  • Show non-printable characters
  • Automatic paging for large files that don't fit into one page
  • File concatenation

Install bat

Bat is available in all repositories. You can install it in Ubuntu by using the following command:

sudo apt install bat

For Ubuntu users, once installed, you need to use batcat instead of bat to run it.

Suggested Read 📖

Cat Command in Linux: Essential and Advanced Examples
cat is one of the most used commands in Linux but do you really know the cat command? Learn the basics as well as advanced examples of cat command in Linux.
14 Rust Tools for Linux Terminal Dwellers

3. Starship Prompt

There are many shells out there like bash, zsh, etc. You probably know the popular ones, and if you are curious, we have a list of lesser-known shells.

But all of those provide a shell prompt, which looks almost the same.

Starship prompt allows you to change the look of your shell prompt the way you want with a vast amount of configuration options. Starship prompt is simply an excellent customization tool.

14 Rust Tools for Linux Terminal Dwellers
Starship Prompt

Features of Starship Prompt

  • Minimal and fast
  • Works with almost all major shells
  • Intelligent: shows relevant information at a glance.
  • Feature-rich: support for all your favorite tools.
  • Customizable: configure every aspect of your prompt.

Install Starship Prompt

Starship prompt is not available in official repositories. In Ubuntu and other distributions, to install the latest version of Starship, first, ensure you have curl installed:

sudo apt install curl

Then, use this command to install the starship prompt:

curl -sS https://starship.rs/install.sh | sh

You can explore more about it in our how to use starship article. Also, the official wiki should be a good place to start.

4. Dust

Dust is a more intuitive Rust version of the du command. It gives you an instant overview of which directories are using the disk space without requiring to sort.

14 Rust Tools for Linux Terminal Dwellers
Dust: A du command alternative

Features of Dust

  • The largest subdirectories will be colored.
  • Small, simple, and easy-to-understand
  • Returns a graphical overview of contents that shows its contents and what percentage each item holds.

Install Dust

Dust is available in the Arch Linux community repository, and you can install it directly from Arch-based distributions using Pacman commands.

On Ubuntu, you can install Dust using cargo. For that, you need to set up cargo in Ubuntu. Once set, install the tool using the following command:

cargo install du-dust

5. ripgrep

If you use the Linux terminal frequently, you may have used the grep command. It is such an important command with varied use cases.

ripgrep is the rust implementation of grep with more valuable features and tweaks. ripgrep is a line-oriented search tool that recursively searches the current directory for a regex pattern.

14 Rust Tools for Linux Terminal Dwellers
ripgrep: A modern grep command alternative

Features of ripgrep

  • ripgrep defaults to recursive search and does automatic filtering.
  • ripgrep can search specific types of files, like python files (rg -tpy foo). Also, it can be taught about new file types with custom matching rules.
  • Supports many features found in grep. It stays fast while supporting Unicode.
  • ripgrep has optional support for switching its regex engine to use PCRE2. This makes it possible to use look-around and backreferences in your patterns, which are not supported in ripgrep's default regex engine.

Install ripgrep

For Ubuntu 18.10+ users, ripgrep can be installed by using the following command:

sudo apt install ripgrep

Once installed, you can use ripgrep by using the name of the binary, that is, rg.

6. fd

fd is a program to find entries in your filesystem, which is an alternative to the ever-famous find command. The developer mentions:

While it does not aim to support all of find's powerful functionality, it provides sensible (opinionated) defaults for a majority of use cases.
14 Rust Tools for Linux Terminal Dwellers
fd: A find command alternative, written using Rust

Features of fd

  • Short syntax: fd PATTERN instead of find -iname '*PATTERN*'.
  • Uses colors to highlight different file types (same as ls).
  • Smart case: the search is case-insensitive by default. It switches to case-sensitive if the pattern contains an uppercase character.
  • Very fast due to parallelized directory traversal.

Install fd

On Ubuntu 19.04 or later, install fd command by:

sudo apt install fd-find
💡
In Ubuntu, you should use fdfind to access the command.

It is available in the official repositories of most major Linux distributions.

7. Procs

Procs is a modern replacement for the ps command, written in Rust.

It provides a colored, human-readable output with automatic theme detection based on the terminal background. It is also available for all major platforms, Linux, Mac, and Windows.

14 Rust Tools for Linux Terminal Dwellers
Procs Command

Features of Procs

  • Multi-column keyword search
  • Pager support
  • Watch mode (like top) and Tree view
  • Some additional information which are not supported by ps: TCP/UDP port, Read/Write throughput, Docker container name, and More memory information.

Install Procs

Procs is available as a snap. So if you are using Ubuntu, or you have snap app support enabled, run the following command to install procs:

sudo snap install procs

It is also available in the Arch Linux community repository and Fedora official repositories.

8. Tealdeer

tldr is a simplified, community-driven collection of manpages, while Tealdeer is a speedy rust implementation of tldr.

Man pages are a treasure for those starting new in the Linux command line. But the traditional man page provides a huge amount of information, which may overwhelm many.

The simplified tldr is a great relief because Tealdeer adds fast retrieval of the data in a neat format.

14 Rust Tools for Linux Terminal Dwellers
Tealdeer

Features of Tealdeer

  • Downloads and cache pages, so you need internet only when updating the cache.
  • Advanced highlighting and configuration.
  • Output color support.
  • Comply with the tldr client specification

Install TealDeer

Tealdeer is available in Arch Linux and Fedora repositories. Users of these systems can install it from there. If you are using Ubuntu, install tealdeer with cargo:

cargo install tealdeer

Once installation is finished, run the following command to update the cache:

tldr --update

Another exciting thing is that a static binary available to download, which doesn't require any installation. You can check it on their GitHub releases page.

9. Bottom

Bottom is a customizable cross-platform graphical process/system monitor inspired by tools like htop, gtop, etc.

One of the main highlights of this system monitor tool is the availability of graphical visualization widgets for CPU usage, RAM usage, etc.

14 Rust Tools for Linux Terminal Dwellers
Bottom: A System Monitor

Features of Bottom

  • Widgets for displaying info about battery usage, disk capacity, temperature sensors, etc.
  • A process widget for displaying, sorting, and searching info about processes, as well as support for kill signals and tree mode.
  • Customizable behavior that can be controlled with command-line flags or a config file.
  • An htop-inspired basic mode and expansion, which focuses on just one widget.

Install Bottom

Bottom is available in the Arch Linux Community repository and also available as a snap. If you use Ubuntu/Debian, there is a deb package for stable and nightly builds on its GitHub releases page.

You can also use the following commands to install it via the terminal:

curl -LO https://github.com/ClementTsang/bottom/releases/download/0.7.1/bottom_0.7.1_amd64.deb
sudo dpkg -i bottom_0.7.1_amd64.de

10. Zoxide

You should be aware of the cd command used to move into various directories. While cd is plenty good, Zoxide is kind of a smarter cd. Zoxide can remember the directories you use most frequently, so you can "jump" to them in just a few keystrokes.

This helps to boost your productivity, and more importantly, it is available for all significant shells out there.

14 Rust Tools for Linux Terminal Dwellers
Zoxide: A modern cd command alternative

Features of Zoxide

  • Runs on most major platforms, Linux, mac, Windows, BSD and Android.
  • Third-party integrations for Vim, Emacs, Ranger file manager, ZSH-Autocomplete, etc.
  • Optional interactive selection using fzf command-line fuzzy finder
  • Works on all major shells.

Install Zoxide

For Ubuntu 21.04 and above, Zoxide is available on official repositories. Just run:

sudo apt install zoxide

Or if you want to install the latest version, use:

curl -sS https://raw.githubusercontent.com/ajeetdsouza/zoxide/main/install.sh | bash

After installing, add the following line to the bottom of your bashrc.

eval "$(zoxide init bash)"

11. Broot

Broot is another rust tool, through which you can navigate directories.

You can get an overview of big directories, making it easier for you to explore. And, when searching for a file, it tries to select the most relevant file.

14 Rust Tools for Linux Terminal Dwellers
Broot: Navigate directories

Features of Broot

  • Get overview of big directories
  • You may also search with a regular expression
  • Manipulate your files: Move, copy, rm, mkdir, are built in and you can add your shortcuts.
  • Manage files with panels and preview files

Install Broot

You can get precompiled binaries from the official downloads page.

12. Skim

Skim is a command-line fuzzy finder. It can be used as a general filter (like grep) or as an interactive interface for invoking commands.

You can explore its GitHub page for usage instructions.

14 Rust Tools for Linux Terminal Dwellers
Skim: Command-Line Fuzzy Finder

Features of Skim

  • It can invoke other commands dynamically.
  • It provides a regex mode, which you can switch dynamically by pressing Ctrl-R (Rotate Mode).
  • Supports customization of the color scheme.
  • Supports pre-selection

Install Skim

Skim is available in Fedora and Arch Linux repositories, from where you can install using dnf and pacman respectively. For other users, it can be installed using cargo or homebrew.

cargo install skim

13. Tokei

Tokei is a program that displays statistics about your code, like the number of files, total lines within those files and code, comments, etc. It is available for macOS, Linux, and Windows.

14 Rust Tools for Linux Terminal Dwellers
Tokei: Displays statistics about your code

Features of Tokei

  • Tokei is very fast and can count millions of lines of code in seconds.
  • Correctly handles multi-line and nested comments, and not counting comments in strings. Providing accurate code statistics.
  • Supports over 150 languages and their various extensions.
  • Tokei is also a library allowing you to easily integrate it with other projects.

Install Tokei

Many distributions like Arch Linux, Fedora, and OpenSUSE have Tokei in their repositories. In Ubuntu, you can install Tokei using Cargo.

cargo install tokei

14. Alacritty

Alacritty is a modern terminal emulator supported on all major platforms. It comes with extensive configuration capabilities and known for its fast performance.

14 Rust Tools for Linux Terminal Dwellers
Alacritty: A Modern Terminal Emulator

Features of Alacritty

  • The vi mode allows moving around Alacritty's viewport and scrollback using the keyboard.
  • You can open URLs with your mouse by clicking on them.\
  • Search allows you to find anything in Alacritty's scrollback buffer.
  • Alacritty supports running multiple terminal emulators from the same instance.

Install Alacritty

Precompiled binaries are available on their GitHub releases page. You can also install it using cargo. First, you need to install the required dependencies:

sudo apt install cmake pkg-config libfreetype6-dev libfontconfig1-dev libxcb-xfixes0-dev libxkbcommon-dev python3

Now install Alacritty using the command below:

cargo install alacritty

Once installed, launch Alacritty from the terminal.

Suggested Read 📖

Top 14 Terminal Emulators for Linux (With Extra Features or Amazing Looks)
Want a terminal that looks cool or has extra features? Here are the best Linux terminal emulators you can get.
14 Rust Tools for Linux Terminal Dwellers

Honorable Mentions

  • monolith: CLI tool for saving complete web pages as a single HTML file
  • macchina: A system information frontend.
  • Ouch: Painless compression and decompression for your terminal
  • Difftastic: structural diff tool that compares files based on their syntax.
  • Topgrade: Upgrade all the things by detecting the tools you use and running the appropriate commands to update them.
  • sd: Intuitive find & replace CLI (sed alternative)

💬What is your favorite on the list? Did we miss listing your favorite rust tools for the Linux terminal? Share your thoughts in the comments section below.



from It's FOSS https://ift.tt/CHdw8D9
via IFTTT