Linux :: XDG

XDG Desktop Menu

Application entry

/usr/share/applications # system wide
~/.local/share/applications/ # user specific

[Desktop Entry]
# Application/Link/Directory; required
Type=Application
# The version of the desktop entry specification to which this file complies
Version=1.0
# The name of the application; required
Name=jMemorize
# A comment which can/will be used as a tooltip
Comment=Flash card based learning tool
# The path to the folder in which the executable is run
Path=/opt/jmemorise
# The executable of the application, possibly with arguments.
Exec=jmemorize
Exec=env LANG=he_IL.UTF-8 abiword %U 
# The name of the icon that will be used to display this entry
Icon=jmemorize
# Describes whether this application needs to be run in a terminal or not
Terminal=false
# Describes the categories in which this entry should be shown
Categories=Education;Languages;Java;
# Hide the entry in all environments
NoDisplay=true
# Hide in certain desktop
NotShowIn=GNOME;KDE