Civilization VI: Void Linux libfontconfig Fix

Trying to launch the great Civilization 6 under Linux Void results in the following on my machine.

./Civ6
./GameGuide/Civ6: symbol lookup error: /usr/lib/libfontconfig.so.1: undefined symbol: FT_Done_MM_Var

I solved this issue by adding LD_PRELOAD=/usr/lib/libfreetype.so.6 %command% to the launch options.

Posted in Uncategorized | Leave a comment

How to Run a Command Periodically

Linux: there’s the watch command.

watch date

FreeBSD: you will need the package gnu-watch.

pkg install gnu-watch;  gnu-watch date
Posted in Uncategorized | Leave a comment

How to Convert Disk IMG to VMWare’s VMDK Format

First, make sure you have qemu.

apt install qemu

Then, you can convert the file:

qemu-img convert -O vmdk disk.img disk.vmdk

Lastly, you can move the file to its VM destination.

mv disk.vmdk ~/vmware/vm-target/
Posted in Uncategorized | Leave a comment

How to Convert All HEIC Pictures in a Directory to JPEG Files

for i in *.heic; do convert $i `basename $i .heic`.jpg ; done;

You will be left with a lot of picture files. Now all that is needed is a simple delete of all HEIC, after careful examination of the output.

Posted in Uncategorized | Leave a comment

Anki reached 3000!

The other day, my Anki deck has finally reached 3000 cards. After some 500 days. Hurrah!

Posted in Uncategorized | Leave a comment