Can't make GUI apps with Codespaces. #17420
-
I can't make GUI apps with Codespaces. I can only make web or terminal based apps. I know that Codespaces is running Ubuntu. You just need to add a lightweight desktop environment to the Codespaces Image and have it be accessible. You could do this like Windows 365 or have it as a button on the sidebar to access a GUI environment. Thanks, if you do it. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 6 replies
-
you can always download the output and run it on your local machine |
Beta Was this translation helpful? Give feedback.
-
I think you might be interested in Azure DevBox: which is currently in beta |
Beta Was this translation helpful? Give feedback.
-
Hey! I think you'd be interested in our https://github.com/microsoft/vscode-dev-containers/blob/main/script-library/docs/desktop-lite.md The VS Code source code repo uses this for developing VS Code - I think it might be useful to take a peek at how they use it if you'd like to set up something similar! |
Beta Was this translation helpful? Give feedback.
-
just this time around, I really wanted to have a full Codespace only setup for my Laravel projects, even the DB is inside the container, and the UI is not a problem since it's web development not the traditional local UI like Java Swing components well yes, I got it working and I'm so happy now because this means you can even code purely on tablet or smartphone, but there are still limitations you will be hitting when using this and maybe fixed in the future, like when you need to modify server settings, instead of directly editing the file because the changes will be gone the next time you open the Codespace, you need to do it using the RUN command same thing happens when you already have, say, a temporary data on your database and you are testing something, then, say, you have to have a break then suddenly Codespace need to restart because of inactivity, all of those data will be gone, there are solutions but outside of Codespace it can be part of the seeder but what if you are testing temporary data too for a new feature, that's not possible in the seeder |
Beta Was this translation helpful? Give feedback.
Hey! I think you'd be interested in our
desktop-lite
script/dev container feature, which spins up a desktop environment that you can interact with through VNC (or a VNC web client)https://github.com/microsoft/vscode-dev-containers/blob/main/script-library/docs/desktop-lite.md
The VS Code source code repo uses this for developing VS Code - I think it might be useful to take a peek at how they use it if you'd like to set up something similar!