When I launch a graphical application from VSCode's terminal, the newly launched application appears as a new VSCode window in Ubuntu's dock and when using Alt+TAB to switch between windows/applications. For example, when I launch evince from VSCode, I don't see the evince icon in the dock, but GNOME groups the evince window and the VSCode window under the VSCode application in the dock).
What mechanism is used to attach windows created by separate applications to the VSCode window? Is there a way to disable it (i.e. let the VSCode terminal behave like usual terminals when launching GUI applications)?
This happens when VSCode is installed through the snap package. Indeed, snap is not only a package manager but a kind of container technology, hence the snap version of the VSCode process is ran within a container, and child processes are also containerized.
Solution : install VSCode through another system. For Ubuntu, there's a .deb
package on VSCode's download page, which doesn't have the issue.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With