How to de-snap Xubuntu 22.10

Snap uses loopback devices for applications it installs. These can cause a device or resource busy error if loopback device is also used for encrypted container files due to conflict. To cut a long story short, I decided to completely de-snap Xubuntu. This involves complete removal of snap. Below are the steps done in a … Continue reading How to de-snap Xubuntu 22.10

How to work with flatpak on Linux Mint or Linux

Flatpak is a relatively new way of managing Linux packages. The basic commands of Flatpak are given below. To list flatpaks, use the below command in a terminal window: $ sudo flatpak list <enter> It will display the following output:Name Application ID Version Branch InstallationMint-Y Gtk Theme org.gtk.Gtk3theme.Mint-Y 3.22 systemMint-Y-Aqua Gtk The… org.gtk.Gtk3theme.Mint-Y-Aqua 3.22 system … Continue reading How to work with flatpak on Linux Mint or Linux

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 query the GTK3 theme currently in use on Linux, enable dark mode and display missing icons in Gnucash

To view the current GTK3 theme in use on the XFCE desktop environment that is pre-installed in distributions like Linux Mint or Xubuntu, open a terminal window and enter the following comment: $ gtk-query-settings theme <enter> Upon enter, it displays the following: gtk-theme-name: "Mint-Y-Dark-Orange" gtk-icon-theme-name: "Mint-Y-Dark-Orange" ! gtk-fallback-icon-theme: NULL gtk-key-theme-name: NULL gtk-cursor-theme-name: "Bibata-Modern-Ice" gtk-cursor-theme-size: 24 … Continue reading How to query the GTK3 theme currently in use on Linux, enable dark mode and display missing icons in Gnucash

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 remove duplicate files in Linux using rdfind

Duplicate files can be removed using the rdfind command in Linux. To do so open a terminal window and first install rdfind as below:$ sudo apt-get install rdfind <enter> Then, check for duplicate files on a medium:$ rdfind true . <enter> . is the current directory where I ran rdfind Make sure you have a … Continue reading How to remove duplicate files in Linux using rdfind