Results 1 to 5 of 5

Thread: Gnome 3 Extensions not working correctly

  1. #1

    Default 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?

  2. #2
    Join Date
    Jul 2008
    Location
    Seattle, WA
    Posts
    17,078

    Default Re: Gnome 3 Extensions not working correctly

    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

  3. #3

    Default Re: Gnome 3 Extensions not working correctly

    Quote Originally Posted by Hermid View Post
    I have been having trouble getting some of the extensions for gnome 3 to work.
    What version of openSUSE? What version of GNOME 3?


    Quote Originally Posted by hendersj View Post
    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).
    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.

    Quote Originally Posted by hendersj View Post
    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
    Code:
    this._loadCategory(iter.get_directory(), appList);
    which should number 73, then changing it to
    Code:
    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.

  4. #4
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    27,129
    Blog Entries
    15

    Default Re: Gnome 3 Extensions not working correctly

    Quote Originally Posted by mikewillis
    Hermid;2413933 Wrote:
    > I have been having trouble getting some of the extensions for gnome 3
    > to work.


    What version of openSUSE? What version of GNOME 3?


    hendersj;2413941 Wrote:
    >
    > 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).
    >

    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.

    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

    Code:
    --------------------
    this._loadCategory(iter.get_directory(), appList);
    --------------------

    which should number 73, then changing it to

    Code:
    --------------------
    this._loadCategory(iter.get_directory(), menu);
    --------------------

    then reloading the shell made the extension work. (Found 'here'
    (https://bbs.archlinux.org/viewtopic.php?id=127916). ) 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 <http://git.gnome.org/browse/gnome-shell-extensions/commit/extensions/apps-menu/extension.js?id=44c5651c3ecbd30040fca7c0edcd201b665ce784>

    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


  5. #5
    Join Date
    Jul 2008
    Location
    Seattle, WA
    Posts
    17,078

    Default Re: Gnome 3 Extensions not working correctly

    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.

    Jim



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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •