title: Why doesn't my .desktop file show in the menu under "Science"?
body: <p>The following .desktop file shows up under &quot;Other&quot; but not &quot;Science&quot; as indicated by the category. <strong>How do I define the menu item under which it should show?</strong></p>
  <p>I'm using Mate Desktop 1.16.2, but I think this is a standard XDG thing so the window manager shouldn't matter too much.</p>
  <pre><code>]$ cat /usr/share/applications/xnec2c.desktop
  [Desktop Entry]
  Name=Xnec2c
  GenericName=NEC2 Simulator
  Comment=Numerical Electromagnetics Code software
  Exec=xnec2c
  Icon=xnec2c
  Terminal=false
  Type=Application
  Categories=Science;
  Keywords=nec2;em;simulator;
  X-Desktop-File-Install-Version=0.23
  MimeType=application/x-nec2;
  </code></pre>
  <p>See also this related question: <a href="https://stackoverflow.com/q/71566984/14055985">Make xdg-utils associate a file extension with my application from a distribution package?</a></p>