HorrorPills / ChatGPT-Gnome-Desktop-Extension

ChatGPT Gnome Desktop Extension | Talk with ChatGPT from your menubar!
MIT License
509 stars 37 forks source link

Can't get working on Gnome 44.0 #35

Open tunerooster opened 1 year ago

tunerooster commented 1 year ago

I changed the file:

~/.local/share/gnome-shell/extensions/chatgpt-gnome-desktop@chatgpt-gnome-desktop/metadata.json to read:

    "shell-version": ["42", "43", "44.0"],

But running:

gnome-shell-extension-prefs

Says:

Requiring WebKit2, version 4.1: Requiring namespace 'Gtk' version '3.0', but '4.0' is already loaded

I believe I also have gtk3 on my system, but I don't know how to configure the chatgpt extension to use it.

NOTE: This is exactly oposite to the "KNOWN ISSUE" posted on README which says:

Requiring namespace 'Gtk' version '4.0', but '3.0' is already loaded  (for gnome 43)

Any help is greatly appreciated!!! THANKS...

P.S. "gnome-shell --version" returns "GNOME Shell 44.0" I am running:

Linux basement-gentoo 5.17.4-gentoo-r1 #2 SMP PREEMPT Sat Dec 24 20:19:14 MST 2022 x86_64 Intel(R) Core(TM)2 Duo CPU E6850 @ 3.00GHz GenuineIntel GNU/Linux
ghost commented 1 year ago

I'm having the same issue as well. Ubuntu 23.04.

vladosix commented 1 year ago

Same Fedora 38. gnome-shell 44.1

Requiring WebKit2, version 4.1: Requiring namespace 'Gtk' version '3.0', but '4.0' is already loaded

rexackermann commented 1 year ago

Same Fedora 38. gnome-shell 44.1

Requiring WebKit2, version 4.1: Requiring namespace 'Gtk' version '3.0', but '4.0' is already loaded
Roberto-Cavalcanti commented 1 year ago

Facing the same problem. Can anyone help us? -Fedora 38. gnome-shell 44.1

souzathg commented 1 year ago

I'm facing the same problem here :( Manjaro Gnome 44.1

souzathg commented 1 year ago

I changed GTK and WebKit2 versions in files extension.js and window.js to the following:

imports.gi.versions.Gtk = '4.0';
imports.gi.versions.WebKit2 = '5.0';

The icon appeared in my top bar, but when I click on it, nothing happens. A right click makes a menu appear, though.

image

GoulartNogueira commented 1 year ago

The icon appeared in my top bar, but when I click on it, nothing happens. A right click makes a menu appear, though.

@souzathg Maybe the extension.js is compatible with WebKit2 = 5.0 but windows.js requires version 4.*