Gnome Extension Integrates ChatGPT Into Your Linux Desktop
The power of AI from your desktop
ChatGPT (Chat Generative-Pre-Trained Transformer) has only been around for a couple of months, but it is fair to say that it has made its mark. Millions of users have used the service for all manner of queries, but each time it required the user to open a browser, log in and then enter a prompt. Well, for Linux users it seems that these steps can be skipped over thanks to a Gnome extension from Rafal Mioduszewski, aka HorrorPills.
This extension is for the Gnome display manager (KDE fans, the creator has hinted that it could be possible to replicate the project) and right now this early version is not fully working with Wayland, so Xorg is the way to go for now. Mioduszewski also notes that mouse integration is a little buggy right now, so keyboard navigation is a must.
The extension is installed by downloading the files via Mioduszewski's Github repository, copying them to the correct directory and then using the gnome-extensions application to enable it. A quick reboot / log off and you can access ChatGPT from the comfort of your desktop, provided you have an account and that ChatGPT is not at capacity.
So what can we do using this extension? Pretty much anything we would do in the browser. We've asked it to successfully win Star Trek II: The Wrath of Khan's Kobayashi Maru. Even AI couldn't win that battle without reprogramming the simulator. On a more serious note, we asked it to write some CircuitPython with an LED on pin 13. Then we tasked it with writing raw G-Code to control the nozzle of a 3D printer to draw a 30 mm cube. While that G-Code will need a little tweaking, it shows promise. Lastly, we asked ChatGPT to work out the correct resistor for a fictional LED in a circuit using Ohm's Law.
If you have an account and a Linux distro running Gnome then this extension is well worth investing a little time into. It may just save you some work.
Stay On the Cutting Edge: Get the Tom's Hardware Newsletter
Get Tom's Hardware's best news and in-depth reviews, straight to your inbox.
Les Pounder is an associate editor at Tom's Hardware. He is a creative technologist and for seven years has created projects to educate and inspire minds both young and old. He has worked with the Raspberry Pi Foundation to write and deliver their teacher training program "Picademy".
-
Frenarious That is scary, why would anyone do this. The code is a disaster in chatGPT. Without learning to program properly it's all out of context.Reply -
Gregb47
As someone who is a novice coder I've been learning about how to use python to create basic games.. chat gpt may not always be correct but usually with some finicking I am able to get it to do what I want and through the mistakes it makes it makes me think more deeply about what it's aiming to do and I think I learn more as a result. So, to answer you question. Someone might do this because chat gpt is interesting and can make learning to code fun for amateurs and hobbyists.Frenarious said:That is scary, why would anyone do this. The code is a disaster in chatGPT. Without learning to program properly it's all out of context. -
USAFRet
The problem here is...you who are somewhat clueful, could figure this out without ChatGPT.Gregb47 said:As someone who is a novice coder I've been learning about how to use python to create basic games.. chat gpt may not always be correct but usually with some finicking I am able to get it to do what I want and through the mistakes it makes it makes me think more deeply about what it's aiming to do and I think I learn more as a result. So, to answer you question. Someone might do this because chat gpt is interesting and can make learning to code fun for amateurs and hobbyists.
As had everyone who has gone before you.
Those less clueful will rely on that ChatGPT output as TheAnswer. Resulting in crap being published.