Gnome 3 Extensions not working correctly

I have been having trouble getting some of the extensions for gnome 3 to work. I cant seem to get the applications menu extension menu to work, I will turn it on in gnome-tweak, however it does not appear on the desktop. Another issue is with the dock extension, I have it installed but it does not appear in the list of available extensions, I installed it threw software manager like the my other extensions which work. Third, the Gnome Extensions are crashing almost every time I restart my computer for some reason.

Any Ideas?

On Sat, 03 Dec 2011 18:06:02 +0000, Hermid wrote:

> I have been having trouble getting some of the extensions for gnome 3 to
> work. I cant seem to get the applications menu extension menu to work,
> I will turn it on in gnome-tweak, however it does not appear on the
> desktop. Another issue is with the dock extension, I have it installed
> but it does not appear in the list of available extensions, I installed
> it threw software manager like the my other extensions which work.
> Third, the Gnome Extensions are crashing almost every time I restart my
> computer for some reason.

With the startup issue, the problem is that the version number in the
metadata.json file for the extension precludes it from running on the
version of gnome-shell installed here.

You can work around the issue by modifying the file (it’s in /usr/share/
gnome-shell/extensions/) metadata.json so the shell-version line reads:

“shell-version”: “3.2.0”, “3.2” ],

(3.2.0 doesn’t match version 3.2.1 which is what’s running on my system,
so adding the 3.2 version to that works around it).

The same will probably work with the applications menu extension, too.

As for gnome-shell crashing, if you use the alternative menu extension,
there’s a known issue (AFAIK not fixed yet) where if you don’t have an
avatar defined, that extension crashes. Try disabling that extension,
log in, and then set an avatar in your personal profile and re-enable the
extension. Logout and log back in again and you should be fine.

If it still has problems, I would disable all extensions and then re-
enable them one by one to determine which one is crashing it.

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

What version of openSUSE? What version of GNOME 3?

In openSUSE 12.1 with the default GNOME 3.2.1 pacakges, all the metadata.json files for the extensions I have installed have “3.2” in them. So if the OP is using openSUSE 12.1 with the default GNOME packages then the version issue should not be the cause of their problems.

Not in openSUSE 12.1 for reason stated above. This Applications Menu Extension appears to just be broken. I found that by editing the file
/usr/share/gnome-shell/extensions/apps-menu@gnome-shell-extensions.gnome.org/extension.js
finding the line that looks like this

this._loadCategory(iter.get_directory(), appList);

which should number 73, then changing it to

this._loadCategory(iter.get_directory(), menu); 

then reloading the shell made the extension work. (Found here. ) Similarly changing the line back again and restarting the shell made it stop working. I don’t see a bug report for this in openSUSE bugzilla. If someone else can confirm that fix works I’ll open one.

Hi
This was fixed on 11/19 <Sign in · GitLab;

Now that gnome shell extensions are live, this should be used instead…


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.4 (x86_64) Kernel 2.6.37.6-0.9-desktop
up 3 days 16:43, 5 users, load average: 0.21, 0.20, 0.21
GPU GeForce 8600 GTS Silent - Driver Version: 290.10

On Sun, 04 Dec 2011 10:56:02 +0000, mikewillis wrote:

> In openSUSE 12.1 with the default GNOME 3.2.1 pacakges, all the
> metadata.json files for the extensions I have installed have “3.2” in
> them. So if the OP is using openSUSE 12.1 with the default GNOME
> packages then the version issue should not be the cause of their
> problems.

That wasn’t the case with my systems - one upgraded from the final RC,
one a fresh install. I had to edit the metadata.json files on both of
them.

> hendersj;2413941 Wrote:
>>
>> The same will probably work with the applications menu extension, too.
>>
> Not in openSUSE 12.1 for reason stated above. This Applications Menu
> Extension appears to just be broken. I found that by editing the file
> /usr/share/gnome-shell/extensions/apps-menu@gnome-shell-
extensions.gnome.org/extension.js
> finding the line that looks like this

That’s good to know, and a good tip. :slight_smile:

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C