Open a terminal window and enter the following to find out technical information of an SSD installed in the computer using Linux. $ sudo hdparm -i /dev/sda <enter> /dev/sda:Model=CT500MX500SSD1, FwRev=M3CR043 Visit https://www.crucial.in/support/ssd-support/mx500-support to check if there is a firmware upgrade for the SSD.
Decrease swappiness whereby the use of swap is curtailed$ cat /proc/sys/vm/swappiness <enter>returns the value of swappiness which is 60 initially. Make this 20 as follows:$ sudo xed /etc/sysctl.conf <enter>Add a line to the end of the filevm.swappiness=20Save the file. Disable Java in LibreofficeOpen Libreoffice Writer.Go to Tools -> Options -> Advanced -> Java OptionsUncheck Java … Continue reading How to improve performance of Linux Mint XFCE on old computer
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
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
This is based on the experience of one of my family with Dell Support whose Dell Inspiron uses a 3 cell 4.1V 3500 mAH Li-ion battery - part number FW8KR11. This was confirmed in Linux using dmidecode. Open a terminal window and enter the command below.$ sudo dmidecode <enter>Portable BatteryLocation: Sys. Battery BayManufacturer: BYDManufacture Date: … Continue reading Dell Support Experience to order and replace laptop battery
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
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
To check the type of audio stream in a video file on Linux, open a terminal use ffprobe. $ ffprobe aaa.avi <enter> This lists out the properties of audio file.
To reinstall an existing uninstalled package on a Samsung Android phone, connect the device to the computer in developer mode and start up ADB. List all uninstalled packages and check the package name that is to be reinstalled, for example, gallery3d, in the adb window, enter:pm list packages -u | grep "gallery" <enter> To install … Continue reading How to restore or reinstall package uninstalled on android using adb
Below error appears when updating the initramfs-tools: Processing triggers for initramfs-tools (0.130ubuntu3.8) …update-initramfs: Generating /boot/initrd.img-5.1.0-15-genericI: The initramfs will attempt to resume from /dev/dm-1I: (/dev/mapper/vg0-swap)I: Set the RESUME variable to override this. Before proceeding beyond this point, take a data backup. This error usually occurs if the computer had dual booting and a swap file that … Continue reading How to fix initramfs-tools error when updating it