i have package your extension as an RPM for Fedora. Usually we move the .gschema.xml file to the global directory, /usr/share/glib-2.0/schemas/, recompile all schemas there with the glib-compile-schemas command, and omit the precompiled gschemas.compiled file. I've successfully done this for several other GNOME Shell extensions, and they all detect the schemas in the new location. However, after installing the media-player-indicator RPM, GNOME Tweak Tool shows the below error message when you click on the settings button for media-player-indicator. And the switch to enable or disable the extension is grayed out.
Here's the error message again with the original formatting preserved:
GLib.FileError: Failed to open file “/usr/share/gnome-shell/extensions/mediaplayer@patapon.info/schemas/gschemas.compiled”: open() failed: No such file or directory
Stack trace:
getSettings@/usr/share/gnome-shell/extensions/mediaplayer@patapon.info/lib.js:27:24
@/usr/share/gnome-shell/extensions/mediaplayer@patapon.info/prefs.js:31:19
Application<._getExtensionPrefsModule@resource:///org/gnome/shell/extensionPrefs/main.js:75:13
wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
Application<._selectExtension@resource:///org/gnome/shell/extensionPrefs/main.js:90:31
wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
Application<._extensionFound/<@resource:///org/gnome/shell/extensionPrefs/main.js:209:17
main@resource:///org/gnome/shell/extensionPrefs/main.js:402:5
@<main>:1:43
System wide installs and packaged versions in this extension are not supported. The only supported installation methods are via the GNOME extensions site or from source.
Hi,
i have package your extension as an RPM for Fedora. Usually we move the .gschema.xml file to the global directory, /usr/share/glib-2.0/schemas/, recompile all schemas there with the glib-compile-schemas command, and omit the precompiled gschemas.compiled file. I've successfully done this for several other GNOME Shell extensions, and they all detect the schemas in the new location. However, after installing the media-player-indicator RPM, GNOME Tweak Tool shows the below error message when you click on the settings button for media-player-indicator. And the switch to enable or disable the extension is grayed out.
Here's the error message again with the original formatting preserved:
rpm spec file used: gnome-shell-extension-media-player-indicator.spec
Here are the files owned by the RPM after installation:
Does media-player-indicator use a hard-coded gschema path or something?