GPRename shortcut

Pyrenamer doesn't exist for Ubuntu 18.04, but GPRename is a similar GUI batch renamer app from the default Ubuntu repositories. To quickly open a program in Ubuntu, you can press the Super (Windows) key and start typing, but GPRename isn't added after installing it:

dev-sda-clean

If you have switched graphic card driver from Nvidia to Nouveau in Ubuntu, you might get this message after boot, where it just hangs:

ffmpeg resizing

You can reduce the size of a video by reducing the resolution with the ffmpeg program.

Install:

sudo apt install ffmpeg

Usage:

ffmpeg -i original-title.mp4 -r 30 -s 640*360 result-title.mp4

Explanation of -r and -s options:

Snap list

Snap is a new experiment in Ubuntu 18.04, which makes the File System useless, as well as other annoyances like creating a folder in /home/username/Snap.

To uninstall Snap and reinstall the packages the normal way:

sudo apt purge snapd
sudo apt-get update
sudo apt-get install gnome-calculator gnome-characters gnome-logs gnome-system-monitor
VLC as default MP3 player

If you have tried everything, but can't set VLC as default application for MP3's, last resort is to manually update ~/.config/mimeapps.list.

Settings files for Sublimetext, previous next tab and look

Setting files for Sublimetext are in this folder in Ubuntu: ~/.config/sublime-text-3/Packages/User

General settings
Insert this in ~/.config/sublime-text-3/Packages/User/Preferences.sublime-settings to change the skin, font size, tab size, convert tabs to spaces, etc. You might have to install the Solarized Color Scheme as a Package first:

Lando and Docker

Lando is a Docker based development tool, which is much faster than Vagrant-based tools, since processes are run in containers directly on the host machine.

Install Docker

ScotchBox Composer Drupal 8

Setting up ScotchBox 3.5 (Ubuntu 16.04) for Drupal 8 using the official Composer template.

cv

With the CiviCRM command line tool cv you can run cron jobs and perform other related tasks from the terminal.

To install cv without sudo access, for example on shared hosting, you can install cv. First, you need to find (in this case in Scotch Box / Vagrant) the available environment paths with:

$PATH

Result:

virtual host in Scotch Box

Sometimes you want to host multiple sites in a single virtual Scotch Box public_html folder, or any other Vagrant+VirtualBox setup.