You are not logged in.
I copied the directory found in the zip file I got from the github into /usr/share/gnome-shell/extensions and ran gnome-shell-extensions-prefs. The extension shows in the menu, but when I select it I get the error message:
Error: Schema org.gnome.shell.extensions.hidetopbar could not be found for extension hidetopbar@mathieu.bidon.ca. Please check your installation.
Stack trace:
getSettings@/home/briggs5/.local/share/gnome-shell/extensions/hidetopbar@mathieu.bidon.ca/convenience.js:89
init@/home/briggs5/.local/share/gnome-shell/extensions/hidetopbar@mathieu.bidon.ca/prefs.js:14
Application<._getExtensionPrefsModule@resource:///org/gnome/shell/extensionPrefs/main.js:87
wrapper@resource:///org/gnome/gjs/modules/lang.js:169
Application<._selectExtension@resource:///org/gnome/shell/extensionPrefs/main.js:101
wrapper@resource:///org/gnome/gjs/modules/lang.js:169
Application<._extensionSelected@resource:///org/gnome/shell/extensionPrefs/main.js:121
wrapper@resource:///org/gnome/gjs/modules/lang.js:169
main@resource:///org/gnome/shell/extensionPrefs/main.js:278
@<main>:1
I checked two things at this point. First, that "org.gnome.shell.extensions.hidetopbar" is indeed present (which it is), and second that my version of Gnome is supported. I have Gnome 3.12, and according to "metadata.json" 3.12 is supported.
[edit] Like an blind idiot I failed to see that README file which says:
Installation:
-------------
Compile the gsettings schema by running
mkdir ./schemas/
glib-compile-schemas --strict --targetdir=./schemas/ .
Install this in your extensions directory:
~/.local/share/gnome-shell/extensions/
Example:
cd ~/.local/share/gnome-shell/extensions/
git clone https://github.com/mlutfy/hidetopbar.git hidetopbar@mathieu.bidon.ca
cd hidetopbar@mathieu.bidon.ca
mkdir ./schemas/
glib-compile-schemas --strict --targetdir=./schemas/ .
gnome-shell-extension-tool -e hidetopbar@mathieu.bidon.caHowever when I followed the istructions I end up with the error
$ glib-compile-schemas --strict --targetdir=./schemas/
You should give exactly one directory name[edit2] I failed to notice the "." at the end of the "glib-..." line.
ITs working now. Sorry for wasting Forum space.
Last edited by nstgc (2014-07-02 16:37:25)
Offline