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
Tag: encrypted swap
How to add 8 gb swap file instead of the 1 gb swap partition created by Xubuntu Linux on install
When using Android Studio or any other disk intensive applications, on Ubuntu-based distros, it is difficult to squeeze performance due to less RAM. 8gb RAM if using Android Studio and if Firefox web browser is also being used, the system will freeze or hang. To prevent this, increase the swap size. Unfortunately, Ubuntu-based distros only … Continue reading How to add 8 gb swap file instead of the 1 gb swap partition created by Xubuntu Linux on install
What to do if “failed to connect to lvmetad” slows down booting on Linux Mint or Ubuntu
As my system was very slow to boot, while grub loaded, I press the Esc key see what was wrong. The error related to "failed to connect to lvmetad" occurred frequently. This error is due to improperly configured swap file for the resume of the laptop on hibernate. To fix this, open a terminal window … Continue reading What to do if “failed to connect to lvmetad” slows down booting on Linux Mint or Ubuntu
How to encrypt swap partition on Ubuntu 14.04 LTS
If you installed Ubuntu 14.04 afresh, and selected home folder encryption, you will also get an encrypted swap partition. However, when the computer boots, you get the following error message: the disk drive for /dev/mapper/cryptswap1 is not ready yet or not present. Note that you need to have a proper data backup and make sure … Continue reading How to encrypt swap partition on Ubuntu 14.04 LTS
How to check if swap is encrypted in Ubuntu
Start up a terminal window and then enter the commands as shown in italics below. The following command will tell you if your swap is encrypted in Ubuntu 12.04. $ swapon --summary <enter> Filename Type Size Used Priority /dev/mapper/cryptswap1 partition 3904508 0 -1 Above indicates swap is encrypted. If it returned nothing except the heading, … Continue reading How to check if swap is encrypted in Ubuntu