Skip to content

Instantly share code, notes, and snippets.

@cjxgm
Created May 8, 2020 22:09
Show Gist options
  • Save cjxgm/f418659a39d48b77dc7687237721e4da to your computer and use it in GitHub Desktop.
Save cjxgm/f418659a39d48b77dc7687237721e4da to your computer and use it in GitHub Desktop.
Prevent GNOME Shell from checking extension updates, and disable automatic extension updates. Requires GNOME Shell 3.36.1+. Works on Arch Linux.
# Put this into /etc/pacman.d/hooks/
#
# In GNOME Shell 3.36.1 or later versions, if the extensions app (the GUI)
# does not exist, auto updates to extensions will be disabled.
# The check for existence of the extensions app is by checking its .desktop file.
[Trigger]
Operation = Install
Operation = Upgrade
Type = Package
Target = gnome-shell
[Action]
Description = Removing GNOME Extensions App...
When = PostTransaction
Exec = /usr/bin/rm -f /usr/share/applications/org.gnome.Extensions.desktop /usr/bin/gnome-extensions-app
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment