 |
 |
 |
 |
| F17 Development Forum The proper place for all things "F17." This section has been archived since F17 reached final release. |

2nd October 2011, 07:44 PM
|
 |
Registered User
|
|
Join Date: Apr 2008
Location: St. Louis, MO
Posts: 53

|
|
|
Gnome-Shell Extensions don't activate
Running Fedora 16 alpha, recently updated to Gnome 3.2.0.
I did the following to install some extensions
Code:
sudo yum install gnome-shell-extension-{auto-move-windows,drive-menu,mediaplayers,remove-accessibility-icon,righthotcorner,theme-selector}
Once they installed, I exited and logged in again. Extensions didn't show up. Okay, I'll try a reboot. Still didn't work.
I tried installing gnome-tweak-tool (I do like it!), but when trying to manually install the extensions that were installed with yum, I couldn't. When I navigated to /usr/share/gnome-shell/extensions/drive-menu@gnome-shell-extensions.gnome.org/ in the installer, the directory is empty. This leads me to believe that the installer expects some sort of package or tarball.
It's been a while since I installed extensions on my Fedora 15 computer, but I thought that I just needed to reboot/re-login to activate them.
I also tried snooping through dconf-editor but didn't find anything obvious.
What am I missing? How do I enable gnome-shell extensions installed through the standard yum repositories?
Thanks,
|

2nd October 2011, 11:49 PM
|
|
Registered User
|
|
Join Date: Aug 2011
Posts: 697

|
|
|
Re: Gnome-Shell Extensions don't activate
What about the software install program (gpk-application), are the plug-ins you installed shown there?
They also should be shown in Gnome-Tweak-Tool.
|

3rd October 2011, 12:20 AM
|
|
Guest
|
|
Posts: n/a

|
|
|
Re: Gnome-Shell Extensions don't activate
to activate extensions you need to restart the shell by doing ALT+F2 r
|

3rd October 2011, 04:09 AM
|
 |
Registered User
|
|
Join Date: Apr 2008
Location: St. Louis, MO
Posts: 53

|
|
|
Re: Gnome-Shell Extensions don't activate
Quote:
Originally Posted by Dutchy
What about the software install program (gpk-application), are the plug-ins you installed shown there?
They also should be shown in Gnome-Tweak-Tool.
|
Yes, of course they are. They were installed with Yum.
They are not visible in gnome-tweak-tool.
---------- Post added at 10:09 PM ---------- Previous post was at 10:09 PM ----------
Quote:
Originally Posted by detox
to activate extensions you need to restart the shell by doing ALT+F2 r
|
I already restarted the shell, and even rebooted the computer.
|

3rd October 2011, 04:13 AM
|
|
Guest
|
|
Posts: n/a

|
|
|
Re: Gnome-Shell Extensions don't activate
Quote:
Originally Posted by jbrown96
Yes, of course they are. They were installed with Yum.
They are not visible in gnome-tweak-tool.
---------- Post added at 10:09 PM ---------- Previous post was at 10:09 PM ----------
I already restarted the shell, and even rebooted the computer.
|
how did you restart the shell? did you do as i said above
Quote:
|
It's been a while since I installed extensions on my Fedora 15 computer, but I thought that I just needed to reboot/re-login to activate them.
|
going from post #1 , you havent rebooted the shell at all, you just rebooted the computer. 2 different things
Last edited by tox; 3rd October 2011 at 04:15 AM.
|

3rd October 2011, 04:25 AM
|
 |
Registered User
|
|
Join Date: Jan 2010
Location: behind that screen...
Posts: 554

|
|
|
Re: Gnome-Shell Extensions don't activate
Code:
yum install gnome-shell-extension*
this will install every Extension
then use the tweak-tool to turn off some
|

3rd October 2011, 05:29 PM
|
|
Registered User
|
|
Join Date: Oct 2011
Posts: 6

|
|
|
Re: Gnome-Shell Extensions don't activate
Hello! I'm experiencing the exact same problem in Fedora 16 fully updated. I've tried the same things but nothing worked for me either. The extensions I've installed doesn't even show up in Looking Glass.
|

3rd October 2011, 10:12 PM
|
|
Registered User
|
|
Join Date: Nov 2010
Location: Australia
Posts: 684

|
|
|
Re: Gnome-Shell Extensions don't activate
I imagine the reason is the upgraded Gnome 3.2. Because i imagine the extensions are for the older/current version of Gnome-Shell. To get the extensions to even show up in lookingglass you would have to go into the extensions folder, and change the gnome-shell version in every extension's metadata file to "3.2", but even then I don't know if they will actually work because the API is different in 3.2.
Shell extensions need to be updated in their ".js" (java) file to include the new API for swtiching extensions on and off in real time, i.e the init() function, enable() and disable() function.
I could be clearer and more detailed if I was at my Gnome machine but unfortunately I'm not. Basically I suspect you will need to wait for the extensions to be updated by the maintainer or get into some javascript hacking yourself.
__________________
OS': Arch Linux (KDE 4.10) - Fedora 17 (MATE) - Arch Linux (E17) - now Windows-free thanks Valve!
|

3rd October 2011, 10:49 PM
|
 |
Administrator
|
|
Join Date: Aug 2009
Posts: 6,612

|
|
|
Re: Gnome-Shell Extensions don't activate
the version number is in the metadata file for the extensions. If the versions don't match up, the extension doesn't run.
The extensions that were installed have a 3.1 version number, and when you updated Gnome, it has a 3.2 version number. So the extensions won't run.
You can change the version number in the extension metadata file, and most should run with little or no problems.
If you look in /usr/share/gnome-shell/extensions There are directories for your extensions. In each of the folders under the extensions folder, there will be a metadata.json file
There will be a line in that file that has "shell-version": [ "3.1" ],
Just change the version to 3.2 and then restart gnome-shell and see if your extension works.
I have one or two that still don't work, and may need to be updated as ElderSnake states above, but most of the ones I have seem to work ok.
|

4th October 2011, 07:29 AM
|
|
Registered User
|
|
Join Date: Oct 2011
Posts: 6

|
|
|
Re: Gnome-Shell Extensions don't activate
Quote:
Originally Posted by ElderSnake
Shell extensions need to be updated in their ".js" (java) file to include the new API for swtiching extensions on and off in real time, i.e the init() function, enable() and disable() function.
|
Just a slight correction. They are JavaScript files not Java files.
Quote:
Originally Posted by DBelton
Just change the version to 3.2 and then restart gnome-shell and see if your extension works.
|
Great! They shows up when doing that.
|

4th October 2011, 08:14 AM
|
|
Registered User
|
|
Join Date: Nov 2010
Location: Australia
Posts: 684

|
|
|
Re: Gnome-Shell Extensions don't activate
Sorry, I'm a java/javascript newb  But you're correct.
__________________
OS': Arch Linux (KDE 4.10) - Fedora 17 (MATE) - Arch Linux (E17) - now Windows-free thanks Valve!
|

5th October 2011, 11:14 PM
|
|
Registered User
|
|
Join Date: Oct 2011
Posts: 4

|
|
|
Re: Gnome-Shell Extensions don't activate
i have exact same problem, didnt find any solution yet , i have checked the metadata.json files, gnome shell version is already 3.2.0 there....
|

6th October 2011, 07:50 AM
|
|
Registered User
|
|
Join Date: Oct 2011
Posts: 6

|
|
|
Re: Gnome-Shell Extensions don't activate
Quote:
Originally Posted by dreamerzrulez
i have exact same problem, didnt find any solution yet , i have checked the metadata.json files, gnome shell version is already 3.2.0 there....
|
It's probably because the extension your trying to use has not yet been made to work with GNOME 3.2.
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 18:21 (Friday, 24-05-2013)
|
|
 |
 |
 |
 |
|
|