How to override default navbar link colors of Bootstrap 5 to custom color

How much ever I tried to change the color of the navbar links in Bootstrap 5, it never did the change. To do the change, the following had to be done in the CSS stylesheet file. .nav-link { color: #dfb97c !important; } !important allows the default color given by Bootstrap 5 to be overridden by … Continue reading How to override default navbar link colors of Bootstrap 5 to custom color

How to fix global nodemon node package install error on Linux

To install nodemon globally on Linux, below command:$ npm install -g nodemon <enter> will not work as it requires root privileges. If it is installed with :$ sudo npm install -g nodemon <enter> it will install on the local machine in the root folders. If we do not want to install it globally on our … Continue reading How to fix global nodemon node package install error on Linux

How to install node.js on Linux Mint or Ubuntu Linux

To install node.js for LinuxMint Vera (21.1) or Ubuntu, do followingVisit https://github.com/nodesource/distributions#deb Follow the instructions to install the .deb file on your system at https://github.com/nodesource/distributions#debinstall. Open a linux terminal window and enter the following: $ curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash - &&\sudo apt-get install -y nodejs <enter> It will now install node.js on … Continue reading How to install node.js on Linux Mint or Ubuntu Linux

How to install python3 on Linux

Install python3 $ sudo apt-get install python3-pip python3-venv python3 <enter> Make an isolated environment$ mkdir environment <enter>$ cd environment <enter>$ python3 -m venv my_env <enter> where my_env is the isolated environment$ ls my_env <enter> to display the created folders Activate the isolated environment$ source ~/environment/my_env/bin/activate <enter> This will be the resulting prompt(my_env) patrick@rm01:~/environments$ Create a … Continue reading How to install python3 on Linux

How to use deja-dup for data backups on Linux

Deja-dup is a Gnome application. It can be used for data backups of the computer to a USB drive, another hard disk, folder or even to the cloud. Data backups are encrypted using the Gnu Privacy Guard (GPG) shared key as they are done. The first backup takes time, depending on the data to be … Continue reading How to use deja-dup for data backups on Linux

Sort text file in Linux from a particular position

I have a text file, named all.txt, with the following content:f http://www.google.com/f http://www.abc.com/c http://www.google.com/c http://www.abc.com/ I want to sort it on the URL ignoring the first 2 characters i.e f or c . To do this, Linux provides a sort command. Using the keydef option, the file can be sorted. To do so, open a … Continue reading Sort text file in Linux from a particular position

How to convert PostScript script to a .ps file for viewing in PDF viewer or to PNG

Reading about Gerard Huet's paper on the geometry of the Shri Yantra available in PDF format at this link http://pauillac.inria.fr/~huet/SKT/sanskrit.html.orig, I was prompted to try out the Postscript code he had in and Appendix in the paper. After typing the code into a .txt file, the file did not render using Evince or a PDF … Continue reading How to convert PostScript script to a .ps file for viewing in PDF viewer or to PNG

How to fix crackling distorted sound from speakers in Linux Mint 20 XFCE

The computer speakers crackle and give distorted sound at high volumes in Linux Mint 20 XFCE. To overcome this, open a terminal window and enter the following commands: $ alsamixer <enter>Use the right arrow key to locate the option for Auto-Mute. It will show enabled. Change it to disabled by pressing the down arrow key … Continue reading How to fix crackling distorted sound from speakers in Linux Mint 20 XFCE