To edit video and audio files in ffmpeg, below are some commands. Open a terminal window and try them out. These are very useful when creating training videos. Extract mp3 audio from mp4 file$ ffmpeg -i video.mp4 -vn -ab 256k -ar 48000 -y audio.mp3 <enter> Split from 7 seconds to end$ ffmpeg -i audio.mp3 -ss … Continue reading ffmpeg audio file editing commands
Tag: Linux
Completely remove Firefox from Ubuntu Linux or Xubuntu
Exercise due caution with your data before doing these steps. Take a data backup first. In order to completely remove Firefox from Ubuntu Linux, open a terminal window and enter the following: Delete the application $ sudo apt-get purge firefox* <enter> Remove the folders $ sudo rm -Rf /etc/firefox <enter>$ sudo rm -Rf /usr/lib/firefox* <enter>$ … Continue reading Completely remove Firefox from Ubuntu Linux or Xubuntu
How to update snap packages in Ubuntu or Xubuntu
To update snap packages in Ubuntu or Xubuntu open a terminal window and enter the following commands:$ sudo snap refresh <enter> To list snap packages use:$ snap list <enter>
How to install Epson L365 inktank printer in Ubuntu or Xubuntu or Linux Mint
The Epson L365 ink tank printer on the Ubuntu 23.04 computer was not being installed. The L series printers never showed up on the list of printers in Settings -> Printers and Add printer. Even though Epson was available for selection, it only showed the dot matrix printers in the list of printers that can … Continue reading How to install Epson L365 inktank printer in Ubuntu or Xubuntu or Linux Mint
Add sound theme to events in XFCE desktop on Xubuntu 22.10+ Linux
Xubuntu is based on the XFCE desktop. The XFCE desktop has a provision for wonderful sound effects also known as sound theme for events such as desktop login, maximise, minimise, but these do not work by default. The sound theme is there by default and it can be enabled as shown, but here we will … Continue reading Add sound theme to events in XFCE desktop on Xubuntu 22.10+ Linux
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 install git on Linux
To know how to install and work with git, refer https://wordpress.com/post/askmeaboutlinux.com/2504. Git is a powerful source code and versioning system.
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 fix issue if autocomplete or intellisense does not work in vscode for express.js
If the below line is used in the javascript code:const express = require(express); then autocomplete / intellisense will not work. It will not display the relevant methods as shown in the image below. This is the correct code to use:const express = require("express"); The quotation marks make the difference and the following image shows the … Continue reading How to fix issue if autocomplete or intellisense does not work in vscode for express.js