desktop-file-install8
Install a desktop file to the applications directory
Usage
desktop-file-install [options]
file
Overview
desktop-file-install installs a specified .desktop file to the applications directory, optionally munging it a bit in transit.
Options
-
--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-original -
Delete the source desktop file, leaving only the target file. Effectively "renames" a desktop file.
-
-m, --mode mode -
Set the given permissions on the destination file.
-
--copy-name-to-generic-name -
Copy the contents of the Name field to the GenericName
field.
-
--copy-generic-name-to-name -
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.
-
--usage -
Display brief usage message.
-
-v, --version -
Show version of program.
Releases
Unchanged in 4 releases since Debian 3.1 (Sarge).