How to read ID3 data from an MP3 file on Linux with the command line.

Reading ID3 data from an MP3 file on Linux is very easy with the ffmpeg suite. The ffprobe command can do this very easily. This example will return the title and artist of the MP3 file. 4.4 Mon Mar 02 jason@Yog-Sothoth 0: $ ffprobe -loglevel quiet -show_entries format_tags=artist,title 02\ Snake\ Hips.mp3 [FORMAT] TAG:title=Snake Hips TAG:artist=The … Read more

How to get DVD playback working on Ubuntu. This is very easy.

To get DVD playback working on Ubuntu, the libdvdcss library is required. This is easily installed and necessary to decode a DVD properly for playback. Install this package to prepare for installation. This also allows automated updates to the library. 4.4 Sat Feb 29 jason@Yog-Sothoth 1: $ sudo apt install libdvd-pkg4.4 Sat Feb 29 jason@Yog-Sothoth … Read more

How to use find on Linux to find and display a list of files.

The Linux find command is very useful for finding certain files. I will show how to search a folder and return a listing of files. This example below shows how to list all webm and gif files in the directory and all subdirectories. 4.4 Fri Feb 21 jason@Yog-Sothoth 0: $ find -regex ‘.*\.\(gif\|webm\)’ -print ./1397195397532.gif … Read more

How to use the command line to change GTK settings easily.

The settings used by the file chooser in MATE or Gnome can be changed easily with the command line. The gsettings utility makes this easy. This example will alter the Firefox file chooser, it will have directories listed first, in descending order, sorted by date modified. gsettings set org.gtk.Settings.FileChooser sort-column ‘modified’ gsettings set org.gtk.Settings.FileChooser sort-order … Read more

How to list all symbolic links in a directory easily with the shell.

List all symbolic links in a folder is very easy, this is how to find just the symlinks and not bother with any other files. This example shows how to use the find command to do this. 4.4 Tue Feb 04 jason@Yog-Sothoth 0: $ find . -type l ./boom ./chocolate-strife-setup ./LS ./heretic ./doom ./cowthink ./chocolate-doom-setup … Read more

How to easily download whole albums and tracks from Bandcamp on Linux.

The Bandcamp website hosts a lot of music, and it is very easy to download music from the website easily on Linux. Firstly, install the Python pip3 addon. 4.4 Sat Jan 18 jason@Yog-Sothoth 0: $ sudo apt install python3-pip4.4 Sat Jan 18 jason@Yog-Sothoth 0: $ sudo apt install python3-pip Then, install the Python Bandcamp script. … Read more

A one-liner that will list only the mounted removable drives on your system.

This command will only list the mounted removable drives on your Linux system. The ones under /dev/sd*. This is very easy to use. 4.4 Mon Jan 13 jason@Yog-Sothoth 0: $ cat /etc/mtab | grep /dev/s[a-f]/* /dev/sda2 /media/jason/Seagate\040Expansion\040Drive fuseblk rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096 0 0 /dev/sdb4 /media/jason/My\040Stuff fuseblk rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096 0 04.4 Mon Jan 13 jason@Yog-Sothoth 0: $ cat /etc/mtab … Read more

How to get information about a user on Linux with the command line.

It is easy to get comprehensive information about a user on Linux by using the command line. I will show you how to see password expiry information and other details. This example shows the use of the chage command to retrieve password expiry information. 4.4 Mon Jan 13 jason@Yog-Sothoth 0: $ sudo chage -l jason … Read more

Back up your home directory easily with this simple script.

Back up your home directory with this simple script. This will concatenate all of your files into one tar archive, then compress it into a gzipped file. Firstly, install the required applications. ┌──(john㉿DESKTOP-PF01IEE)-[~/Documents] └─$ sudo apt install pv pigz┌──(john㉿DESKTOP-PF01IEE)-[~/Documents] └─$ sudo apt install pv pigz This is the backup script I am using. This will … Read more

How to create thumbnails of dds files in Ubuntu or Mint.

Thumbnailing for the DirectDraw Surface file format is not supported in Linux with the Caja file manager, but this is easy to fix. The /usr/share/thumbnailers/ directory contains all of the thumbnailer files that automatically create thumbnails in the file manager for Caja. Just create a file named dds.thumbnailer and put this in it. 2 3 … Read more