Ben Chuanlong Du's Blog

And let it direct your passion with reason.

Map Keys in Linux

Note: For Vim users, it is appealing to make the Caps Lock function like Escape. It is suggested that you make Caps Lock an additonal Escape rather than swap them. This avoid inconsistent key mapping issues when you work remotely via VNC, NoMachine, etc.

Desktop Environment

Some desktop environment (e …

Schedule Task Using Cron in Linux

Note: Cron is great for simple scheduling requests. For complicated scheduling with many dependencies you probably want to go with AirFlow .

Installation

Cron is usually installed by default. It not (e.g., if you are using a Docker image), you can install it using the following command (on Ubuntu).

wajig …

Things to Do After Installing Linux

Note: The tips here are for Debian-based Linux distributions (Debian, Ubuntu, LinuxMint, Pop!_OS, AntiX, etc.).

Debian Specific

  1. If you installed Debian without a desktop environment, and wants to install a customized desktop environment now, make sure to install a DE manager (e.g., gdm, lightdm, etc.) as well. without …

Permission Issues when Installing Softwares in Linux

Sometime when you install softwares in Linux, you get an error message saying that you do not have permission while you used sudo or the root account. This probably means that you do not have full access to some installation files. An easy way to solve this problem is to …

Tips on Installing Debian Series of Linux Distributions

Before Installation

Debian Specific

  1. You'd better not install back ported Debian images, as it might cause issues with other software (e.g., VirtualBox). It is suggested that you use Debian test.

Other Debian-based Linux Distributions

  1. Download the right ISO image of the Linux distribution that you want to install.

  2. Create …