.desktop
🔧 ConfigText-based

.desktop File — Linux Desktop Entry

application/x-desktop

File Inspector

Drop any file to identify its extension and type — runs entirely in your browser

DESKTOP

Drop a .desktop file here or click to choose

Or drop any file to identify its extension

Expected MIME type:application/x-desktop

Quick Facts

Extension.desktop
Full NameLinux Desktop Entry
MIME Typeapplication/x-desktop
CategoryConfig
TypeText-based (human-readable)
Typical Size200 B – 5 KB
First Appeared1999

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

VS Code
vim
nano
any text editor
MenuLibre
Alacarte

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.