patriciogonzalezvivo / glslViewer

Console-based GLSL Sandbox for 2D/3D shaders
BSD 3-Clause "New" or "Revised" License
4.62k stars 350 forks source link

Hide glslViewer from desktop menus #281

Closed jnsh closed 2 years ago

jnsh commented 2 years ago

Starting glslViewer requires passing shader filenames as command line arguments, otherwise it will exit immediately. Launching glslViewer via the desktop entry (i.e. from desktop environment menu) can not pass filenames as arguments, and therefore it fails without any message to the user.

Hide the unusable application entry from desktop menus. The desktop entry is still useful for opening associated MIME types from e.g. file managers.

This is intended usage of the NoDisplay desktop entry key, see https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html#recognized-keys.

patriciogonzalezvivo commented 2 years ago

Thank you!