Skip to content

Ubuntu 25.04 Extension installation worked but it fails to start the extention. #75

Description

@Donkeyotee

Ran install with extra packages added.
sudo apt update
Image
sudo apt install meson libsystemd-dev pkg-config ninja-build git dbus-user-session libdbus-1-dev libinih-dev build-essential

meson is already the newest version (1.7.0-1ubuntu1).
libsystemd-dev is already the newest version (257.4-1ubuntu3).
pkg-config is already the newest version (1.8.1-4).
ninja-build is already the newest version (1.12.1-1).
git is already the newest version (1:2.48.1-0ubuntu1).
dbus-user-session is already the newest version (1.16.2-2ubuntu1).
libdbus-1-dev is already the newest version (1.16.2-2ubuntu1).
libinih-dev is already the newest version (58-1ubuntu1).
build-essential is already the newest version (12.12ubuntu1).
Summary:
Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 0

git clone https://github.com/gicmo/gamemode-extension.git
cd gamemode-extention
./make-zip.sh
./make-zip.sh install
Restarted Extension shows up but when I attempt to start I get.

Image
And the Error is
SyntaxError: import declarations may only appear at top level of a module @ resource:///org/gnome/Shell/Extensions/js/misc/extensionUtils.js:4:1

Stack trace:
@file:///home/user/.local/share/gnome-shell/extensions/gamemode@christian.kellner.me/prefs.js:1:24
_init/GLib.MainLoop.prototype.runAsync/</<@resource:///org/gnome/gjs/modules/core/overrides/GLib.js:263:34

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions