How to quickly create a 150 GB file on Ubuntu

There are various methods to create a 150 GB file on Linux, but the fastest way to do so is to use fallocate. Open a terminal window and enter the command below:

$ fallocate 150G filename <enter>

The above command creates a 150 gb file named filename.

. . . → Read More: How to quickly create a 150 GB file on Ubuntu

System scaling in Linux on 1920×1080 display (HiDPI)

Note system scaling works out of box with Cinnamon desktop. Open a terminal window and install it with:

$ sudo apt-get install cinnamon-desktop-environment <enter>

To do system scaling in the Gnome Desktop Environment, install the gnome-tweak tool. To do so, open a terminal window and enter the command as below:

. . . → Read More: System scaling in Linux on 1920×1080 display (HiDPI)

How to find out time taken in Linux by processes when starting the computer

To identify which system processes take how much time when booting your Linux system, open a terminal window, at type the following command:

$ sudo systemd-analyze blame <enter>

How to debloat, remove crapware from Xiaomi Redmi Note 5 Pro smartphone

Never look a gift horse in the mouth..

If you are one of those who is a technology connoisseur and love to compare specifications of smart phones before making a purchase decision, you need to be aware that the Xiaomi Redmi Note 5 Pro with 6 GB Internal RAM, best display and camera is . . . → Read More: How to debloat, remove crapware from Xiaomi Redmi Note 5 Pro smartphone

How to restart wifi after Suspend/Resume Ubuntu Linux

Ubuntu Linux installed on a Lenovo laptop randomly disables wireless networks altogether. Subsequently, it does not show any wireless networks too in Network Manager.

To resolve this issue, did the following:

$ sudo lshw -class network <enter>

Below is the result.

Notice the logical name wlp2s0b1 and the driver brcmsmac

*-network description: . . . → Read More: How to restart wifi after Suspend/Resume Ubuntu Linux

Install XFCE desktop and remove Gnome desktop on Ubuntu 18.10

To install Xubuntu after you have install Ubuntu 18.10 with the default Gnome desktop, make sure to take a backup of your data and then open a terminal window and run the following commands:

$ sudo apt-get install xubuntu-desktop <enter>$ sudo apt-get purge whoopsie orage gigolo catfish snap* parole* <enter>$ sudo . . . → Read More: Install XFCE desktop and remove Gnome desktop on Ubuntu 18.10

Speed up application startup time in Ubuntu

If you find your Linux computer is slow in starting up applications, you can install the preload package. It makes a small, discernible difference when launching applications.

To install, open a terminal window and run the following command:

$ sudo apt-get install preload <enter>

. . . → Read More: Speed up application startup time in Ubuntu

Remove a broken package on Ubuntu

To remove a broken package, open a terminal window and enter following command:

$ sudo dpkg –remove package-name <enter>

where package-name is the broken package to be removed.

Error when opening a LUKS encrypted container file /dev/loop0 Device or resource is busy on Ubuntu 18.10 Gnome Desktop

When you enter the command below in a terminal window:

$ sudo /sbin/losetup /dev/loop0 /home/user1/folder1/containerdatafile <enter>

Device error or resource busy error message appears and the device is not setup.

The reason is that /dev/loop0 is taken by snap.

To overcome the error, change /dev/loop0 to something else like /dev/loop35

Or, if you do not . . . → Read More: Error when opening a LUKS encrypted container file /dev/loop0 Device or resource is busy on Ubuntu 18.10 Gnome Desktop

GnuCash Finance:Quotes Modules MumbaiStock and IndiaMutual to retrieve online quotes (updated)

GnuCash Finance:Quotes Modules MumbaiStock and IndiaMutual have been updated as on January 19, 2019. Please refer http://www.askmeaboutlinux.com/?p=3432 to download the modules and the instructions on how to install them.

June 2019
M T W T F S S
« Feb    
 12
3456789
10111213141516
17181920212223
24252627282930