Skip to content

Instantly share code, notes, and snippets.

@mz0
Created January 30, 2021 20:43
Show Gist options
  • Save mz0/39a7bf63918788fa1677b4749f018a08 to your computer and use it in GitHub Desktop.
Save mz0/39a7bf63918788fa1677b4749f018a08 to your computer and use it in GitHub Desktop.
No-nonsense Apache NetBeans 12.2 .desktop file
[Desktop Entry]
Version=1.0
Type=Application
Name=NetBeans
Icon=/home/mz0/t/nb12.2/netbeans/nb/netbeans.png
Exec=/home/mz0/t/nb12.2/netbeans/bin/netbeans
Comment=Apache NetBeans IDE 12.2
Categories=Development;IDE;
Terminal=false
StartupWMClass=Apache NetBeans IDE 12.2
@mz0
Copy link
Author

mz0 commented Jan 30, 2021

StartupWMClass has to match xprop WM_CLASS output, otherwise the dock will have two icons: one for the launcher, the other for the running NetBeans (java) window.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment