horrorpills / chatgpt-gnome-desktop-extension Goto Github PK
View Code? Open in Web Editor NEWChatGPT Gnome Desktop Extension | Talk with ChatGPT from your menubar!
License: MIT License
ChatGPT Gnome Desktop Extension | Talk with ChatGPT from your menubar!
License: MIT License
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.5 LTS
Release: 20.04
Codename: focal
uname -a
... #63-Ubuntu SMP ... 2022 x86_64 x86_64 x86_64 GNU/Linux
apt search chrome-gnome-shell
Sorting... Done
Full Text Search... Done
chrome-gnome-shell/focal,focal,now 10.1-5 all [installed]
GNOME Shell extensions integration for web browsers
I can't click anywhere in the window. Tab works but can't get to the "Verify you are human" button.
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
Love the idea for this, tried to install and was met with:
Requiring WebKit2, version none: Requiring namespace 'Soup' version '3.0', but '2.4' is already loaded
I already installed the GTK said for ubuntu based distros
just trying to get chatGPT working on fedora 38 beta, when i want to activate the extension with gnome-extensions-app
i get the following error message:
the file ~/.local/share/gnome-shell/extensions/chatgpt-gnome-desktop@chatgpt-gnome-desktop/metadata.json
I have adapted it with the correct gnome-shell version.
"shell-version": ["42", "43", "44.rc"],
more information:
gnome-shell --version
GNOME Shell 44.rc
installed packages:
libsoup3-3.4.0-2.fc38.x86_64
libsoup3-devel-3.4.0-2.fc38.x86_64
gtk4-4.10.1-1.fc38.x86_64
gtk4-devel-4.10.1-1.fc38.x86_64
webkit2gtk4.1-2.40.0-2.fc38.x86_64
webkit2gtk4.0-2.40.0-2.fc38.x86_64
webkit2gtk4.1-devel-2.40.0-2.fc38.x86_64
Wayland is disabled:
cat -v /etc/gdm/custom.conf |grep ayland
WaylandEnable=false
webkit2gtk4.0-2.40.0-2.fc38.x86_64
This is a nice extension. I am not sure if this is possible, but it would be even nicer if it could appear in the middle of the screen like Albert launcher, for instance.
Ah, and a shortcut to launch and hide it would be awesome too.
Running sudo make install
as suggested doesn't install the extension in the local user's extension directory. Instead it installs it to /root/.local/share/gnome-shell/extensions/
Manually running
mkdir -p ~/.local/share/gnome-shell/extensions/
cp -r ./chatgpt-gnome-desktop@chatgpt-gnome-desktop ~/.local/share/gnome-shell/extensions/
And then restarting X allows the extension to show up in gnome-extensions.
Extension not working on Fedora 39 using Gnome 45.
I get this error message :
SyntaxError: import declarations may only appear at top level of a module @ resource:///org/gnome/shell/ui/main.js:3:0
I did go through the process of installing on ubuntu and did the Extra command as well
Am I supposed to see a new app in the menu to run or a file to run as an app or sth? because I see no such thing!
It would be nice if the window was bigger and it could be opened with a keyboard shortcut. I have created a similar app using Electron (not GNOME extension), maybe you can get some ideas from it - https://github.com/martinszeltins/chat-drop
i experimented a little bit and found out that when you open the window in another procces the mouse works even in wayland
for now i didnt made a pull request because it crated some new issues:
here is my fork for it:
https://github.com/Im-Stivik/ChatGPT-Gnome-Desktop-Extension/
feel free to suggest a solutions
The window that appears after clicking extension icon isn't always on top, it is resizable and isn't appearing on top of the screen on wayland. It would be nice QOL features :) Also it would be great to add an option to not kill this window but just hide it so it wouldn't have to initialise every time.
Hi, I'm struggling to get this installed.
In my extension manager I am getting the following error;
"Requiring WebKit2, version 4.1: Requiring namespace 'Soup' version '3.0', but '2.4' is already loaded"
Both libsoup-3.0-common and gir1.2-webkit2-4.1 are installed.
Any thoughts?
Edit: I'm ubuntu 22.04, shell 42.5 and X11.
Just leaving this issue here for now. Feel free to publish it when you feel the extension is ready for prime time.
With the mouse fix implemented i can use the extension finally. However, after logging in, each time i close the window by clicking either the icon or outside the window, the login is forgotten and i have to login again.
Is this intended or is there some cookie issue perhaps?
My work uses RHEL9 as our Technician pc and i tried to get this to work, but i had to modify the metadata.js, file and add 40 to the versions as it looks like rhel still uses gnome 40.
metadata.js modifications that seemed to work, added 40, then rebooted and found the extention finally in the gnome extentions on the web browser.
"shell-version": ["40", "42", "43"],
as this might not be a very important change you want to add it would be nice to just explain in the guide that you might need to add this line if they are using Gnome 40.
Additionally i dont know if this might be an issue on the extension or just chatGPT's website, but it cant load chatgpt properly, any way to get it to load in?
Either way Great extenstion, will be very convenient when it gets up and running
This is really cool! Probably user error (linux newbie but learning), but there were enough inconsistencies with the instructions and my distro (LMDE - Debian based Mint) in case anyone else is struggling. Doesn't seem to be listed under installed applications, or available as an applet, or a Desklet.
Place the chatgpt-gnome-desktop@chat-gpt-gnome-desktop folder in ~/.local/share/gnome-shell/extensions/
I do not have that destination folder, I put it in /usr/share/gnome-shell/extensions
instead
I did restart Gnome a few times
I'm running x11, but Gnome Shell 3.38.6
When trying to run sudo apt install libgtk-4-dev
I get Unable to locate package
- seems like updating to 42 would be a major change that I'm not in a place to do, but not sure if that would stop it from showing up somewhere.
Thanks!
When i click on chatgpt icon on statusbar it crashed the wholle system and i have to log in back again
using gnome 43, ubuntu 22.04 wayland
Hi, I simply updated the directory name in the Makefile. Thought I'd let you know.
Hi,
I know this is a big ask, but is there any chance or likelihood or hope, that you could add support for the unity desktop as well?
In any case, great idea, great work!
Cheers
> Hello, thanks for reporting the issue.
As mentioned on the main page, this is a known issue that is getting looked into. The mouse interaction problem exists no matter what website is loaded.
To tab to the verification, press tab twice after loading the page, then press enter or space. This should check the verification box.
Any contribution to the project is of course welcome.
Thanks, it worked for me,
But, the next issue is login, when I click(hit space when focused) on the login button it shows following error page.
@moh-slimani ,
Just for information, you need to focus the window before you hit the tab twice ).
Originally posted by @faheemKamboh in https://github.com/cameras/ChatGPT-Gnome-Desktop-Extension/issues/16#issuecomment-1399230588
I have install the extension but i can't enable it beacuse i have the message "isn't compatible with this version of gnome".
Is there an update planned for a port to GNOME 46?
TY
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.