ChatGPT Gnome Desktop Extension | Talk with ChatGPT from your menubar!
原项目直接内嵌openai网站,国内无法访问,所以我fork了一份,把openai网站换成了国内的解决方案,可以直接在gnome桌面上使用了。由于使用付费api,所以每天只能使用100次,如果你有自己的openai api key,可以自己修改代码。
How to install:
gnome-shell-extensions
package installed. It allows you to turn on the Extension.chatgpt-gnome-desktop@chat-gpt-gnome-desktop
folder in ~/.local/share/gnome-shell/extensions/
Alt
+F2
then type r
Alt
+F2
then type r
or Log out & Log back in to Gnome.To-do & Info:
KNOWN ISSUES AND POSSIBLE FIX:
Requiring WebKit2, version none: Requiring namespace 'Gtk' version '4.0', but '3.0' is already loaded
can appear on Gnome 43.On Ubuntu and Debian-based distributions, you can install the latest version of GTK 4 by running the following command in the terminal:
sudo apt install libgtk-4-dev
On Arch Linux and its derivatives, you can install GTK 4 by running the following command in the terminal:
sudo pacman -S gtk4
On Fedora, you can install GTK 4 by running the following command in the terminal:
sudo dnf install gtk4-devel
.bashrc
or .bash_profile
file:export GTK_VERSION=4
You may also need to set the GDK_BACKEND environment variable.
export GDK_BACKEND=x11
You will need to restart your terminal or run the command source ~/.bashrc for the changes to take effect.
On other distributions, you may need to use a different package manager or set the environment variables in a different way.