summaryrefslogtreecommitdiff
path: root/scripts/man
diff options
context:
space:
mode:
authorWaldo Bastian <waldo.bastian@intel.com>2006-06-19 01:41:13 +0000
committerWaldo Bastian <waldo.bastian@intel.com>2006-06-19 01:41:13 +0000
commit8a03104916e59619abdd0fd6e6fac8d987a7809a (patch)
tree0580b172e3bc98c2fefb02e75a77babc5a9cd681 /scripts/man
parent2ebc21f203f95260cedde04463f99dd4537852ae (diff)
Add example
Diffstat (limited to 'scripts/man')
-rw-r--r--scripts/man/xdg-desktop-icon.141
1 files changed, 39 insertions, 2 deletions
diff --git a/scripts/man/xdg-desktop-icon.1 b/scripts/man/xdg-desktop-icon.1
index e5c51f3..0f915f9 100644
--- a/scripts/man/xdg-desktop-icon.1
+++ b/scripts/man/xdg-desktop-icon.1
@@ -52,7 +52,7 @@ An application launcher is represented by a *\&.desktop file\&. Desktop files ar
.TP
install
-Installs \fIFILE\fR to the desktop of the current user\&.
+Installs \fIFILE\fR to the desktop of the current user\&. \fIFILE\fR can be a *\&.desktop file or any other type of file\&.
.TP
uninstall
@@ -147,7 +147,44 @@ The action failed\&.
.SH "EXAMPLES"
.PP
-TBD
+The company ShinyThings Inc\&. has developed an application named "WebMirror" and would like to add a launcher for for on the desktop\&. The company will use "shinythings" as its vendor id\&. In order to add the application to the desktop there needs to be a \&.desktop file for the application:
+
+.nf
+
+webmirror\&.desktop:
+
+ [Desktop Entry]
+ Encoding=UTF\-8
+ Type=Application
+
+ Exec=webmirror
+ Icon=webmirror
+
+ Name=WebMirror
+ Name[nl]=WebSpiegel
+
+.fi
+
+
+.PP
+Now the xdg\-desktop\-icon tool can be used to add the webmirror\&.desktop file to the desktop:
+
+.nf
+
+xdg\-desktop\-icon install \-\-vendor shinythings \&./webmirror\&.desktop
+
+.fi
+
+
+.PP
+To add a README file to the desktop as well, the following command can be used:
+
+.nf
+
+xdg\-desktop\-icon install \&./shinythings\-README
+
+.fi
+
.SH AUTHORS
Kevin Krammer, Jeremy White.