Skip to content

Instantly share code, notes, and snippets.

@erhaem
Last active February 27, 2026 15:27
Show Gist options
  • Select an option

  • Save erhaem/28d28493c7474abc45be6bafb971fe1b to your computer and use it in GitHub Desktop.

Select an option

Save erhaem/28d28493c7474abc45be6bafb971fe1b to your computer and use it in GitHub Desktop.
gnome dash to dock v103 sucks, auto-hide not working. downgrade to 102

How to use

Download the shell scripts

You can manually download/copy-paste the scripts below (downgrade.sh and spoofver.sh), or run this following on terminal.

wget https://gist.githubusercontent.com/erhaem/28d28493c7474abc45be6bafb971fe1b/raw/c35c31711702f7aa4658138a9efcc5ac79dfcadb/downgrade.sh

wget https://gist.githubusercontent.com/erhaem/28d28493c7474abc45be6bafb971fe1b/raw/c35c31711702f7aa4658138a9efcc5ac79dfcadb/spoofver.sh

Run

chmod +x downgrade.sh spoofver.sh # to make the scripts executable (run this once)
./downgrade.sh # downgrade to v102
./spoofver.sh # spoof version to prevent update

Credits

Thanks for the idea
Smyrcu
Aitnah

Aitnah said:
@Smyrcu ty man! For those asking, you cannot disable auto update specifically for one extension only. 
You either disable for all globally or just do as I did. 
You can spoof the v102 into v103 and trick gnome into thinking its the latest one already. 
Just edit the metadata.json thats into ~/.local/share/gnome-shell/extensions/dash-to-dock@micxgx.gmail.com/ , 
find the line containing "version": 102 and change it to 103 (or 9999 if you dont want to ever update it again). Cheers fellas.

Smyrcu said:
Version 103 killed this app, autohide does not work anymore.

For anyone that needs it back here is how to go back to working 102 version:
wget -O /tmp/dash-to-dock-v102.zip "https://extensions.gnome.org/extension-data/dash-to-dockmicxgx.gmail.com.v102.shell-extension.zip"
mv ~/.local/share/gnome-shell/extensions/dash-to-dock@micxgx.gmail.com{,.bak}
mkdir -p ~/.local/share/gnome-shell/extensions/dash-to-dock@micxgx.gmail.com
unzip /tmp/dash-to-dock-v102.zip -d ~/.local/share/gnome-shell/extensions/dash-to-dock@micxgx.gmail.com
gnome-extensions disable dash-to-dock@micxgx.gmail.com
gnome-extensions enable dash-to-dock@micxgx.gmail.com

And remember to turn off auto update!

Discussion link

https://extensions.gnome.org/extension/307/dash-to-dock/

#!/bin/sh
#---------------------------------------
# To downgrade Dash to Dock version 102
# thanks to @Smyrcu for the idea
#
# Usage:
# chmod +x downgrade.sh
# ./downgrade.sh
# --------------------------------------
set -e
EXT_ID="dash-to-dock@micxgx.gmail.com"
EXT_DIR="$HOME/.local/share/gnome-shell/extensions/$EXT_ID"
ZIP_URL="https://extensions.gnome.org/extension-data/dash-to-dockmicxgx.gmail.com.v102.shell-extension.zip"
TMP_ZIP="/tmp/dash-to-dock-v102.zip"
echo "[1] download v102"
wget -O "$TMP_ZIP" "$ZIP_URL"
if [ -d "$EXT_DIR" ]; then
echo "[2] backup existing extension"
mv "$EXT_DIR" "$EXT_DIR.bak.$(date +%s)"
fi
echo "[3] extract"
mkdir -p "$EXT_DIR"
unzip -q "$TMP_ZIP" -d "$EXT_DIR"
echo "[4] reload extension"
gnome-extensions disable "$EXT_ID" 2>/dev/null || true
gnome-extensions enable "$EXT_ID"
echo "done"
#!/bin/sh
#--------------------------------------------------------------
# To spoof the extension version, so it won't get updated 4ever
# thanks to @Aitnah for the idea
#
# Usage:
# chmod +x spoof-version.sh
# ./spoof-version.sh
#--------------------------------------------------------------
set -e
EXT_ID="dash-to-dock@micxgx.gmail.com"
META="$HOME/.local/share/gnome-shell/extensions/$EXT_ID/metadata.json"
if [ ! -f "$META" ]; then
echo "metadata.json not found"
exit 1
fi
echo "[1] current version:"
grep '"version"' "$META"
echo "[2] spoof to 9999"
sed -i 's/"version":[[:space:]]*[0-9][0-9]*/"version": 9999/' "$META"
echo "[3] new version:"
grep '"version"' "$META"
echo "[4] reload extension"
gnome-extensions disable "$EXT_ID" 2>/dev/null || true
gnome-extensions enable "$EXT_ID"
echo "done"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment