View Full Version : Gnome-Shell Extensions don't activate
jbrown96
2nd October 2011, 07:44 PM
Running Fedora 16 alpha, recently updated to Gnome 3.2.0.
I did the following to install some extensions
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,
Dutchy
2nd October 2011, 11:49 PM
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.
tox
3rd October 2011, 12:20 AM
to activate extensions you need to restart the shell by doing ALT+F2 r
jbrown96
3rd October 2011, 04:09 AM
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 ----------
to activate extensions you need to restart the shell by doing ALT+F2 r
I already restarted the shell, and even rebooted the computer.
tox
3rd October 2011, 04:13 AM
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
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
solo2101
3rd October 2011, 04:25 AM
yum install gnome-shell-extension*
this will install every Extension
then use the tweak-tool to turn off some
paldepind
3rd October 2011, 05:29 PM
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.
ElderSnake
3rd October 2011, 10:12 PM
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.
DBelton
3rd October 2011, 10:49 PM
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.
paldepind
4th October 2011, 07:29 AM
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.
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.
ElderSnake
4th October 2011, 08:14 AM
Sorry, I'm a java/javascript newb :( But you're correct.
dreamerzrulez
5th October 2011, 11:14 PM
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....
paldepind
6th October 2011, 07:50 AM
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.
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.