-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not working if installed at system-level (instead of user level) #55
Comments
You didn't install it correctly. I don't know how it works, but the gresource that contains the schema has to be compiled into somewhere at |
Do you know how to compile gresource? |
I am not sure, look at some aur pkgbuild for references. |
I will also look into it and provide a makefile or meson to build it. |
Very kind. Thank you. |
When this extension is installed at system level for all users, the "Settings" button does not work and returns the following error message:
It occurs because in files
pref/pages.js
andshared/media.js
, theMEDIA_CACHE
variable only refers to the current user by:pages.js
media.js
So, if the extension is installed at system-level (so for all users in the system), the
GLib.get_user_cache_dir()
is not a good choice because it will return the current user cache directory.When the extension is installed at system level, the
media
path should be stored to/usr/share/gnome-shell/extensions/widgets@aylur/media
.Could you please add an if statement for defining
CACHE_PATH
andMEDIA_CACHE
in order to manage also system-level installation of this extension?The text was updated successfully, but these errors were encountered: