.desktop File — Linux Desktop Entry
application/x-desktop
Drop any file to identify its extension and type — runs entirely in your browser
Drop a .desktop file here or click to choose
Or drop any file to identify its extension
application/x-desktopQuick Facts
| Extension | .desktop |
| Full Name | Linux Desktop Entry |
| MIME Type | application/x-desktop |
| Category | Config |
| Type | Text-based (human-readable) |
| Typical Size | 200 B – 5 KB |
| First Appeared | 1999 |
What Is a .desktop File?
DESKTOP files are Linux desktop entry files that define how applications appear in desktop environment menus, launchers, and file managers. Specified by the freedesktop.org Desktop Entry Specification, these INI-like files contain a [Desktop Entry] section with keys for application name (Name), executable command (Exec), icon path (Icon), application categories (Categories), MIME type associations (MimeType), startup notification, and localized translations. Desktop files enable applications to integrate with Linux desktop environments (GNOME, KDE, XFCE, etc.) by providing the metadata needed for application menus, search, file associations, and launchers. Desktop files are placed in /usr/share/applications/ (system-wide) or ~/.local/share/applications/ (per-user) and are discovered automatically by the desktop environment. The Exec key supports field codes (%f for file, %u for URL, %F for file list) for handling file associations. Desktop files also support Actions for defining additional menu items (like "New Window" or "New Incognito Window" for browsers). The specification ensures consistent application integration across different Linux desktop environments. Creating proper .desktop files is essential for Linux application packaging and distribution.
How to Open .desktop Files
Related File Extensions
More Config File Extensions
Other config formats you might encounter
Browse File Extensions by Category
Explore our reference of 259 file extensions with details, programs, and related formats.