Li-Zhao's HomePage


I (LI Zhao) am from School of Computer Engineering, Nanyang Technological University, working in Sybase.
This is a memory book for me, so, miscellaneous topics can be found here.
Have fun!



Loading Blog Search...

Saturday, February 15, 2025

Development with Linux Terminal on Pixel Tablet

Android is transforming to a cross tablet and desktop OS. Google is officially supporting Linux installation on Android 15/16 beta versions!  This Linux distribution uses Android's AVF framework, making it feel like native Linux on your device.  While there were still some bugs as of February 2025, it's become quite usable, especially on Google Pixel Tablets.  For me, it's perfect for light development work and trying out new code while traveling.  Here's how I set up my development environment on my 11-inch tablet.

Wednesday, May 18, 2022

Is Wayland matured on Ubuntu

On Ubuntu 22.04, for the sake of Waydroid, I gave Wayland a try. Without knowledge of the root causes of the following issues, I'd just hold on for a while before switching. 


  1. Chrome/VS Code fonts are blurry, once display scaling is enabled. 
  2. Chrome and Prospect Mail blink often during rendering. 
  3. Laggy mouse/windows dragging sometimes.
Is it caused by Nvidia GPU compatibility? 

Sunday, May 01, 2022

Ubuntu tools to use outlook

1. Evolution needs ews plugin installed to use outlook.com emails for enterprises 2. https://github.com/abraunegg/onedrive, deb installed from Suse build repo works great.

Monday, April 25, 2022

Ubuntu and Bluetooth Call

Here is a note for Ubuntu install. Bluetooth A2DP and HDP modes were always messed up by default, i.e., I can't really use Bluetooth microphone to make teams/zoom call. Seems replacing PulseAudio with Pipewire/wireplumber solve the problem smoothly. Refer to here.

Sunday, March 27, 2022

Ludashi scores

Didn't know Huawei Mate30 is so powerful, almost same with Lenovo AMD 5600G Desktop.

Sunday, March 13, 2022

Slow Ubuntu Bootup Troubleshooting

To analyze the reasons slowing down Ubuntu bootup, please use systemd-analyze cmd. 

systemd-analyze time
Startup finished in 5.027s (kernel) + 11.220s (userspace) = 16.247s
graphical.target reached after 11.194s in userspace
To sort modules by time taken during boot, use
systemd-analyze blame
We can see snap modules took quite long to load. But snap are loading in parallel and doesn't block others. We can see critical path:
systemd-analyze critical-chain
graphical.target @11.194s
For me, removing a USB card reader helps, due to BIOS/UEFI?

Wednesday, January 13, 2021

docker compose to remote host

# setup
ssh -nNT -L /tmp/socket.remote:/var/run/docker.sock user@remote.example.com &
export TUNNEL_PID=$!
export DOCKER_HOST=unix:///tmp/socket.remote

# use docker, docker-compose here
docker-compose…


# shutdown and cleanup of the socket
kill $TUNNEL_PID
rm -f /tmp/socket.remote

CLI tool to manage Ubuntu network

Seems Ubuntu@WSL2 has problem on DNS. I need to use nmtui to manual configure DNS server time to time.