From 6bc4fdc8802cf0210527e1c01688f979e310433d Mon Sep 17 00:00:00 2001 From: David Young Date: Sat, 31 Oct 2026 08:28:04 -0600 Subject: [PATCH] Install VSCodium only, and remove VS Code New machines get VSCodium alone. A migration uninstalls the VS Code Flatpak once on existing machines; its settings stay in ~/.var/app. The README says how to install VS Code for extensions only Microsoft's marketplace has, such as Remote-SSH; update then leaves it alone. Co-Authored-By: Claude Opus 5.5 --- README.md | 2 +- install-flatpaks.sh | 1 - migrations/1793457205.sh | 11 +++++++++++ 3 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 migrations/1793457205.sh diff --git a/README.md b/README.md index 6d2cc5b..c4893b3 100644 --- a/README.md +++ b/README.md @@ -90,7 +90,7 @@ Yay is installed as is the way AUR packages are installed and maintained. Exampl The file "install-flatpaks.sh" file for Flatpaks. -Flatpaks installed include: Chrome, Chromium, Firefox, Brave, Zen, Vivaldi (browsers), Signal, Telegram, Discord, Revolt, FluffyChat (messaging), Thunderbird and Evolution (email), VS Code and VSCodium (VS Code without the Microsoft telemetry), Obsidian and Logseq (notes), Apostrophe (markdown writer), Kdenlive (video editing), OBS (video recording), Audacity (audio editing), Inkscape (vector graphics), Scribus (page layout), Spotify, Jellyfin (media client), Zoom, Remmina and RustDesk (remote desktop), Postman, DBeaver and Beekeeper Studio (database clients), Alpaca and LM Studio (local AI), LocalSend (send files to other devices), Boxes (virtual machines), Impression (write ISOs to USB sticks), Trayscale (Tailscale), Warehouse (manage Flatpaks), Extension Manager (GNOME extensions), RetroArch and more. See [install-flatpaks.sh](install-flatpaks.sh) for the full list. +Flatpaks installed include: Chrome, Chromium, Firefox, Brave, Zen, Vivaldi (browsers), Signal, Telegram, Discord, Revolt, FluffyChat (messaging), Thunderbird and Evolution (email), VSCodium (VS Code without Microsoft's telemetry; for extensions only Microsoft's marketplace has, such as Remote-SSH, install VS Code with `flatpak install flathub com.visualstudio.code`), Obsidian and Logseq (notes), Apostrophe (markdown writer), Kdenlive (video editing), OBS (video recording), Audacity (audio editing), Inkscape (vector graphics), Scribus (page layout), Spotify, Jellyfin (media client), Zoom, Remmina and RustDesk (remote desktop), Postman, DBeaver and Beekeeper Studio (database clients), Alpaca and LM Studio (local AI), LocalSend (send files to other devices), Boxes (virtual machines), Impression (write ISOs to USB sticks), Trayscale (Tailscale), Warehouse (manage Flatpaks), Extension Manager (GNOME extensions), RetroArch and more. See [install-flatpaks.sh](install-flatpaks.sh) for the full list. If you want to install more software from Flathub, simply visit https://flathub.org. diff --git a/install-flatpaks.sh b/install-flatpaks.sh index 771e93f..8c6f68e 100755 --- a/install-flatpaks.sh +++ b/install-flatpaks.sh @@ -29,7 +29,6 @@ FLATPAKS=( "org.jellyfin.JellyfinDesktop" "app.zen_browser.zen" "org.localsend.localsend_app" - "com.visualstudio.code" "io.beekeeperstudio.Studio" "org.gnome.Boxes" "com.vscodium.codium" diff --git a/migrations/1793457205.sh b/migrations/1793457205.sh new file mode 100644 index 0000000..1ccc5c3 --- /dev/null +++ b/migrations/1793457205.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +# CoreDesktop installs VSCodium, not VS Code. Remove VS Code once; its settings +# stay in ~/.var/app/com.visualstudio.code. For extensions only Microsoft's +# marketplace has, such as Remote-SSH, install it again yourself and update +# leaves it alone: flatpak install flathub com.visualstudio.code +if flatpak info --system com.visualstudio.code &> /dev/null; then + echo "Removing VS Code (VSCodium stays)..." + sudo flatpak uninstall --system --noninteractive com.visualstudio.code || exit 1 +fi +exit 0