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

Enable night mode on Linux using RedShift

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

How to configure and run Wine on Fedora Linux

To configure Wine on Fedora Linux, connect to the Internet, then open a terminal window and enter:$ winecfg <enter> After wine is configured, any Windows application that is compatible with it can be installed by entering the below command:$ wine program.exe <enter> where program.exe is the program file to install. Run the program from the … Continue reading How to configure and run Wine on Fedora Linux

How to change language and regional settings or locale in Fedora XFCE Linux

Coming from Linux Mint or Ubuntu or Xubuntu, it is trivial to change language and regional settings there, but in Fedora, to change the language settings, open a terminal window, and enter the following per requirement. To list the current locale:$ locale <enter>LANG=en_US.utf8LC_CTYPE="en_US.utf8"LC_NUMERIC=en_IN.UTF8LC_TIME=en_IN.UTF8LC_COLLATE="en_US.utf8"LC_MONETARY=en_IN.UTF8LC_MESSAGES="en_US.utf8"LC_PAPER="en_US.utf8"LC_NAME="en_US.utf8"LC_ADDRESS="en_US.utf8"LC_TELEPHONE="en_US.utf8"LC_MEASUREMENT="en_US.utf8"LC_IDENTIFICATION="en_US.utf8"LC_ALL= To setup the locale globally:$ vi /etc/locale.conf <enter> Add in the following … Continue reading How to change language and regional settings or locale in Fedora XFCE Linux

How to install vlc and other applications not available in the Fedora repositories via rpmfusion

Fedora has not put the vlc media player in it's official repos. To install it and various other such applications not available in the Fedora repos, add the rpmfusion repository to the package manager and use it to download vlc. To add the rpmfusion repos, open a terminal window and enter the following commands: $ … Continue reading How to install vlc and other applications not available in the Fedora repositories via rpmfusion

How to enable fastestmirror and deltarpms in Fedora

Fastestmirror and deltarpm are perhaps the best features of Fedora, but they are not available by default on the Fedora 32 workstation. To enable these fastestmirror and deltarpm, open a terminal window and do the following: $ sudo vi /etc/dnf/dnf.conf <enter>Add the following two lines to the end of the filefastestmirror=truedeltarpm=true:wq Once the above has … Continue reading How to enable fastestmirror and deltarpms in Fedora

How to fix Android Studio error message – Emulator: createOrGetGlobalVkEmulation: Warning: Vulkan 1.0 APIs missing from instance

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

IntelliJ IDEA displays error that Java SDK is not installed

When IntelliJ IDEA is installed, Kotlin applications cannot be compiled or run unless the Java SDK is installed. Choose to get the Oracle Java SDK or install the OpenJDK SDK corresponding to the OpenJDK Java Runtime Environment that has been installed. By default, the Linux distribution will just install the Java Runtime Environment (JRE). To … Continue reading IntelliJ IDEA displays error that Java SDK is not installed

How to enable Android Studio AVD to use only lesser number of CPUs than available on the computer

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