Make nvim-tree width dynamic

Create a file named ~/.config/nvim/lua/plugins/nvim-tree.lua and put the following content:

Read More

Install NeoVim along with NVChad installation

NeoVim has a tremendous number of improvements compared to Vi. As with Vi, it has a very steep ram-up. Basically, you have to configure from zero, which is not easy

Read More

Create a swap file on Linux

The simple following steps will create a swap file. Swap files are used when the operating system need more memory. It uses the swap space as memory. Its usage shall

Read More

LAMP on Linux 22.04

This post contains notes to install Apache2, MySQL and PHP on a Ubuntu Server 22.04. This is not a tutorial but a checklist. Install the required softwares

Read More

How to create a SSL tunnel

This blog post assumes that ssl is already installed. The basic command to create an SSL tunnel is: where:

Read More

How to protect an Apache Website with a password

This blog post assumes that Apache is already installed. You’ll need to install this package in order to protect the website with a password. First of all, you’ll need to

Read More

Mount a BitLocker partition on a Linux system

This post explains how to mount a BitLocker partition on a Linux system. You’ll need the BitLocker recovery key to do so, along with the device file (/dev/sd?) of the

Read More

Mount a partition from a full disk image file on Linux

This post explains how to mount a partition from a disk image file on a Linux system. Such a file may have been created using the dd command. The disk

Read More

Linux whole data disk encryption

This post give the main steps to achieve full data disk encryption. The disk password will be required during boot time. You will need the device name of the disk

Read More

How to create an encrypted file and open it

You’ll find in this post the basic steps to create an encrypted luks file and open it. You’ll need to perform the following steps to create it: The following steps

Read More

Create a Linux Program Launcher Icon

Two tools are now available in the GitHub repository located at https://github.com/ctheroux/LinuxUtilities-Users to create a program launcher for most Linux systems. The first version of them is a command-line version

Read More

How to install Pronterface on Ubuntu 16.04

To install Pronterface on Unbuntu, first install the dependencies. sudo apt-get install python-serial python-wxgtk3.0 python-pyglet \ python-numpy cython python-libxml2 python-gobject python-dbus \ python-psutil python-cairosvg libpython-dev git Then, download Pronterface git

Read More

Script to create a shared git project

This script creates a git project to be shared among the users of the Unix group $GIT_GROUP. Every git project will be created into the directory $REPOSITORIES_BASE_DIR. #!/bin/bash # Base

Read More

VirtualBox fails on startup

Result Code: NS_ERROR_FAILURE (0x80004005) / Kernel driver not installed (rc=-1908) are the errors displayed when the kernel driver needs to be recompiled. It usually happens when updates to Ubuntu are

Read More

Port forwarding using SSH

SSH port forwarding let you connect to a server using another server a relay. For example, if you host a web server in a DMZ behind your office router, you

Read More

Reset Unity Top Menu Bar Widget Panel

Sometimes, widget disappears from the Top Menu Bar Widget Panel of Unity. The Widget Panel can be reset using the following command: killall unity-panel-service

Read More

Make Linux use the hardware clock set to local time

Ubuntu sometimes assumes that the hardware clock of the computer is set to GMT. If the hardware clock is set to local time, set UTC=no in /etc/default/rcS.

Read More

Move and secure the MySQL data directory

By default, the data directory of MySQL is /var/lib/mysql. This can be a security issue, especially on a laptop. If your home directory is encrypted, you can easily secure you

Read More

Fix “The Update Information Is Outdated”

Sometimes, the message “The Update Information Is Outdated” is displayed when you click on a red warning red icon in the status bar. It happened to me last week. This

Read More

Change the Ubuntu login screen background?

Changing the login screen background is easy but not obvious. The image file you want to use as the login screen background must have a read access for everyone. Open

Read More