VS Code Desktop, remove button

When creating a template, I would like to remove the “VS Code Desktop” button as an option. I would like a template that only has “terminal” available, to force my students into using it. Thanks
Solution:
inside the template's coder_agent resource, add a display_apps config to force removing the desktop option. ``` display_apps { vscode = false...
Jump to solution
6 Replies
Codercord
Codercord2mo ago
<#1292956152883318925>
Category
Help needed
Product
Coder OSS (v2)
Platform
Linux
Logs
Please post any relevant logs/error messages.
Solution
sharkymark
sharkymark2mo ago
inside the template's coder_agent resource, add a display_apps config to force removing the desktop option.
display_apps {
vscode = false
}
display_apps {
vscode = false
}
Atif
Atif2mo ago
They can still connect via VS Code Desktop using coder CI over SSH 1. Run coder login and coder config-ssh 2. Connect to a remote host in VSCode will show the workspaces they own, Or if they install the vscode-coder extension and login. SO removing the button is not a very safe way to prevent conecting via VSCode
sharkymark
sharkymark2mo ago
If you have a paid license, browser only mode disables ssh https://coder.com/docs/admin/networking#browser-only-connections-enterprise-premium
Networking - Coder Docs
Understand Coder's networking layer
From An unknown user
From An unknown user
Mr Coxall
Mr CoxallOP2mo ago
Thanks, this works. I also got ride of other things I do not want. (Port, SSH)
Want results from more Discord servers?
Add your server