MajortomVR / simple-timer-extension

GNU General Public License v2.0
13 stars 13 forks source link

Not work in Gnome 46 #14

Open jalediazb opened 4 months ago

nahiyan commented 2 months ago

You can easily patch this. Go to the source directory (the path is likely ~/.local/share/gnome-shell/extensions/simple-timer@majortomvr.github.com) and edit the extension.js file. Replace all occurrences of .add( with .add_child(.

Afterwards, you need to edit the metadata.json and increment the shell-version from 45 to 46 (otherwise GNOME 46 wouldn't load it). As a convention, you should bump the version as well.

P.S. For the changes to take effect, you need to reload the GNOME shell. You can conveniently do so by pressing Alt + F2 and running the r command. Or you can simply sign out and sign back in.

fatrattombala commented 1 month ago

You can easily patch this. Go to the source directory (the path is likely ~/.local/share/gnome-shell/extensions/simple-timer@majortomvr.github.com) and edit the extension.js file. Replace all occurrences of .add( with .add_child(.

Afterwards, you need to edit the metadata.json and increment the shell-version from 45 to 46 (otherwise GNOME 46 wouldn't load it). As a convention, you should bump the version as well.

P.S. For the changes to take effect, you need to reload the GNOME shell. You can conveniently do so by pressing Alt + F2 and running the r command. Or you can simply sign out and sign back in.

first thought it works, but only showed up in the bar; Error: "TypeError: (intermediate value).timeout is undefined". Maybe did something wrong while replacing ".add(" with ".add_child(".