How to mount another hard disk for sharing with other users in Linux

Sometimes, a drive needs to be shared by more than that primary user logged in on a Linux computer. This is to facilitate sharing of files and folders by other users on that computer. To enable all authorized users to work with files and folders on the shared drive, read on. Any commands need to … Continue reading How to mount another hard disk for sharing with other users in Linux

Replace FindViewByID with ViewBinding in Java on Android

In the gradle.build file for the module, add following code and Sync: buildFeatures { viewBinding true } Above automatically generates binding objects for every layout when the plugin is synced. For activity_main.xml, it will generate ActivityMainBinding class. In MainActivity.java, use inflate method on ActivityMainBinding in onCreate method as shown below: ActivityMainBinding bindMain; bindMain = ActivityMainBinding.inflate(getLayoutInflater()); … Continue reading Replace FindViewByID with ViewBinding in Java on Android

How to create and use LUKS encrypted partition in Linux

It is easy to create a LUKS container and a partition within it, using the GUI on Linux. The application that enables this easily is the gnome-disk-utility. However, if you want to use the command line to set up a LUKS encrypted device, read on. Exercise appropriate caution before doing any of the below with … Continue reading How to create and use LUKS encrypted partition in Linux

How to securely wipe a hard drive or USB drive in Linux using dd or scrub

Normally we'd use dd to clean wipe a hard drive as follows after opening a terminal window for a hard disk or USB drive accessible as /dev/sdb :$ sudo dd if=/dev/urandom of=/dev/sdb status=progress <enter> Another command to do a secure wipe of /dev/sdb is scrub that can be used as follows:$ sudo scrub -p dod … Continue reading How to securely wipe a hard drive or USB drive in Linux using dd or scrub

How to enable the UEFI in VirtualBox for a Windows 10 virtual machine running on Linux

This is for those who missed checking the UEFI checkbox in the settings prior to installing Windows 10 in VirtualBox. Do the below at your own risk, take appropriate backup, First, check and confirm if BIOS Mode is Legacy, which means MBR is the partition and not GPT. To do this, press Windows+R and run:msinfo32.msc … Continue reading How to enable the UEFI in VirtualBox for a Windows 10 virtual machine running on Linux

How to increase font size of menus, lists in Spotify in Linux

To scale the font size of Spotify on Linux, open a terminal window and enter the following command.$ spotify --force-device-scale-factor=1.5 <enter> You will find that spotify menus are now bigger and more readable. To make them scale permanently whenever Spotify starts, create a desktop shortcut and put the scaling factor in the desktop file. $ … Continue reading How to increase font size of menus, lists in Spotify in Linux

Upgrade RAM on a Dell Inspiron 5580 laptop

The easiest way to do this is to visit the Crucial site, and scan the computer if you use Windows. However, on Linux, find out details about the RAM installed open a terminal window and enter :$ sudo dmidecode | more <enter> And scroll through the list till you get to the DIMM block. Here … Continue reading Upgrade RAM on a Dell Inspiron 5580 laptop

How to run latest India income tax utility for the Financial Year 2020-21 (AY 2021-22) in Linux

The Indian income tax department has launched a new tax portal and has also created new income tax utilities to enable income tax returns filers to file their tax returns. Past years' utilities could be run on Linux or any other operating system because they were written in Java. However, this time, the utilities are … Continue reading How to run latest India income tax utility for the Financial Year 2020-21 (AY 2021-22) in Linux

Use insync by insynchq to manage and sync multiple Google Drives and One Drives on Linux

If you are looking for a good tool that enables syncing of Google Drive and One Drive folders and files, you can use insync from https://www.insynchq.com/. They have recently added the capability to sync many Google drives or One drives to their license terms. It is a life saver for those who use Google Drive … Continue reading Use insync by insynchq to manage and sync multiple Google Drives and One Drives on Linux