There’s something about TRIM in LinuxMint or Ubuntu Linux

Got a new PCIe NVMe SSD device? It starts lagging after a few months of use on Linux Mint and to optimize it, do the following after opening a terminal window $ journalctl | grep fstrim.service <enter>This will display when the TRIM was last executed. It normally does this once a week. Verify when the … Continue reading There’s something about TRIM in LinuxMint or Ubuntu Linux

How to check if TRIM is enabled on Linux Mint 20.1

After installation of a NVMe SSD in the laptop, it needs to be well-managed so that it's life does not decrease. To do this, most modern systems use TRIM to manage and delete unwanted blocks of data on the SSD. To check if TRIM is enabled on the Linux Mint 20.1 laptop, open a terminal … Continue reading How to check if TRIM is enabled on Linux Mint 20.1

How to increase battery backup time of laptop in Linux

When running Linux on a laptop (other than a Thinkpad), battery backup time is just about 120 to 150 minutes, irrespective if it is used for heavy work or just idling. To increase the battery backup time in Linux Mint 20+, open a terminal window and install the tlp utility as below: $ sudo apt-get … Continue reading How to increase battery backup time of laptop in Linux

How to assign value to text view directly in Android Kotlin

In Android Studio, when referencing layout (GUI) elements, the normal flow is to use code as below: var tv = findViewById(R.id.tv_name) tv = myString But, in Kotlin, Prior Android version 10, it was easy to assign values to layout elements without using find_view_by_id by simply using: tv_name.text = myString However, this has stopped working and … Continue reading How to assign value to text view directly in Android Kotlin

How to merge PDF files in Linux

Merging PDFs in Ubuntu Linux or Linux Mint was real easy using the pdfunite command in a terminal. To merge PDF files in Linux open a terminal window enter the following command:$ pdfunite file1.pdf file2.pdf file3.pdf combined.pdf <enter> where file1.pdf, file2.pdf and file3.pdf are the individual pdf files that will be merged and combined.pdf is … Continue reading How to merge PDF files in Linux

Installing Spotify on Linux Mint desktop

Spotify also has a desktop application that works on Linux Mint. To install it, open a terminal window and enter the following:$ curl -sS https://download.spotify.com/debian/pubkey_0D811D58.gpg | sudo apt-key add - <enter>$ echo "deb http://repository.spotify.com stable non-free" | sudo tee /etc/apt/sources.list.d/spotify.list <enter> $ sudo apt-get update <enter>$ sudo apt-get install spotify-client <enter>

How to fix error while updating repositories in Ubuntu or Linux Mint

On entering the apt-get update command, the following errors appeared. Reading package lists… DoneW: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/InRelease Cannot initiate the connection to dl.google.com:80 (2414:6221:4109:825::210a). - connect (101: Network is unreachable) Could not connect to dl.google.com:80 (2xx.5x.2xx.2xx), connection timed outW: Some index files failed to download. They have been ignored, or old ones used instead. … Continue reading How to fix error while updating repositories in Ubuntu or Linux Mint

How to install Signal on the Linux Mint 20.1 or Ubuntu

After the WhatsApp privacy changes, many folks have installed the Signal app on their Android devices. Signal also has a desktop client, where Signal can be installed and used on a computer. To install the Linux version, open a terminal window and enter the following commands: Set up the repository$ wget -O- https://updates.signal.org/desktop/apt/keys.asc | sudo … Continue reading How to install Signal on the Linux Mint 20.1 or Ubuntu

How to install wine 5.0.3 stable from winehq on Linux Mint 20 or Ubuntu

The wine package in the Ubuntu Linux repository is version 5, but running applications from it, cannot connect to the internet. It was found that upgrading to wine version 5.0.3 in the winehq repository solved this error. To install wine version 5.0.3 from winehq, open a terminal window and enter the following commands: $ sudo … Continue reading How to install wine 5.0.3 stable from winehq on Linux Mint 20 or Ubuntu