Fedora Linux Support Community & Resources Center
  #1  
Old 2nd October 2011, 07:44 PM
jbrown96's Avatar
jbrown96 Offline
Registered User
 
Join Date: Apr 2008
Location: St. Louis, MO
Posts: 53
linuxfirefox
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,
Reply With Quote
  #2  
Old 2nd October 2011, 11:49 PM
Dutchy Offline
Registered User
 
Join Date: Aug 2011
Posts: 697
linuxfirefox
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.
Reply With Quote
  #3  
Old 3rd October 2011, 12:20 AM
tox
Guest
 
Posts: n/a
linuxfirefox
Re: Gnome-Shell Extensions don't activate

to activate extensions you need to restart the shell by doing ALT+F2 r
Reply With Quote
  #4  
Old 3rd October 2011, 04:09 AM
jbrown96's Avatar
jbrown96 Offline
Registered User
 
Join Date: Apr 2008
Location: St. Louis, MO
Posts: 53
linuxchrome
Re: Gnome-Shell Extensions don't activate

Quote:
Originally Posted by Dutchy View Post
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 View Post
to activate extensions you need to restart the shell by doing ALT+F2 r
I already restarted the shell, and even rebooted the computer.
Reply With Quote
  #5  
Old 3rd October 2011, 04:13 AM
tox
Guest
 
Posts: n/a
linuxfirefox
Re: Gnome-Shell Extensions don't activate

Quote:
Originally Posted by jbrown96 View Post
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.
Reply With Quote
  #6  
Old 3rd October 2011, 04:25 AM
solo2101's Avatar
solo2101 Online
Registered User
 
Join Date: Jan 2010
Location: behind that screen...
Posts: 554
windows_7chrome
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
Reply With Quote
  #7  
Old 3rd October 2011, 05:29 PM
paldepind Offline
Registered User
 
Join Date: Oct 2011
Posts: 6
linuxopera
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.
Reply With Quote
  #8  
Old 3rd October 2011, 10:12 PM
ElderSnake Offline
Registered User
 
Join Date: Nov 2010
Location: Australia
Posts: 684
windows_7chrome
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!
Reply With Quote
  #9  
Old 3rd October 2011, 10:49 PM
DBelton's Avatar
DBelton Offline
Administrator
 
Join Date: Aug 2009
Posts: 6,612
linuxfirefox
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.
Reply With Quote
  #10  
Old 4th October 2011, 07:29 AM
paldepind Offline
Registered User
 
Join Date: Oct 2011
Posts: 6
linuxopera
Re: Gnome-Shell Extensions don't activate

Quote:
Originally Posted by ElderSnake View Post
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 View Post
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.
Reply With Quote
  #11  
Old 4th October 2011, 08:14 AM
ElderSnake Offline
Registered User
 
Join Date: Nov 2010
Location: Australia
Posts: 684
windows_7chrome
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!
Reply With Quote
  #12  
Old 5th October 2011, 11:14 PM
dreamerzrulez Offline
Registered User
 
Join Date: Oct 2011
Posts: 4
linuxchrome
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....
Reply With Quote
  #13  
Old 6th October 2011, 07:50 AM
paldepind Offline
Registered User
 
Join Date: Oct 2011
Posts: 6
linuxopera
Re: Gnome-Shell Extensions don't activate

Quote:
Originally Posted by dreamerzrulez View Post
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.
Reply With Quote
Reply

Tags
gnome 3.2, gnome-shell

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Enable gnome-shell-extensions Japplo F16 Development 26 8th November 2011 05:58 AM
Can't log in after installing Gnome 3 extensions acrossthestars Using Fedora 2 17th August 2011 12:38 AM
vlc in gnome-shell-extensions mediasplayer dust0r Using Fedora 0 11th August 2011 08:29 PM
More GNOME Shell Extensions coming to Fedora RahulSundaram Fedora Focus 10 17th June 2011 12:05 PM
GNOME Shell Extensions - RPM for testing RahulSundaram F15 Development 21 1st May 2011 08:32 AM


Current GMT-time: 18:21 (Friday, 24-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat