Line 0
Link Here
|
|
|
1 |
.TH DESKTOP-FILE-INSTALL 8 |
2 |
.SH NAME |
3 |
desktop-file-install \- install a desktop file to the applications directory |
4 |
.SH SYNOPSIS |
5 |
.B desktop-file-install |
6 |
.I "[options] file" |
7 |
.SH "DESCRIPTION" |
8 |
.B desktop-file-install |
9 |
installs a specified .desktop file to the applications directory, |
10 |
optionally munging it a bit in transit. |
11 |
.SH OPTIONS |
12 |
.TP |
13 |
\fB \-\-dir \fIpath\fP |
14 |
Specify the directory where files should be installed. |
15 |
.TP |
16 |
\fB \-\-vendor \fIvendor\fP |
17 |
Add a vendor prefix to the desktop file. If the file already has this |
18 |
prefix, nothing happens. |
19 |
.TP |
20 |
\fB \-\-add\-category \fIcategory\fP |
21 |
Add a category to the \fBCategories\fP field. |
22 |
.TP |
23 |
\fB \-\-remove\-category \fIcategory\fP |
24 |
Remove a category from the \fBCategories\fP field. |
25 |
.TP |
26 |
\fB \-\-add\-only\-show\-in \fIproduct\fP |
27 |
Add a product name to the \fBOnlyShowIn\fP field. |
28 |
.TP |
29 |
\fB \-\-remove\-only\-show\-in \fIproduct\fP |
30 |
Remove a product name from the \fBOnlyShowIn\fP field. |
31 |
.TP |
32 |
\fB \-\-delete\-original |
33 |
Delete the source desktop file, leaving only the target |
34 |
file. Effectively "renames" a desktop file. |
35 |
.TP |
36 |
\fB \-m, \-\-mode \fImode\fP |
37 |
Set the given permissions on the destination file. |
38 |
.TP |
39 |
\fB \-\-copy\-name\-to\-generic\-name |
40 |
Copy the contents of the \fBName\fP field to the \fBGenericName\fP |
41 |
field. |
42 |
.TP |
43 |
\fB \-\-copy\-generic\-name\-to\-name |
44 |
Copy the contents of the \fBGenericName\fP field to the \fBName\fP |
45 |
field. |
46 |
.TP |
47 |
\fB \-\-remove\-key \fIkey\fP |
48 |
Remove a specific key from the desktop file. |
49 |
.TP |
50 |
.B \-h, \-\-help |
51 |
Show summary of options. |
52 |
.TP |
53 |
.B \-\-usage |
54 |
Display brief usage message. |
55 |
.TP |
56 |
.B \-v, \-\-version |
57 |
Show version of program. |
58 |
.SH "SEE ALSO" |
59 |
The Free Desktop .desktop file specification at www.freedesktop.org. |
60 |
.SH AUTHOR |
61 |
This manual page was written by Ross Burton <ross@burtonini.com>, for |
62 |
the Debian GNU/Linux system (but may be used by others). |