maim

How to take screenshots using maim on Linux

On Linux there are many utilities we can use to take screenshots. Every complete desktop environment, such as GNOME, KDE or XFCE has its integrated application specifically designed for this task, but many other small
desktop-independent programs exist. In this tutorial we talk about a very lightweight and versatile command-line application, maim (make image), and we see what are the many options we can use to modify its behavior.

In this tutorial you will learn:

  • How to install maim on the most used Linux distributions
  • How to take a screenshot of all the screen
  • How to save the screenshot in a specific format (png/jpg)
  • How to select a region of the screen interactively
  • How to take a screenshot of a window by passing its id to maim
  • How to take screenshots with a delay
  • How to use maim in a pipeline
maim

Read more

Nvidia Linux Driver

Install the Latest Nvidia Linux Driver

Most of the modern Linux Desktop systems come with Nvidia driver pre-installed in a form of the Nouveau open-source graphics device driver for Nvidia video cards. Hence depending on your needs and in most of the situations there is no need for an additional Nvidia Linux Driver installation procedure.

The only reason could be that you wish to squeeze as much power as possible from the Nvidia VGA card and in that case you may attempt to install the official proprietary Nvidia Linux driver. Some Linux distributions offer the proprietary driver pre-packaged as part of its standard package repository making the entire Nvidia Linux Driver procedure extremely easy to follow.

As already mentioned the other alternative is to download and install the Nvidia Linux Driver directly from the Nvidia.com website. This procedure usually involves more hands on approach and it is rather intermediate Linux system administration job.

WARNING
Installation of the Nvidia Linux Driver from a 3rd party sources such as the proprietary Nvidia Linux driver from Nvidia.com or via PPA repository may result in an unstable system. From this reason if there is no real need for the Nvidia Linux Driver upgrade you are recommended to remain with the open source Nouveau driver.

Read more

Using aria2 to download a file on Linux

aria2 – all in one command line download tool

aria2 is a command line tool for Linux systems that can download files using a variety of protocols, including HTTP/HTTPS, FTP, SFTP, BitTorrent and Metalink. It’s diverse download capabilities make it an all-in-one tool for downloading files on Linux.

Most users know about downloading files from the command line by using wget or curl. aria2 has a few advantages over both tools, because it has increased potential for greater download speed by downloading from more than one source in the single session. aria2 can also pause and resume downloads.

In this guide, we’ll show you how to install aria2 on major Linux distros, then give you some command line examples so you see how to download various file types with the program. By the end of this guide, you’ll know how to use aria2 to download files through various protocols, and pause or resume downloads.

In this tutorial you will learn:

  • How to install aria2 on major Linux distros
  • aria2 command line usage examples
  • How to download a file from multiple mirrors
  • How to pause or resume downloads in aria2

Read more

Installed NVIDIA drivers on Ubuntu 21.04 Hirsute Hippo Linux

How to install the NVIDIA drivers on Ubuntu 21.04

The objective is to install the NVIDIA drivers on Ubuntu 21.04 Hirsute Hippo Linux and switch from a opensource Nouveau driver to the proprietary Nvidia driver.

To install Nvidia driver on other Linux distributions, follow our Nvidia Linux Driver guide.

In this tutorial you will learn:

  • How to perform an automatic Nvidia driver installation using standard Ubuntu Repository
  • How to perform an Nvidia driver installation using PPA repository
  • How to install the official Nvidia.com driver
  • How to uninstall/switch back from Nvidia to Nouveau opensource driver

Read more

Mounting and accessing an ISO file in Ubuntu Linux

How to open ISO files on Ubuntu Linux

An ISO file is an image file of a CD/DVD or other disc. It contains all the files from the disc, neatly packed into a single .iso file. This allows users to burn new copies of the disc, or they can open the ISO file to browse and copy its contents to their system.

An ISO file can also be mounted, which is the virtual equivalent to inserting a disc into your PC. The operating system will treat the ISO as a physical CD rom. In this guide, we’ll see how to open and mount an ISO file on Ubuntu Linux. This can be done from both command line and GUI, so we’ll be covering the steps for both methods.

In this tutorial you will learn:

  • How to open and mount an ISO file via GNOME GUI
  • How to open and mount an ISO file via command line
Mounting and accessing an ISO file in Ubuntu Linux

Mounting and accessing an ISO file in Ubuntu Linux

Read more

How to download online videos from the command line using Youtube-dl

How to download online videos from the Linux command line using Youtube-dl

Nowadays a lot of video sharing platforms exist online. Some are really popular, like Youtube , and others are a little more “obscure”. Different types of content can be found on these platforms, but is not always possible to download them via the native web interface. In this tutorial we will see how to use a small command line utility: youtube-dl. This command line utility is able to download said videos for us using a very simple syntax. The following tutorial aims to demonstrate the capabilities of the program, however it should be used only where appropriate, in order to respect copyright laws.

In this tutorial you will learn:

  • How to install youtube-dl
  • How to download videos using youtube-dl
  • How to list the available formats for a video
  • How to download a specific format
  • How to stream a video directly to a media player
  • How to save downloaded files using template patterns
  • How to specify options into the youtube-dl configuration file
How to download online videos from the command line using Youtube-dl

How to download online videos from the command line using Youtube-dl

Read more

How to rip an audio CD from the command line using cdparanoia

How to rip an audio CD from the command line using cdparanoia

Nowadays we are surrounded by devices able to read digital audio, and there are many services such as Spotify which allow to stream content legally. However if you like to buy music on physical support (compact disc), you may want to extract the audio tracks so they can be used on your smartphone or favorite device, or just for backup purposes. There are man tools on Linux which can be used to accomplish such task, but in the vast majority of cases they are just frontend to cdparanoia. In this tutorial we will learn how to use this tool.

In this tutorial you will learn:

  • How to install cdparanoia on the most used Linux distributions
  • How to retrieve drive information
  • How to rip all the audio tracks from a compact disc
  • How to rip specific tracks and/or a specific segment of a track
  • How to pipe the output of cdparanoia to tools like flac or lame to compress the audio tracks
How to rip an audio CD from the command line using cdparanoia

How to rip an audio CD from the command line using cdparanoia

Read more

main

How to listen to music from the console using the cmus player on Linux

Cmus is a fantastic ncurses-based music player written in C. It can be used on all Unix-based operating systems, and so also on Linux. It has a series of very nice features like gapless playback, and supports a variety of file formats; among the others: Ogg Vorbis, MP3, FLAC, Opus, Musepack, WavPack, WAV, AAC, and MP4. It also support adding features via extensions. In this tutorial we will learn its basic usage.

In this tutorial you will learn:

  • How to install cmus on the most used Linux distributions
  • How to add songs to the library
  • How to reproduce a song, and the various reproduction modes
  • How to add and remove songs from the queue
  • How to create,rename,delete,import and export a playlist
  • How to add and remove songs from a playlist

Read more

How to check NVIDIA driver version on your Linux system

There are few places you may have a look to check what NVIDIA driver you have installed on your Linux system.

NVIDIA X server settings

Let’s start with the most obvious attempt to find out NVIDIA driver version by running NVIDIA X server settings application from your GUI menu.

Check nvidia version on linux system

System Management Interface

Use command line and consult nvidia-smi utility to reveal NVIDIA driver version:

# nvidia-smi 
Fri Dec 25 16:49:12 2015       
+------------------------------------------------------+                       
| NVIDIA-SMI 352.63     Driver Version: 352.63         |                       
|-------------------------------+----------------------+

Read more

Opera web browser running on Linux

How to install Opera web browser on Linux

Opera is a web browser based on the Chromium project. While not as popular as Mozilla Firefox or Google Chrome, it has been around a lot longer than both of them and offers a great web browsing experience with its sleek user interface.

Although it’s based on an open source project, Opera developers include their own closed source and proprietary additions in the final package. This is frowned upon in the Linux world, which means that Opera is almost never the default browser on a Linux distribution. Furthermore, it may not be included in official repositories, so it can’t even be installed (by default) with a distro’s package manager.

Despite this, it’s not hard to install Opera on a Linux system. You just need to follow a couple extra steps. In this guide, we’ll show you the step by step instructions for installing the Opera web browser an all popular Linux distributions.

In this tutorial you will learn:

  • How to install Opera on Debian, Red Hat, and Arch Linux based systems

Read more

Chromium web browser on Linux

How to install Chromium web browser on Linux

Chromium is an open source browser maintained by Google. Along with the Chromium browser itself, Google Chrome, Microsoft Edge, Opera, Vivaldi, and a slew of other notable web browsers are all based on the Chromium source code. It’s safe to say that Chromium plays a huge role in the way that many users view the web today.

Despite Chromium’s influence, it’s far more common to see Mozilla Firefox as the default web browser on Linux systems. Chromium is still the default browser on some systems and is almost always able to be installed directly from a distro’s package manager. Contrast this to a browser like Google Chrome, whose closed source precludes it from being as easily installed on Linux.

While Chromium is a fully functional browser on its own, it’s missing support for propriety codecs like H.264 and AAC. At the cost of minor inconveniences like this, you’ll be getting a open source, Chrome-like browser. We dive more into this topic in our Firefox vs. Chrome/Chromium guide.

In this guide, we’ll see how to install Chromium on all major Linux distributions.

In this tutorial you will learn:

  • How to install Chromium on Debian, Red Hat, and Arch Linux based systems

Read more

Firefox ESR running on Linux

Firefox vs Firefox ESR on Linux

Mozilla Firefox is a really popular browser to use on Linux systems, with many or most distros even including it as the default web browser. It even edges out Chrome and Chromium, at least in the Linux world.

Some Linux distributions, like Kali or Debian include a different version of Firefox, called Firefox ESR (Extended Support Release).

In this guide, we’ll be comparing Firefox to Firefox ESR. This will include a look into why some distros come with ESR instead of the normal version of the browser, and also what the pros and cons are of both browsers.

In this tutorial you will learn:

  • What is Firefox ESR?
  • Why do some distros use Firefox ESR?
  • How to download Firefox ESR

Read more