Skip to content
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

Verifiy Ubuntu GNOME (3.18) compatibiility #5

Open
danielkza opened this issue Jun 15, 2016 · 10 comments
Open

Verifiy Ubuntu GNOME (3.18) compatibiility #5

danielkza opened this issue Jun 15, 2016 · 10 comments

Comments

@danielkza
Copy link
Owner

Some folks have reported issues on the extensions.gnome.org comments, it's necessary to test and see what's going on.

@xdevs23
Copy link

xdevs23 commented Jun 16, 2016

I can't install the extension but I definitively have done that:

simao@simao-ubuntu:~$ sudo apt-get install gir1.2-gconf-2.0
[sudo] password for simao: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
gir1.2-gconf-2.0 is already the newest version (3.2.6-3ubuntu6).
gir1.2-gconf-2.0 set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

I have updated&upgraded before doing that, obviously.

@danielkza
Copy link
Owner Author

danielkza commented Jun 16, 2016

There must be another issue then. Can you please attempt to install the extension through the command line and tell me if it works? You can do it using the same mechanism the browser plugin does by running the following command:

dbus-send --session --print-reply --type=method_call --dest=org.gnome.Shell /org/gnome/Shell org.gnome.Shell.Extensions.InstallRemoteExtension string:[email protected]

Also, if you download the ZIP from the releases page, and extract it manually to ~/.local/share/gnome-shell/extensions, then restart the shell (Alt+F2, then run r), does it work?

edit: there was an extra space on the last parameter of the command, try it again please if you copied the old version.

@xdevs23
Copy link

xdevs23 commented Jun 16, 2016

I installed the extension manually by cloning the git repo and moving the extension into the extensions folder and now I can enable it. I restarted gnome using ALT+F2 and r as you mentioned, and it worked.

The buttons are working now again.
Thanks!

But using extensions.gnome.org it doesn't work, I click on the switch, let it install and then the switch goes back to off. 😂

@danielkza
Copy link
Owner Author

Does running the command I mentioned not show any error messages?

@xdevs23
Copy link

xdevs23 commented Jun 16, 2016

Yes it shows an error message:

simao@simao-ubuntu:~/.local/share/gnome-shell/extensions$ dbus-send --session --print-reply --type=method_call --dest=org.gnome.Shell /org/gnome/Shell org.gnome.Shell.Extensions.InstallRemoteExtension string: [email protected]
dbus-send: Data item "[email protected]" is badly formed

@danielkza
Copy link
Owner Author

I had a typo in the command, please remove the space in the last parameter - it needs to be string:[email protected].

@xdevs23
Copy link

xdevs23 commented Jun 16, 2016

Did that, got following result:

simao@simao-ubuntu:~/.local/share/gnome-shell/extensions$ dbus-send --session --print-reply --type=method_call --dest=org.gnome.Shell /org/gnome/Shell org.gnome.Shell.Extensions.InstallRemoteExtension string:[email protected]
Error org.gnome.Shell.LoadExtensionError: Error: Type name WindowButtonsPrefsWidget is already registered

@xdevs23
Copy link

xdevs23 commented Jun 21, 2016

Btw, the extension can now be installed from extensions.gnome.org.

Thanks!

Also would be nice if you could let us choose the icons from the already installed themes.

@danielkza
Copy link
Owner Author

I didn't actually change anything. I suspect something glitched and didn't properly cleanup an old version of the extension from the shell, breaking the attempt to load the new version.

I've been a bit busy the last few days, but I'll release a version soon that will also remove the requirement for installing any extra packages (#6).

About pulling icons from installed themes: I was thinking about that recently, and it should be possible, by creating some controls similar to what the GtkHeaderBar element does, so that they get styled as the regular window buttons would. It would take quite a bit of work and refactoring. I can't promise you any time frame, but I'll look into it!

@xdevs23
Copy link

xdevs23 commented Jun 22, 2016 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants