User Agents

Web browsers and everyday web tech, explained

Install Incompatible GNOME Extensions on Ubuntu & Fedora

· 5 min read · Extensions

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

This guide shows you how to force-install a GNOME Shell extension that is marked as incompatible with your installed GNOME version. Normally, GNOME Extensions website blocks installation, but you can bypass the version check by downloading the extension manually and tweaking its metadata. This works on Ubuntu and Fedora (and most other distributions using GNOME). You will need basic terminal comfort and the ability to edit a text file.

What You'll Need

  • A web browser to download the extension from extensions.gnome.org or GitHub.
  • GNOME Shell version of your system (check with gnome-shell --version).
  • A text editor (like gedit, nano, or vim).
  • Access to a terminal.
  • Optional: unzip (usually preinstalled).

Step-by-Step

  1. Find the extension you want. Go to extensions.gnome.org and search for the extension. If it shows "Incompatible" next to the toggle, note its name and version.
  2. Download the extension archive. On the extension page, click the gear icon or look for a "Download" link. If not visible, you can download directly by appending /download to the extension's URL (e.g., https://extensions.gnome.org/extension/1234/extension-name/ → .../download). This will give you a .zip file.
  3. Extract the archive. Open a terminal and run:
    unzip ~/Downloads/extension.zip -d ~/Downloads/extension
    (Adjust the path if needed.)
  4. Locate the metadata file. Inside the extracted folder, find a file named metadata.json. Open it with a text editor.
  5. Edit the shell-version field. In metadata.json, you'll see a line like "shell-version": ["45", "46"]. Change it to include your GNOME version. For example, if your GNOME is 47, set it to ["47"] or ["45", "46", "47"]. Save the file.
  6. Re-zip the folder. In the terminal, navigate to the parent directory (e.g., cd ~/Downloads) and run:
    zip -r extension-fixed.zip extension/
    Make sure the zip contains the folder with the modified metadata.json at its root.
  7. Install the extension manually. Use GNOME Extensions app or the terminal. For terminal, run:
    gnome-extensions install ~/Downloads/extension-fixed.zip
    If that fails, copy the folder to ~/.local/share/gnome-shell/extensions/ with the correct UUID (the uuid field from metadata.json). For example:
    mkdir -p ~/.local/share/gnome-shell/extensions/extension-uuid@example.com
    cp -r ~/Downloads/extension/* ~/.local/share/gnome-shell/extensions/extension-uuid@example.com/
  8. Restart GNOME Shell. Press Alt+F2, type r, and press Enter. On Wayland, log out and back in.
  9. Enable the extension. Open the Extensions app (or gnome-extensions-app) and toggle the extension on. If it still shows as incompatible, you may need to run gnome-extensions enable extension-uuid@example.com in terminal.

Common Mistakes

  • Editing the wrong file: Make sure you edit metadata.json, not extension.js or stylesheet.css.
  • Incorrect shell-version syntax: The version must be a string, e.g., "47", not a number like 47.
  • Zipping the wrong directory: The zip must contain the folder at its root, not the contents directly. If you zip the contents, GNOME won't recognize it.
  • Not restarting GNOME Shell: The extension won't load until you restart the shell.
  • Using the wrong UUID: The folder name in ~/.local/share/gnome-shell/extensions/ must exactly match the uuid field in metadata.json.

Tips

  • Back up the original metadata.json before editing, so you can revert if needed.
  • Check the extension's GitHub page for a branch that supports your GNOME version—some developers maintain multiple branches.
  • If the extension uses JavaScript APIs that changed, it may still crash even after bypassing the version check. Be prepared to disable it.
  • For Fedora, you might need to install gnome-extensions-app if not present: sudo dnf install gnome-extensions-app.
  • On Ubuntu, the Extensions app is usually preinstalled; if not, install gnome-shell-extension-manager from the software center.

Troubleshooting

Extension doesn't appear in the list: Verify the folder name matches the UUID exactly. Check that metadata.json has valid JSON (use python3 -m json.tool metadata.json to validate). Also ensure the folder is in ~/.local/share/gnome-shell/extensions/ (not /usr/share/gnome-shell/extensions/ unless you have root).

Extension shows but won't enable: Open the terminal and run journalctl -f while enabling to see error messages. Common errors include missing dependencies or API changes. You may need to install a compatibility library like gnome-shell-extension-prefs.

GNOME Shell crashes after enabling: Immediately disable the extension via gnome-extensions disable uuid from a TTY (Ctrl+Alt+F3) if the GUI is unresponsive. Then check logs.

Version still shows as incompatible: Some extensions also check the version in extension.js. Search for shell-version or version in that file and update it similarly.

Install command fails: Use the manual copy method instead. Ensure the metadata.json is in the root of the extension folder, not in a subfolder.

Frequently Asked Questions

Is it safe to force-install an incompatible extension?

It can be risky—the extension may not work correctly or could crash GNOME Shell. Always back up your data and be prepared to disable it. It's safer than it sounds for simple extensions, but complex ones may break.

Will the extension break after a GNOME update?

Yes, a GNOME Shell update can change APIs, and the extension may stop working. You'll need to repeat the process or wait for the developer to update.

Can I do this without the terminal?

Yes, you can edit the zip with a GUI archive manager and copy the folder using the file manager. But the terminal is faster and more reliable.

Why does the extension website say incompatible?

The developer hasn't updated the metadata.json to include your GNOME version. It doesn't necessarily mean the extension will fail—just that it hasn't been tested.

What if the extension requires a newer GNOME version than mine?

That's riskier—the extension may use features not present in your version. It might still work if the APIs are backward compatible, but expect issues.

Does this work on other distributions like Arch or Debian?

Yes, the method is distribution-agnostic as long as you use GNOME Shell. The paths and commands are the same.