GUI Application Development
Is it possible for a coder workspace to be set up to support development of apps that use a GUI?
Things such as JavaFX, PyQT and other toolkits for GUI development.
20 Replies
<#1261689865456844831>
Category
Other
Product
Coder OSS (v2)
Platform
Linux
Logs
Please post any relevant logs/error messages.
hello
Ah I see, thank you very much for helping me out!
for noVNC, you can see how I do it in my template with TigerVNC and XFCE
https://github.com/uwu/basic-env/blob/main/docker/base/Dockerfile
I see these mostly utilize X11. Have there been attempts with wayland aswell?
Time for experimentation it is. It would surely help with any GUI development that needs testing on wayland.
let me know how this goes!
hey @Shyzus, any luck?
kind off yeah
Dockerfile for the image I hacked togheter using bits of the old deprecated but also the new base image.
and the main.tf file:
@Phorcys
cool!
thanks for sharing :-)
there is one downside that im trying to remedy by just creating a different base image altogheter
seems there is some issue with the XFCE DE. that if you were to run apt upgrade for example it would mark the entire DE as auto-removable packages and if you pressed yes it just destroys the workspace.
woah that's weird
not sure where the failure for that happens as the image should installing XFCE onto the plain ubuntu base image coder provides. but im working on an alternative for now that uses Fedora.
but right now it works perfectly well using XFCE.
so 👍
oh and a fun thing to note. if you were using the NoVNC window but you didn't really want to install vscode or simply don't like the XFCE GUI for writing code. you can just open your workspace on your own vs code desktop. By passing an environment variable(ex: DISPLAY=0:) to whatever command would create a GUI application. It spawns a GUI application right on the NoVNC window and you can interact with it just fine while having a debug process attached on your machine's vscode instance.
@Phorcys closed the thread.