- NodeJS v20 or +
Start project:
npm i
npm run dev
npm i
npm run package
This will create a folder (ie: out/chatgpt-electron-linux-x64
) which contains the executable file for Debian.
You can directly run out/chatgpt-electron-linux-x64/chatgpt-electron
or you may want to use it in a "widget":
-
Move the executable folder
out/chatgpt-electron-win32-x64
anywhere you like it -
Run
chatgpt-electron.exe
and enjoy!
-
Move the executable folder
out/chatgpt-electron-darwin-arm64
anywhere you like it -
Run
chatgpt-electron.app
and enjoy!
-
Move the executable folder
out/chatgpt-electron-linux-x64
anywhere you like it -
run
chatgpt-electron-linux-x64/open_chatgpt
and enjoy!
- xdotool
apt install xdotool
- wmctrl
apt install wmctrl
To make a shortcut to open a controlled window from your XFCE panel, you need to call your ./open_chatgpt.sh
.
The goal of ./open_chatgpt.sh
is to find the Electron window then resize it at will.
It works with a package
output and I did NOT tested it with deb and rpm.
-
Right click on your XFCE Panel > "Panel" > "Add new items..."
-
Double-click on "Launcher":
-
In the "Launcher" window, press the "+" button.
-
In the "Edit Launcher" window, configure the Launcher so the command will open your
open_chatgpt.sh
from its path:
-
Optional: Name the shortcut and select an Icon (you can copy it from
GPT.svg
) -
Save, Close, Enjoy!
This was made by Axel Andaroth (aka Pirate) for personal use with Debian 12 XFCE.
Source is open because sharing is caring but I don't plan to spend time to maintain nor to update this project.
Thanks for your support!