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.
Liang Zou's Tech Blog
Thank you for visiting!
4/28/2026
4/13/2026
Ubuntu 24.04 installation on Surface Pro 9
Issues:
blueman: Crashes, cannot be installed. Need to use bluetoothctl to pair and connect to bluetooth devices;
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.
12/21/2025
How do I install the NVIDIA drivers for RTX A6000 GPUs on Ubuntu 22.04?
3/17/2025
Ubuntu 22.04 won't upgrade to 6.8 kernal even after sudo apt install linux-generic-hwe-22.04 ran
If the Ubuntu 22.04 is stuck at 5.15 kernal, make sure the following setting is correct.
It turned out that the Software & Updates need to subscribe to All Updates.
3/13/2025
Install nvidia driver 535 on Ubuntu 22.04
For some reason, Nvidia driver 510 and 470 couldn't be install on Ubuntu 22.04 because the installation failed in the last compiling step. Installing driver 535 fixed that issue. To install 535:
sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt update
Then install.
3/12/2025
Debug Ubuntu system
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libcairo2-dev : Depends: libcairo2 (= 1.16.0-4ubuntu1) but 1.16.0-4ubuntu1ppa1 is to be installed
Depends: libcairo-gobject2 (= 1.16.0-4ubuntu1) but 1.16.0-4ubuntu1ppa1 is to be installed
Depends: libfontconfig1-dev (>= 2.2.95) but it is not going to be installed
Depends: libfreetype6-dev (>= 2.1.10) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
3/10/2025
Make VSCode (Cursor IDE) settings better
Settings:
