In the Linux box, run: timedatectl set-local-rtc 1 --adjust-system-clock
Liang Zou's Tech Blog
Thank you for visiting!
11/27/2026
Disable checkbox on Windows 11 in Tablet mode
Navigate in regedit to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\PriorityControl and change the ConvertibleSlateMode key to 1
11/15/2026
Mac OS: disable the play/pause button on the preview icon
defaults write com.apple.finder QLInlinePreviewMinimumSupportedSize -int 512 killall Finder
7/13/2026
Ubuntu password set a short one, disable length check
sudo apt-get purge libpam-pwquality
Then: sudo passwd <user name>
Don't use the Settings UI to change it because the UI will check the length too.
6/14/2026
4/28/2026
On Ubuntu 22.04/24.04, SAML authentication from GlobalProtect doesn't open the default browser
The problem was that ~/.config/mimeapps.list doesn't have the correct setting for type text/html=. It should be set to text/html=microsoft-edge.desktop or your chosen browser.
4/13/2026
Ubuntu 24.04 installation on Surface Pro 9 & Surface Pro 11
Issues:
bluetooth: The bluetooth doesn't work after hibernation. The following steps nneed to be added:
1. sudo emacs /lib/systemd/system-sleep/bt-lunar-fix
2. Paste the following script:
#!/bin/sh
case $1 in
post)
echo "Resetting Bluetooth for Lunar Lake..."
systemctl stop bluetooth
modprobe -r btintel_pcie btintel bluetooth 2>/dev/null || true
sleep 1
modprobe btintel_pcie
systemctl start bluetooth
;;
esac
3. sudo chmod +x /lib/systemd/system-sleep/bt-lunar-fix
hibernation: surface pro 9 hibernate won't shutdown completely on ubuntu 24.04. Need to add Adding specific kernel flags can force the hardware to respect power-off commands.
Open the configuration: sudo nano /etc/default/grub.
Find the line GRUB_CMDLINE_LINUX_DEFAULT.
Append pci=hpiosize=0 to the existing parameters (e.g., GRUB_CMDLINE_LINUX_DEFAULT="quiet splash pci=hpiosize=0").
Update GRUB: sudo update-grub and reboot.
sogou pinyin: Should not install fcitx5. sudo apt purge fcitx5. Need to install fcitx.
Grub: Adding GRUB_DISABLE_MEMTEST=true to /etc/default/grub and re-running sudo update-grub to remove the memtest from the grub selection menu.