desktop-file-install(8) install a desktop file to the applications directory


desktop-file-install [options] file


desktop-file-install installs a specified .desktop file to the applications directory, optionally munging it a bit in transit.


--dir path
Specify the directory where files should be installed.
--vendor vendor
Add a vendor prefix to the desktop file. If the file already has this prefix, nothing happens.
--add-category category
Add a category to the Categories field.
--remove-category category
Remove a category from the Categories field.
--add-only-show-in product
Add a product name to the OnlyShowIn field.
--remove-only-show-in product
Remove a product name from the OnlyShowIn field.
Delete the source desktop file, leaving only the target file. Effectively "renames" a desktop file.
-m, --mode
Set the given permissions on the destination file.
Copy the contents of the Name
field to the GenericName field.
Copy the contents of the GenericName
field to the Name field.
--remove-key key
Remove a specific key from the desktop file.
-h, --help
Show summary of options.
Display brief usage message.
-v, --version
Show version of program.


This manual page was written by Ross Burton <[email protected]>, for the Debian GNU/Linux system (but may be used by others).