Gnome-Shell-Window-Buttons-Extension
Gnome-Shell-Window-Buttons-Extension copied to clipboard
Verifiy Ubuntu GNOME (3.18) compatibiility
Some folks have reported issues on the extensions.gnome.org comments, it's necessary to test and see what's going on.
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.
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.
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. :joy:
Does running the command I mentioned not show any error messages?
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
I had a typo in the command, please remove the space in the last parameter - it needs to be string:[email protected].
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
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.
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!
Thank you very much!