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
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
Start ThunderbirdSelect Edit -> Preferences.Scroll right down and click on Config Editor… button Locate value layout.css.devPixelsPerPx and modify it per convenience. This is needed for displaying messages in the right text size if using a HiDPI display.
To enable night mode on Linux and void strain to the eyes while working at night, install redshift. To install from the repository, open a terminal window and enter the following command: $ sudo apt-get install redshift-gtk <enter> This will install the RedShift tool. Run it and set it up to reduce screen glare at … Continue reading Enable night mode on Linux using RedShift
To install KVM on Fedora, open a terminal window and enter:$ sudo dnf -y install bridge-utils libvirt virt-install qemu-kvm <enter> Next, install virtual machine management tools:$ sudo dnf -y install virt-top libguestfs-tools <enter> Start the daemon:$ sudo systemctl start libvirtd <enter>$ sudo systemctl enable libvirtd <enter> This is a required step to use Android Studio's … Continue reading How to install kvm on Fedora Linux
To check for updates in Fedora 32, open a terminal window and enter the following commands: $ sudo dnf check-update <enter>$ sudo dnf update <enter> This will look for updated rpm files and ensure that the system is patched. Note that "dnf" works similar to "yum" used earlier on Fedora.
Android Studio upon being freshly installed displayed the below error message in the event window: Emulator: createOrGetGlobalVkEmulation: Warning: Vulkan 1.0 APIs missing from instance This error is due to the Vulkan APIs that are not needed if the computer has no graphics card. To overcome this error, open a terminal window and do the following: … Continue reading How to fix Android Studio error message – Emulator: createOrGetGlobalVkEmulation: Warning: Vulkan 1.0 APIs missing from instance
It is strange that Linux Mint has such great sound effects in Cinnamon and they can all be heard, but they do not work on the Linux Mint XFCE desktop. Fret not. The effects are there, but the sounds have to be enabled. This applies to the XFCE desktop in any Linux distribution. To enable … Continue reading Enable login sound in Linux Mint on the XFCE desktop environment
To open a LUKS container file in Thunar file manager in Linux, right click on the container file and select the option Open with Disk Image Mounter. This way, the LUKS container will appear as Device in thunar and can be mounted.
To use only 2 cores of the CPU of the computer, do the following action after opening a terminal window in Linux, where Device10.avd is the Android 10 AVD created: $ vi ~/.android/avd/Device10.avd/config.ini <enter> Change the values in red for the below parameters in the file to those in blue as below.hw.cpu.ncore=4 hw.cpu.ncore=2 Save the … Continue reading How to enable Android Studio AVD to use only lesser number of CPUs than available on the computer