Score:2

Override GNOME extension compatibility

US flag
user1239526

Is there any way to override the compatibility of a GNOME extension for the current GNOME version? For example, to make an installed GNOME extension work under GNOME 43 even if it has not been updated and only supports GNOME 41 or earlier (and is disabled by default).

The extension I'd like to get running under GNOME 43 is blur-me. I did some more searching and found this suggestion to modify the metadata.json file to include version 43, with potential issues. However, this creates the error Utils.setInterval is not a function.

To quote someone in that link:

GNOME doesn't have a stable API

This makes me think it is almost impossible to simply make one extension work on newer GNOME versions. Is this correct?

Levente avatar
cn flag
Yes, this issue falls under the category of software compatibility. Generally, lack of software compatibility, for non-technical users, is non-negotiatable. It won't work magically, just because one forces the components to interact with each other. You would need to download the source code for the extension, implement changes in its code to work with Gnome 43, then possibly repackage it in some installable package. If you don't want to learn how to do that (may take a lot of time), you could try to recruit and sponsor a developer to do it.
NotTheDr01ds avatar
vn flag
Edited. I think there's a good question in there, personally. There might be a duplicate somewhere here already on the topic, but if not, I'd suggest leaving it open. As mentioned in the comments, your assumption is correct. @Levente I'd suggest moving your comment to an answer, personally (again, unless you find a duplicate). "Negative answers" are still good answers, assuming they come with the explanation that you provided.
NotTheDr01ds avatar
vn flag
And I found this based on your deleted "comment"/answer. Don't worry, it doesn't take much rep to get to the "comment" privilege. I do appreciate your desire to try to help. Keep working on good questions and answers and you'll get there in no time. Also, reputation can be gained by suggesting good [suggested edits](https://meta.stackexchange.com/questions/76251/how-do-suggested-edits-work) to existing questions and answers. If you'd like some examples, you can see [my edits](https://askubuntu.com/users/1165986/notthedr01ds?tab=activity&sort=revisions).
Score:1
cn flag

This makes me think it is almost impossible to simply make one extension work on newer GNOME versions. Is this correct?

Yes. The creator needs to update that extension or you would need to fork and rewrite the extension to be able to use it. Keep an eye out on his github page.

"Utils.setInterval is not a function"

That is a javascript function that probably needs to be rewritten. The source shows this: appplication.js If you know what it needs to be you could fork it. Alter it and compile your own version. Source install might work:

git clone https://github.com/ckissane/blur-me
cd blur-me  

and to make it:

make install
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.