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.
Thank you for visiting!
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.
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.
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.
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.
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.