The syncDesktopIntegration logic in LinuxPlatform hard-codes Science;Education; as the Categories value in the .desktop file. Applications built on SciJava may belong to different or additional categories.
Proposed change
Read a scijava.app.categories system property, falling back to "Science;" if absent — consistent with how scijava.app.icon and scijava.app.directory are already handled:
final String appCategories = System.getProperty("scijava.app.categories", "Science;");
df.setCategories(appCategories);
Notes
- The value should follow the Desktop Entry spec semicolon-separated format, e.g.
"Graphics;Science;".
- On Windows/macOS the field is Linux-specific, so no cross-platform changes are needed beyond exposing the property.