V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
simple2025
0D
V2EX  ›  Ubuntu

关于 desktop entry 的问题

  •  
  •   simple2025 · Jun 7, 2019 · 3323 views
    This topic created in 2516 days ago, the information mentioned may be changed or developed.

    改如何设置 desktop entry, 才会导致多个 vscodoe 运行,不会被 group 一个 icon 里面呀 我把/usr/share/applicatios/code.deskstop 改成下面这样还是会被 group

    [Desktop Entry]
    Name=Cqh code
    Comment=Code 
    GenericName=Text Editor
    Exec=/usr/share/code/code --unity-launch %F
    Icon=com.visualstudio.code
    Type=Application
    StartupNotify=false
    #StartupWMClass=
    Categories=Utility;TextEditor;Development;IDE;
    MimeType=text/plain;inode/directory;
    Actions=new-empty-window;
    Keywords=cqh;
    
    X-Desktop-File-Install-Version=0.23
    
    [Desktop Action new-empty-window]
    Name=New Empty Window
    Exec=/usr/share/code/code --new-window %F
    Icon=com.visualstudio.code
    
    
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1481 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 17:04 · PVG 01:04 · LAX 10:04 · JFK 13:04
    ♥ Do have faith in what you're doing.