8/30/2017

CloudCompare hangs on Linux/Ubuntu 16.04

To fix that:
Display | Display Options | Change Auto-compute octree for picking to NEVER

8/20/2017

To use IronKey S200, S100 D200 on Ubuntu 16.04

I need to install the following package to use it:
apt-get install lib32gcc1

Otherwise I got: unable to execute ./linux/ironkey: No such file or directory

8/19/2017

Use clonezilla to create a Ubuntu image and restore it on Mac Pro laptop

A better way is to use https://www.macrium.com/reflectfree

http://clonezilla.org/
Download the stable version and save the files to a USB.
Press Alt + Power button and choose EFI as the boot option.
Start Clonezilla and follow the on screen instructions. Basically I need another hard drive to save and restore the image.

Do the same thing so that the image can be restored on another computer.

!!!IMPORTANT!!!: the target partition size must not smaller than the original backup size.

8/16/2017

Use Cloud on Linux

Use OneDrive: https://github.com/skilion/onedrive

How to change Firefox default zoom

Preferred way: use Zoom Page addon

Second way:
Type about:config in the address bar. Then search for 'layout.css.devPixelsPerPx'. Change it to 1.7.

8/13/2017

Mac Pro Ubuntu Bootcamp Windows Triple System cannot boot issue fix

My mac pro could not boot after I installed Ubuntu. The fix:
Press Shift + Ctrl + Alt and the power button for 10 seconds. Then press the power button again.

If Windows is also installed by BootCamp, the Windows boot loader needs to be fixed:

https://askubuntu.com/questions/650194/repair-windows-boot-loader-after-installing-ubuntu-on-macbook-pro

Fortunately, the solution is fairly straightforward, albeit non-intuitive:

Boot to Ubuntu. (You can also do this from OS X, but you'd need to install gdisk and use a different disk device filename.)
Open a Terminal window.
Type sudo gdisk /dev/sda. After you're prompted for your password, gdisk should launch and tell you, among other things, MBR: hybrid.
Type p to view the partition table. Assuming you know enough about your partitions, you should be able to verify that you're looking at the right disk. If not, type q to quit and try another disk device.
Type x to enter the experts' menu.
Type n to create a fresh protective MBR to replace your existing hybrid MBR.
Type p again to verify that your partitions are all still in place. This is just a precaution to ensure you didn't accidentally hit the wrong key.

Type w to save your partition table. You'll be asked to verify this action. Do so.

Another important fix is to run: boot-repair by logging into Ubuntu (using a USB if the installed version is broken). After running the fix, I have to use the GRUB menu to start the windows, not the original Alt + Power and select Windows way.

How to reinstall Ubuntu without deleting /home/liangzou files?
==============================================================
The following procedures are used to fix the issue of "Ubuntu cannot boot after power outage. Black screen after grub screen issue."
YOU MAY NEED TO DO THE FOLLOWING INSTALLATION TWICE!! After the first installation, there may still be Load Kernel Errors.
You can click on "Something Else" and then manually reinstall it. Choose the same paritions for the same mounts you had before such as /home and root (/) and just make sure the format checkbox is NOT checked. It will reinstall overtop of everything (overwrite) but won't delete anything. Of course as always, you should backup your /home folder before, just in case

After Ubuntu was installed successfully, run the following steps to fix Windows boot:

    Boot to Ubuntu. (You can also do this from OS X, but you'd need to install gdisk and use a different disk device filename.)
    Open a Terminal window.
    Type sudo gdisk /dev/sda. After you're prompted for your password, gdisk should launch and tell you, among other things, MBR: hybrid.
    Type p to view the partition table. Assuming you know enough about your partitions, you should be able to verify that you're looking at the right disk. If not, type q to quit and try another disk device.
    Type x to enter the experts' menu.
    Type n to create a fresh protective MBR to replace your existing hybrid MBR.
    Type p again to verify that your partitions are all still in place. This is just a precaution to ensure you didn't accidentally hit the wrong key.
    Type w to save your partition table. You'll be asked to verify this action. Do so.