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

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 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 in the winehq repository solved this error. To install wine from winehq, open a terminal window and enter the following commands: $ sudo dpkg --add-architecture i386 … Continue reading How to install wine stable from winehq on Linux Mint 20 or Ubuntu

Select and set up a Crucial M2.2280 NVMe PCIe SSD

Android Studio works quite slow with a normal SATA Hard Disk Drive (HDD), on a computer. To overcome this, there are a few solutions, including waiting for the good folks at Google to release another efficient version, or if you are seriously into Android development, then you can augment the hardware of your computer by … Continue reading Select and set up a Crucial M2.2280 NVMe PCIe SSD

How to pair bluetooth device with Linux Mint 20 XFCE using bluez

Bluetooth by default was not recognizing the devices I wanted to connect to the computer on my Linux Mint 20 system. Therefore, open a terminal window and enter the following commands:$ sudo apt-get install blueman <enter>$ sudo systemctl enable bluetooth.service <enter>$ sudo systemctl start bluetooth.service <enter> $ sudo vi /etc/bluetooth/main.conf <enter>Under [General] remove the # … Continue reading How to pair bluetooth device with Linux Mint 20 XFCE using bluez

Android Studio experience on Linux distributions

Finally tried out Android Studio 4.0.1 on multiple Linux distributions. However, below is my experience on how it went. Mileage varies. Linux Mint 20 with Android Studio without a swap file of 8 GB would hang or freeze very frequently. Technically, not a freeze but it got too slow to be able to do anything … Continue reading Android Studio experience on Linux distributions