Get System Information Using Neofetch

Neofetch is a a command line utility writen in bash to get system information. Neofetch will display operating system, desktop environtment, software and hardware of the system with a beautiful way.

Neofetch can be configured to display exactly what we want it to. Through the use of command-line flags and the configuration file you can change existing information outputs or add your own custom ones.

Neofetch support almost 150 operating system, from Linux, Windows, Minix and many more. If your favourite operating system is unsupported: Open up an issue and support will be added.

Installation

Arch Linux and the derivative

$ sudo pacman -S neofetch

Ubuntu/Debian

$ sudo apt-get install neofetch

ReadHat/Fedore/CentOs

$ sudo dnf install neofetch

Usage

$ neofetch

Create Long Shadow Effects in Inkscape

Inkscape is the most popular vector graphic software in Linux platform. It’s the best CorelDraw/Adobe Illustrator alternative in the FOSS environment. In this article, I would like to share a simple way to create a long shadow effect in Inkscape.

In a nutshell, the long shadow is created with Interpolate method. The concept is it creates linear interpolation between two or more selected path. To learn more about interpolation extension in Inkscape, this article gives a better explanation about it.

On the demo below we apply shadow effect in a text logo, here is the step. ➡

1. Create text or Path

Create an object that you would like to apply the long shadow effect. On this demo, we create a text object and use PT Sans font. If you create a non-path object like text or rectangle don’t forget to convert it into a path. To convert an object to path, click Path > Object to Path or use Ctrl + Shift + T shortcut. There is an extra step for text path, we have to merge it into a single path. Click the object and click Path > Union or Ctrl + +.

2. Copy the path into two parts

At least there is two way to accomplish it, the first, duplicate the path object and move the other one to whenever you want. Another way is by using the transform method.

3. Interpolate the two paths.

Here is the main process, interpolate the two paths. To accomplish it select two paths and click Extension > Generate from Path > Interpolate.

Fill the dialog parameter with values from the screenshot above. The most important is the interpolation steps value. It defines how many copies of path we need to fill the gap between first path and the second path. Click apply and you will see the shadow

4. Merge the “shadow” path into a single path (Optional)

Try to drag around your shadow path and you may feel a little bit lag. That’s because we dragging N-steps path / shadow objects. We need to merge it into a single path.

To do this, click your shadow path, ungroup it (Ctrl + Shift + U) and merge it with command ( Ctrl + +) or click Path > Union.

Here is the view when we ungroup the shadow paths.

5. Apply Styles and have fun

Now we have created shadow object and it’s the time to apply style into it. You can add gradients, change color, etc. Here is my final style modification.

That’s all folks, an alternative way to create a long shadow in Inkscape. Click attachment below to see the demo file.

How To Install Zsh

Zsh or Z Shell is an extended version of Bourne Again Shell (bash) and designed for interactive use, although it is also a powerful scripting language.

Many of features from other shell were incorporated into zsh and many new features were added.

Comparing to bash, zsh has more features such as:

  • Auto-completion (type command and click tab)
  • Command option display (type command followed with – and click tab)
  • Typing error correction
  • Color highlighting
  • Command-click URL

Installing

All popular Linux distro use bash as their default shell. To use zsh we must install and set the default shell to zsh. It’s very easy to install zsh because all of the popular distros have the zsh package on their repository.

Ubuntu based

# apt-get install zsh

Arch based

# pacman -S zsh

Centos/Redhat/Fedora

# dnf install zsh

Suse

# zipper install zsh

Enable zsh

After installation success, we need to enable zsh as default shell

$ chsh -s /bin/zsh

Log out and log in again and check if the active shell is zsh using the command below:

$ echo $0

Output of the command should be

/usr/bin/zsh