You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

VS Code添加到Dock收藏栏后启动出现重复图标问题求助

VS Code添加到Dock收藏栏后启动出现重复图标问题求助

大家好,我把VS Code添加到了Dock的收藏应用列表里,但每次点击Code图标启动时,它都会在一个新的重复图标下打开,有没有办法解决这个问题呢?

下面是我的桌面项配置:

[Desktop Entry]
Name=Visual Studio Code
Comment=Code Editing. Redefined.
GenericName=Text Editor
Exec=/usr/share/code/code --enable-features=UseOzonePlatform --ozone-platform=wayland --unity-launch %F
Icon=vscode
Type=Application
StartupNotify=false
StartupWMClass=Code
Categories=TextEditor;Development;IDE;
MimeType=text/plain;inode/directory;application/x-code-workspace;
Actions=new-empty-window;
Keywords=vscode;

[Desktop Action new-empty-window]
Name=New Empty Window
Exec=/usr/share/code/code --enable-features=UseOzonePlatform --ozone-platform=wayland --new-window %F
Icon=vscode

抱歉如果这个问题之前有人问过,但我实在找不到解决办法,希望大家能帮忙看看!

备注:内容来源于stack exchange,提问作者Shah Paran Srijan

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.04.22 08:19:52