update_pm() {
sudo apt update
sudo DEBIAN_FRONTEND=noninteractive apt upgrade -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confnew" -o Dpkg::Options::="--force-overwrite"
sudo DEBIAN_FRONTEND=noninteractive apt autoremove -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confnew" -o Dpkg::Options::="--force-overwrite"
echo y | sudo ubuntu-drivers install || true
sudo apt install -f -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confnew" -o Dpkg::Options::="--force-overwrite"
echo y | sudo ubuntu-drivers install || true
sudo apt install -f -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confnew" -o Dpkg::Options::="--force-overwrite"
echo y | sudo ubuntu-drivers install || true
sudo apt install -f -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confnew" -o Dpkg::Options::="--force-overwrite"
echo y | sudo ubuntu-drivers autoinstall || true
sudo apt install -f -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confnew" -o Dpkg::Options::="--force-overwrite"
echo y | sudo ubuntu-drivers autoinstall || true
sudo apt install -f -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confnew" -o Dpkg::Options::="--force-overwrite"
echo y | sudo ubuntu-drivers autoinstall || true
sudo apt install -f -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confnew" -o Dpkg::Options::="--force-overwrite"
sudo DEBIAN_FRONTEND=noninteractive apt autoremove -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confnew" -o Dpkg::Options::="--force-overwrite"
sudo apt clean
sudo apt autoclean
flatpak update -y || true
flatpak uninstall --unused -y || true
sudo snap refresh || true
brew update
echo y | brew upgrade
echo y | brew autoremove
brew cleanup
uv self update
uv tool upgrade --all
npm i -g npm
npm update -g
}
- GitHub: Willie169
- GitHub Pages: willie169.github.io
- GitLab: Willie169
- Mastodon: @[email protected]
- Matrix: @willie169:matrix.org
- 0 Posts
- 5 Comments
I stick with KDE (Kubuntu) after using GNOME, KDE Plasma, and Cinnamon. I think GNOME lack some settings available in KDE, KDE is the most customizable with a good default, and back then Cinnamon doesn’t have Wayland that some of my apps, especially Waydroid, need. The only thing I hate about KDE is the wallet that keeps popping up by default. GNOME keyring is better IMO. I’m a heavy terminal user tho, for automation with bash script and easier copy-paste from Arch Wiki etc., so mb I not quite representative on DE.
I’m a Taiwanese and interacted with a bunch of Linux users from Mainland China on Mastodon. From what I saw, I don’t think it’s as easy to use Linux in China, mainly due to the Great Firewall. They often need to tweak the mirrors and even tunnel through their VPS overseas.
WillieShen@lemmy.worldto
Technology@lemmy.world•Android users can't remove nude-scanning app as Google opens the feature to app developersEnglish
2·1 day agoI think it can be removed, at least for my phone, in the settings > Google or just use adb.
If they really care about users’ security, they should make Graphene OS’s GMSCompact and explicit permissions the new standard instead of restricting what apps can they use and forcing invasive system apps. And centralized censorship and requiring an account is not what makes apps secure. Source available and reproducible build is.


in case I run with set -e