Created
May 8, 2020 22:09
-
-
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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