Thursday, September 26, 2019

Slow Ubuntu startup time due to apt-daily.service

The  apt-daily.service  makes users feel very slow when running at startup. There is a workaround to delay its execution after system boot up:

Do the following:
 sudo systemctl edit apt-daily.timer 

And paste the config to the config file:
 # apt-daily timer configuration override 
 [Timer] 
 OnBootSec=15min 
 OnUnitActiveSec=1d 
 AccuracySec=1h 
 RandomizedDelaySec=30min 

References:
https://askubuntu.com/questions/800479/ubuntu-16-04-slow-boot-apt-daily-service
https://ubuntu-mate.community/t/shorten-boot-time-apt-daily-service/12297

Thursday, September 19, 2019

Android Emulator 29.2.0 problem with Ubuntu 19.04

It just crashed with segmentation fault.

Display card tested: Radeon RX 550, Intel UHD Graphics 630

From https://androidstudio.googleblog.com/2019/09/emulator-2920-stable.html, the OS may crashes with incompatible Vulkan drivers. 

Temporary rollback to emulator 29.1.12-5839083 as a workaround.


Monday, September 2, 2019

Adjust VirtualBox VMS BIOS time


Syntax

   VBoxManage modifyvm "VMS Name" --biossystemtimeoffset -ms

   Note:
   ms - milliseconds


For example

   VBoxManage modifyvm "VMS Name" --biossystemtimeoffset -86400000

Sync multiple git repo at once

Use the following command in Linux will do the job:  ls -d RepoNames* | xargs -I{} git -C {} pull