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 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

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.

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

In GnuCash, the Finance:Quotes module allows retrieval of online quotes from various sources. Herein, are provided two modules, MumbaiStock.pm and IndiaMutual.pm with bugs corrected to enable the download of Stock Quotes from BSE and NAVs from amfiindia.com.

To use the modules, follow the instructions below. Note that you are responsible to take backups and all . . . → Read More: GnuCash Finance:Quotes Modules MumbaiStock and IndiaMutual to retrieve online quotes

How to restore TWRP recovery after encrypting internal storage on LineageOS 14.1 on Motorola G 2014 (titan)

I installed LineageOS 14.1 on an old Motorola G 2nd Generation (2014) android phone, also known as titan. All went well and it worked like a charm.

I wanted to encrypt the internal storage and accordingly, did so from the Settings -> Security option on the phone. It worked well and said the phone was . . . → Read More: How to restore TWRP recovery after encrypting internal storage on LineageOS 14.1 on Motorola G 2014 (titan)

Display all hardware information in Linux using lshw

To find out the details of every hardware component in a Linux computer, open a terminal window and enter:

$ sudo lshw <enter>

Display all hardware information in Linux using lshw in a shorter report $ sudo lshw –short <enter>

The report generated is very detailed and precise. It can be used to help decisions . . . → Read More: Display all hardware information in Linux using lshw

Crossover Office and SimpleMind Desktop for Windows on Linux

It took a while to find out the big difference between Wine and Crossover Office. I use a Mind Mapping software SimpleMind Pro on an Android device to create mind maps to learn new subjects rapidly. SimpleMind Pro saves files direct to Dropbox or Google Drive and you can open these files on any Windows . . . → Read More: Crossover Office and SimpleMind Desktop for Windows on Linux

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