From 668c5e140a07a4b739d791caba3232e590a3e26c Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Fri, 7 Feb 2014 12:25:28 -0600 Subject: [PATCH 05/22] remove generated man pages --- scripts/man/.gitignore | 8 + scripts/man/xdg-desktop-icon.1 | 241 --------------------- scripts/man/xdg-desktop-menu.1 | 448 ---------------------------------------- scripts/man/xdg-email.1 | 199 ------------------ scripts/man/xdg-icon-resource.1 | 244 ---------------------- scripts/man/xdg-mime.1 | 286 ------------------------- scripts/man/xdg-open.1 | 124 ----------- scripts/man/xdg-screensaver.1 | 154 -------------- scripts/man/xdg-settings.1 | 154 -------------- 9 files changed, 8 insertions(+), 1850 deletions(-) delete mode 100644 scripts/man/xdg-desktop-icon.1 delete mode 100644 scripts/man/xdg-desktop-menu.1 delete mode 100644 scripts/man/xdg-email.1 delete mode 100644 scripts/man/xdg-icon-resource.1 delete mode 100644 scripts/man/xdg-mime.1 delete mode 100644 scripts/man/xdg-open.1 delete mode 100644 scripts/man/xdg-screensaver.1 delete mode 100644 scripts/man/xdg-settings.1 diff --git a/scripts/man/.gitignore b/scripts/man/.gitignore index e69de29..43c7914 100644 --- a/scripts/man/.gitignore +++ b/scripts/man/.gitignore @@ -0,0 +1,8 @@ +xdg-desktop-icon.1 +xdg-desktop-menu.1 +xdg-email.1 +xdg-icon-resource.1 +xdg-mime.1 +xdg-open.1 +xdg-screensaver.1 +xdg-settings.1 diff --git a/scripts/man/xdg-desktop-icon.1 b/scripts/man/xdg-desktop-icon.1 deleted file mode 100644 index 0b062d2..0000000 --- a/scripts/man/xdg-desktop-icon.1 +++ /dev/null @@ -1,241 +0,0 @@ -'\" t -.\" Title: xdg-desktop-icon -.\" Author: Kevin Krammer -.\" Generator: DocBook XSL Stylesheets v1.75.2 -.\" Date: 12/31/2010 -.\" Manual: xdg-desktop-icon Manual -.\" Source: xdg-utils 1.0 -.\" Language: English -.\" -.TH "XDG\-DESKTOP\-ICON" "1" "12/31/2010" "xdg-utils 1.0" "xdg-desktop-icon Manual" -.\" ----------------------------------------------------------------- -.\" * Define some portability stuff -.\" ----------------------------------------------------------------- -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.\" http://bugs.debian.org/507673 -.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.\" ----------------------------------------------------------------- -.\" * set default formatting -.\" ----------------------------------------------------------------- -.\" disable hyphenation -.nh -.\" disable justification (adjust text to left margin only) -.ad l -.\" ----------------------------------------------------------------- -.\" * MAIN CONTENT STARTS HERE * -.\" ----------------------------------------------------------------- -.SH "NAME" -xdg-desktop-icon \- command line tool for (un)installing icons to the desktop -.SH "SYNOPSIS" -.HP \w'\fBxdg\-desktop\-icon\fR\ 'u -\fBxdg\-desktop\-icon\fR install [\fB\-\-novendor\fR] \fIFILE\fR -.HP \w'\fBxdg\-desktop\-icon\fR\ 'u -\fBxdg\-desktop\-icon\fR uninstall \fIFILE\fR -.HP \w'\fBxdg\-desktop\-icon\fR\ 'u -\fBxdg\-desktop\-icon\fR {\fB\-\-help\fR | \fB\-\-manual\fR | \fB\-\-version\fR} -.SH "DESCRIPTION" -.PP -The xdg\-desktop\-icon program can be used to install an application launcher or other file on the desktop of the current user\&. -.PP -An application launcher is represented by a *\&.desktop file\&. Desktop files are defined by the freedesktop\&.org Desktop Entry Specification\&. The most important aspects of *\&.desktop files are summarized below\&. -.SH "COMMANDS" -.PP -install -.RS 4 -Installs -\fIFILE\fR -to the desktop of the current user\&. -\fIFILE\fR -can be a *\&.desktop file or any other type of file\&. -.RE -.PP -uninstall -.RS 4 -Removes -\fIFILE\fR -from the desktop of the current user\&. -.RE -.SH "OPTIONS" -.PP -\fB\-\-novendor\fR -.RS 4 -Normally, xdg\-desktop\-icon checks to ensure that a *\&.desktop file to be installed has a vendor prefix\&. This option can be used to disable that check\&. -.sp -A vendor prefix consists of alpha characters ([a\-zA\-Z]) and is terminated with a dash ("\-")\&. Companies and organizations are encouraged to use a word or phrase, preferably the organizations name, for which they hold a trademark as their vendor prefix\&. The purpose of the vendor prefix is to prevent name conflicts\&. -.RE -.PP -\fB\-\-help\fR -.RS 4 -Show command synopsis\&. -.RE -.PP -\fB\-\-manual\fR -.RS 4 -Show this manualpage\&. -.RE -.PP -\fB\-\-version\fR -.RS 4 -Show the xdg\-utils version information\&. -.RE -.SH "DESKTOP FILES" -.PP -An application launcher can be added to the desktop by installing a *\&.desktop file\&. A *\&.desktop file consists of a -\fI[Desktop Entry]\fR -header followed by several -\fIKey\fR=\fIValue\fR -lines\&. -.PP -A *\&.desktop file can provide a name and description for an application in several different languages\&. This is done by adding a language code as used by LC_MESSAGES in square brackets behind the -\fIKey\fR\&. This way one can specify different values for the same -\fIKey\fR -depending on the currently selected language\&. -.PP -The following keys are often used: -.PP -Value=1\&.0 -.RS 4 -This is a mandatory field to indicate that the *\&.desktop file follows the 1\&.0 version of the specification\&. -.RE -.PP -Type=Application -.RS 4 -This is a mandatory field that indicates that the *\&.desktop file describes an application launcher\&. -.RE -.PP -Name=\fIApplication Name\fR -.RS 4 -The name of the application\&. For example -\fIMozilla\fR -.RE -.PP -GenericName=\fIGeneric Name\fR -.RS 4 -A generic description of the application\&. For example -\fIWeb Browser\fR -.RE -.PP -Comment=\fIComment\fR -.RS 4 -Optional field to specify a tooltip for the application\&. For example -\fIVisit websites on the Internet\fR -.RE -.PP -Icon=\fIIcon File\fR -.RS 4 -The icon to use for the application\&. This can either be an absolute path to an image file or an icon\-name\&. If an icon\-name is provided an image lookup by name is done in the user\*(Aqs current icon theme\&. The -\fBxdg\-icon\-resource\fR -command can be used to install image files into icon themes\&. The advantage of using an icon\-name instead of an absolute path is that with an icon\-name the application icon can be provided in several different sizes as well as in several differently themed styles\&. -.RE -.PP -Exec=\fICommand Line\fR -.RS 4 -The command line to start the application\&. If the application can open files the %f placeholder should be specified\&. When a file is dropped on the application launcher the %f is replaced with the file path of the dropped file\&. If multiple files can be specified on the command line the %F placeholder should be used instead of %f\&. If the application is able to open URLs in addition to local files then %u or %U can be used instead of %f or %F\&. -.RE -.PP -For a complete oveview of the *\&.desktop file format please visit http://www\&.freedesktop\&.org/wiki/Standards/desktop\-entry\-spec -.SH "ENVIRONMENT VARIABLES" -.PP -xdg\-desktop\-icon honours the following environment variables: -.PP -XDG_UTILS_DEBUG_LEVEL -.RS 4 -Setting this environment variable to a non\-zero numerical value makes xdg\-desktop\-icon do more verbose reporting on stderr\&. Setting a higher value increases the verbosity\&. -.RE -.SH "EXIT CODES" -.PP -An exit code of 0 indicates success while a non\-zero exit code indicates failure\&. The following failure codes can be returned: -.PP -\fB1\fR -.RS 4 -Error in command line syntax\&. -.RE -.PP -\fB2\fR -.RS 4 -One of the files passed on the command line did not exist\&. -.RE -.PP -\fB3\fR -.RS 4 -A required tool could not be found\&. -.RE -.PP -\fB4\fR -.RS 4 -The action failed\&. -.RE -.PP -\fB5\fR -.RS 4 -No permission to read one of the files passed on the command line\&. -.RE -.SH "SEE ALSO" -.PP -\fBxdg-icon-resource\fR(1) -.SH "EXAMPLES" -.PP -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: -.sp -.if n \{\ -.RS 4 -.\} -.nf -shinythings\-webmirror\&.desktop: - - [Desktop Entry] - Encoding=UTF\-8 - Type=Application - - Exec=webmirror - Icon=shinythings\-webmirror - - Name=WebMirror - Name[nl]=WebSpiegel -.fi -.if n \{\ -.RE -.\} -.PP -Now the xdg\-desktop\-icon tool can be used to add the webmirror\&.desktop file to the desktop: -.sp -.if n \{\ -.RS 4 -.\} -.nf -xdg\-desktop\-icon install \&./shinythings\-webmirror\&.desktop -.fi -.if n \{\ -.RE -.\} -.PP -To add a README file to the desktop as well, the following command can be used: -.sp -.if n \{\ -.RS 4 -.\} -.nf -xdg\-desktop\-icon install \&./shinythings\-README -.fi -.if n \{\ -.RE -.\} -.sp -.SH "AUTHORS" -.PP -\fBKevin Krammer\fR -.RS 4 -Author. -.RE -.PP -\fBJeremy White\fR -.RS 4 -Author. -.RE -.SH "COPYRIGHT" -.br -Copyright \(co 2006 -.br diff --git a/scripts/man/xdg-desktop-menu.1 b/scripts/man/xdg-desktop-menu.1 deleted file mode 100644 index b5ca38a..0000000 --- a/scripts/man/xdg-desktop-menu.1 +++ /dev/null @@ -1,448 +0,0 @@ -'\" t -.\" Title: xdg-desktop-menu -.\" Author: Kevin Krammer -.\" Generator: DocBook XSL Stylesheets v1.75.2 -.\" Date: 12/31/2010 -.\" Manual: xdg-desktop-menu Manual -.\" Source: xdg-utils 1.0 -.\" Language: English -.\" -.TH "XDG\-DESKTOP\-MENU" "1" "12/31/2010" "xdg-utils 1.0" "xdg-desktop-menu Manual" -.\" ----------------------------------------------------------------- -.\" * Define some portability stuff -.\" ----------------------------------------------------------------- -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.\" http://bugs.debian.org/507673 -.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.\" ----------------------------------------------------------------- -.\" * set default formatting -.\" ----------------------------------------------------------------- -.\" disable hyphenation -.nh -.\" disable justification (adjust text to left margin only) -.ad l -.\" ----------------------------------------------------------------- -.\" * MAIN CONTENT STARTS HERE * -.\" ----------------------------------------------------------------- -.SH "NAME" -xdg-desktop-menu \- command line tool for (un)installing desktop menu items -.SH "SYNOPSIS" -.HP \w'\fBxdg\-desktop\-menu\fR\ 'u -\fBxdg\-desktop\-menu\fR install [\fB\-\-noupdate\fR] [\fB\-\-novendor\fR] [\fB\-\-mode\ \fR\fB\fImode\fR\fR] \fIdirectory\-file(s)\fR \fIdesktop\-file(s)\fR -.HP \w'\fBxdg\-desktop\-menu\fR\ 'u -\fBxdg\-desktop\-menu\fR uninstall [\fB\-\-noupdate\fR] [\fB\-\-mode\ \fR\fB\fImode\fR\fR] \fIdirectory\-file(s)\fR \fIdesktop\-file(s)\fR -.HP \w'\fBxdg\-desktop\-menu\fR\ 'u -\fBxdg\-desktop\-menu\fR forceupdate [\fB\-\-mode\ \fR\fB\fImode\fR\fR] -.HP \w'\fBxdg\-desktop\-menu\fR\ 'u -\fBxdg\-desktop\-menu\fR {\fB\-\-help\fR | \fB\-\-manual\fR | \fB\-\-version\fR} -.SH "DESCRIPTION" -.PP -The xdg\-desktop\-menu program can be used to install new menu entries to the desktop\*(Aqs application menu\&. -.PP -The application menu works according to the XDG Desktop Menu Specification at http://www\&.freedesktop\&.org/Standards/menu\-spec -.SH "COMMANDS" -.PP -install -.RS 4 -Install one or more applications in a submenu of the desktop menu system\&. -.sp -\fIdesktop\-file\fR: A desktop file represents a single menu entry in the menu\&. Desktop files are defined by the freedesktop\&.org Desktop Entry Specification\&. The most important aspects of *\&.desktop files are summarized below\&. -.sp -Menu entries can be added to the menu system in two different ways\&. They can either be added to a predefined submenu in the menu system based on one or more category keywords, or they can be added to a new submenu\&. -.sp -To add a menu entry to a predefined submenu the desktop file that represents the menu entry must have a Categories= entry that lists one or more keywords\&. The menu item will be included in an appropriate submenu based on the included keywords\&. -.sp -To add menu items to a new submenu the desktop\-files must be preceded by a directory\-file that describes the submenu\&. If multiple desktop\-files are specified, all entries will be added to the same menu\&. If entries are installed to a menu that has been created with a previous call to -\fBxdg\-desktop\-menu\fR -the entries will be installed in addition to any already existing entries\&. -.sp -\fIdirectory\-file\fR: The *\&.directory file indicated by -\fIdirectory\-file\fR -represents a submenu\&. The directory file provides the name and icon for a submenu\&. The name of the directory file is used to identify the submenu\&. -.sp -If multiple directory files are provided each file will represent a submenu within the menu that preceeds it, creating a nested menu hierarchy (sub\-sub\-menus)\&. The menu entries themselves will be added to the last submenu\&. -.sp -Directory files follow the syntax defined by the freedesktop\&.org Desktop Entry Specification\&. -.RE -.PP -uninstall -.RS 4 -Remove applications or submenus from the desktop menu system previously installed with -\fBxdg\-desktop\-menu install\fR\&. -.sp -A submenu and the associated directory file is only removed when the submenu no longer contains any menu entries\&. -.RE -.PP -forceupdate -.RS 4 -Force an update of the menu system\&. -.sp -This command is only useful if the last call to xdg\-desktop\-menu included the -\fB\-\-noupdate\fR -option\&. -.RE -.SH "OPTIONS" -.PP -\fB\-\-noupdate\fR -.RS 4 -Postpone updating the menu system\&. If multiple updates to the menu system are made in sequence this flag can be used to indicate that additional changes will follow and that it is not necassery to update the menu system right away\&. -.RE -.PP -\fB\-\-novendor\fR -.RS 4 -Normally, xdg\-desktop\-menu checks to ensure that any *\&.directory and *\&.desktop files to be installed has a vendor prefix\&. This option can be used to disable that check\&. -.sp -A vendor prefix consists of alpha characters ([a\-zA\-Z]) and is terminated with a dash ("\-")\&. Companies and organizations are encouraged to use a word or phrase, preferably the organizations name, for which they hold a trademark as their vendor prefix\&. The purpose of the vendor prefix is to prevent name conflicts\&. -.RE -.PP -\fB\-\-mode\fR \fImode\fR -.RS 4 -\fImode\fR -can be -\fIuser\fR -or -\fIsystem\fR\&. In user mode the file is (un)installed for the current user only\&. In system mode the file is (un)installed for all users on the system\&. Usually only root is allowed to install in system mode\&. -.sp -The default is to use system mode when called by root and to use user mode when called by a non\-root user\&. -.RE -.PP -\fB\-\-help\fR -.RS 4 -Show command synopsis\&. -.RE -.PP -\fB\-\-manual\fR -.RS 4 -Show this manualpage\&. -.RE -.PP -\fB\-\-version\fR -.RS 4 -Show the xdg\-utils version information\&. -.RE -.SH "DESKTOP FILES" -.PP -An application item in the application menu is represented by a *\&.desktop file\&. A *\&.desktop file consists of a -\fI[Desktop Entry]\fR -header followed by several -\fIKey\fR=\fIValue\fR -lines\&. -.PP -A *\&.desktop file can provide a name and description for an application in several different languages\&. This is done by adding a language code as used by LC_MESSAGES in square brackets behind the -\fIKey\fR\&. This way one can specify different values for the same -\fIKey\fR -depending on the currently selected language\&. -.PP -The following keys are often used: -.PP -Value=1\&.0 -.RS 4 -This is a mandatory field to indicate that the *\&.desktop file follows the 1\&.0 version of the specification\&. -.RE -.PP -Type=Application -.RS 4 -This is a mandatory field that indicates that the *\&.desktop file describes an application launcher\&. -.RE -.PP -Name=\fIApplication Name\fR -.RS 4 -The name of the application\&. For example -\fIMozilla\fR -.RE -.PP -GenericName=\fIGeneric Name\fR -.RS 4 -A generic description of the application\&. For example -\fIWeb Browser\fR -.RE -.PP -Comment=\fIComment\fR -.RS 4 -Optional field to specify a tooltip for the application\&. For example -\fIVisit websites on the Internet\fR -.RE -.PP -Icon=\fIIcon File\fR -.RS 4 -The icon to use for the application\&. This can either be an absolute path to an image file or an icon\-name\&. If an icon\-name is provided an image lookup by name is done in the user\*(Aqs current icon theme\&. The -\fBxdg\-icon\-resource\fR -command can be used to install image files into icon themes\&. The advantage of using an icon\-name instead of an absolute path is that with an icon\-name the application icon can be provided in several different sizes as well as in several differently themed styles\&. -.RE -.PP -Exec=\fICommand Line\fR -.RS 4 -The command line to start the application\&. If the application can open files the %f placeholder should be specified\&. When a file is dropped on the application launcher the %f is replaced with the file path of the dropped file\&. If multiple files can be specified on the command line the %F placeholder should be used instead of %f\&. If the application is able to open URLs in addition to local files then %u or %U can be used instead of %f or %F\&. -.RE -.PP -Categories=\fICategories\fR -.RS 4 -A list of categories separated by semi\-colons\&. A category is a keyword that describes and classifies the application\&. By default applications are organized in the application menu based on category\&. When menu entries are explicitly assigned to a new submenu it is not necassery to list any categories\&. -.sp -When using categories it is recommended to include one of the following categories: AudioVideo, Development, Education, Game, Graphics, Network, Office, Settings, System, Utility\&. -.sp -See Appendix A of the XDG Desktop Menu Specification for information about additional categories\&. http://standards\&.freedesktop\&.org/menu\-spec/menu\-spec\-1\&.0\&.html -.RE -.PP -MimeType=\fIMimetypes\fR -.RS 4 -A list of mimetypes separated by semi\-colons\&. This field is used to indicate which file types the application is able to open\&. -.RE -.PP -For a complete oveview of the *\&.desktop file format please visit http://www\&.freedesktop\&.org/wiki/Standards/desktop\-entry\-spec -.SH "DIRECTORY FILES" -.PP -The appearance of submenu in the application menu is provided by a *\&.directory file\&. In particular it provides the title of the submenu and a possible icon\&. A *\&.directory file consists of a -\fI[Desktop Entry]\fR -header followed by several -\fIKey\fR=\fIValue\fR -lines\&. -.PP -A *\&.directory file can provide a title (name) for the submenu in several different languages\&. This is done by adding a language code as used by LC_MESSAGES in square brackets behind the -\fIKey\fR\&. This way one can specify different values for the same -\fIKey\fR -depending on the currently selected language\&. -.PP -The following keys are relevqnt for submenus: -.PP -Value=1\&.0 -.RS 4 -This is a mandatory field to indicate that the *\&.directory file follows the 1\&.0 version of the Desktop Entry specification\&. -.RE -.PP -Type=Directory -.RS 4 -This is a mandatory field that indicates that the *\&.directory file describes a submenu\&. -.RE -.PP -Name=\fIMenu Name\fR -.RS 4 -The title of submenu\&. For example -\fIMozilla\fR -.RE -.PP -Comment=\fIComment\fR -.RS 4 -Optional field to specify a tooltip for the submenu\&. -.RE -.PP -Icon=\fIIcon File\fR -.RS 4 -The icon to use for the submenu\&. This can either be an absolute path to an image file or an icon\-name\&. If an icon\-name is provided an image lookup by name is done in the user\*(Aqs current icon theme\&. The -\fBxdg\-icon\-resource\fR -command can be used to install image files into icon themes\&. The advantage of using an icon\-name instead of an absolute path is that with an icon\-name the submenu icon can be provided in several different sizes as well as in several differently themed styles\&. -.RE -.SH "ENVIRONMENT VARIABLES" -.PP -xdg\-desktop\-menu honours the following environment variables: -.PP -XDG_UTILS_DEBUG_LEVEL -.RS 4 -Setting this environment variable to a non\-zero numerical value makes xdg\-desktop\-menu do more verbose reporting on stderr\&. Setting a higher value increases the verbosity\&. -.RE -.PP -XDG_UTILS_INSTALL_MODE -.RS 4 -This environment variable can be used by the user or administrator to override the installation mode\&. Valid values are -\fIuser\fR -and -\fIsystem\fR\&. -.RE -.SH "EXIT CODES" -.PP -An exit code of 0 indicates success while a non\-zero exit code indicates failure\&. The following failure codes can be returned: -.PP -\fB1\fR -.RS 4 -Error in command line syntax\&. -.RE -.PP -\fB2\fR -.RS 4 -One of the files passed on the command line did not exist\&. -.RE -.PP -\fB3\fR -.RS 4 -A required tool could not be found\&. -.RE -.PP -\fB4\fR -.RS 4 -The action failed\&. -.RE -.PP -\fB5\fR -.RS 4 -No permission to read one of the files passed on the command line\&. -.RE -.SH "SEE ALSO" -.PP -\fBxdg-desktop-icon\fR(1), -\fBxdg-icon-resource\fR(1), -\fBxdg-mime\fR(1) -.SH "EXAMPLES" -.PP -The company ShinyThings Inc\&. has developed an application named "WebMirror" and would like to add it to the application menu\&. The company will use "shinythings" as its vendor id\&. In order to add the application to the menu there needs to be a \&.desktop file with a suitable -\fICategories\fR -entry: -.sp -.if n \{\ -.RS 4 -.\} -.nf -shinythings\-webmirror\&.desktop: - - [Desktop Entry] - Encoding=UTF\-8 - Type=Application - - Exec=webmirror - Icon=webmirror - - Name=WebMirror - Name[nl]=WebSpiegel - - Categories=Network;WebDevelopment; -.fi -.if n \{\ -.RE -.\} -.PP -Now the xdg\-desktop\-menu tool can be used to add the shinythings\-webmirror\&.desktop file to the desktop application menu: -.sp -.if n \{\ -.RS 4 -.\} -.nf -xdg\-desktop\-menu install \&./shinythings\-webmirror\&.desktop -.fi -.if n \{\ -.RE -.\} -.PP -Note that for the purpose of this example the menu items are available in two languages, English and Dutch\&. The language code for Dutch is nl\&. -.PP -In the next example the company ShinyThings Inc\&. will add its own submenu to the desktop application menu consisting of a "WebMirror" menu item and a "WebMirror Admin Tool" menu item\&. -.PP -First the company needs to create two \&.desktop files that describe the two menu items\&. Since the items are to be added to a new submenu it is not necassery to include a Categories= line: -.sp -.if n \{\ -.RS 4 -.\} -.nf -shinythings\-webmirror\&.desktop: - - [Desktop Entry] - Encoding=UTF\-8 - Type=Application - - Exec=webmirror - Icon=shinythings\-webmirror - - Name=WebMirror - Name[nl]=WebSpiegel - - -shinythings\-webmirror\-admin\&.desktop: - - [Desktop Entry] - Encoding=UTF\-8 - Type=Application - - Exec=webmirror\-admintool - Icon=shinythings\-webmirror\-admintool - - Name=WebMirror Admin Tool - Name[nl]=WebSpiegel Administratie Tool -.fi -.if n \{\ -.RE -.\} -.PP -In addition a \&.directory file needs to be created to provide a title and icon for the sub\-menu itself: -.sp -.if n \{\ -.RS 4 -.\} -.nf -shinythings\-webmirror\&.directory: - - [Desktop Entry] - Encoding=UTF\-8 - - Icon=shinythings\-webmirror\-menu - - Name=WebMirror - Name[nl]=WebSpiegel -.fi -.if n \{\ -.RE -.\} -.PP -These file can now be installed with: -.sp -.if n \{\ -.RS 4 -.\} -.nf -xdg\-desktop\-menu install \&./shinythings\-webmirror\&.directory \e - \&./shinythings\-webmirror\&.desktop \&./shinythings\-webmirror\-admin\&.desktop -.fi -.if n \{\ -.RE -.\} -.PP -The menu entries could also be installed one by one: -.sp -.if n \{\ -.RS 4 -.\} -.nf -xdg\-desktop\-menu install \-\-noupdate \&./shinythings\-webmirror\&.directory \e - \&./shinythings\-webmirror\&.desktop -xdg\-desktop\-menu install \-\-noupdate \&./shinythings\-webmirror\&.directory \e - \&./shinythings\-webmirror\-admin\&.desktop -xdg\-desktop\-menu forceupdate -.fi -.if n \{\ -.RE -.\} -.PP -Although the result is the same it is slightly more efficient to install all files at the same time\&. -.PP -The *\&.desktop and *\&.directory files reference icons with the names webmirror, webmirror\-admin and webmirror\-menu which should also be installed\&. In this example the icons are installed in two different sizes, once with a size of 22x22 pixels and once with a size of 64x64 pixels: -.sp -.if n \{\ -.RS 4 -.\} -.nf -xdg\-icon\-resource install \-\-size 22 \&./wmicon\-22\&.png shinythings\-webmirror -xdg\-icon\-resource install \-\-size 22 \&./wmicon\-menu\-22\&.png shinythings\-webmirror\-menu -xdg\-icon\-resource install \-\-size 22 \&./wmicon\-admin\-22\&.png shinythings\-webmirror\-admin -xdg\-icon\-resource install \-\-size 64 \&./wmicon\-64\&.png shinythings\-webmirror -xdg\-icon\-resource install \-\-size 64 \&./wmicon\-menu\-64\&.png shinythings\-webmirror\-menu -xdg\-icon\-resource install \-\-size 64 \&./wmicon\-admin\-64\&.png shinythings\-webmirror\-admin -.fi -.if n \{\ -.RE -.\} -.sp -.SH "AUTHORS" -.PP -\fBKevin Krammer\fR -.RS 4 -Author. -.RE -.PP -\fBJeremy White\fR -.RS 4 -Author. -.RE -.SH "COPYRIGHT" -.br -Copyright \(co 2006 -.br diff --git a/scripts/man/xdg-email.1 b/scripts/man/xdg-email.1 deleted file mode 100644 index 09d1709..0000000 --- a/scripts/man/xdg-email.1 +++ /dev/null @@ -1,199 +0,0 @@ -'\" t -.\" Title: xdg-email -.\" Author: Kevin Krammer -.\" Generator: DocBook XSL Stylesheets v1.75.2 -.\" Date: 12/31/2010 -.\" Manual: xdg-email Manual -.\" Source: xdg-utils 1.0 -.\" Language: English -.\" -.TH "XDG\-EMAIL" "1" "12/31/2010" "xdg-utils 1.0" "xdg-email Manual" -.\" ----------------------------------------------------------------- -.\" * Define some portability stuff -.\" ----------------------------------------------------------------- -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.\" http://bugs.debian.org/507673 -.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.\" ----------------------------------------------------------------- -.\" * set default formatting -.\" ----------------------------------------------------------------- -.\" disable hyphenation -.nh -.\" disable justification (adjust text to left margin only) -.ad l -.\" ----------------------------------------------------------------- -.\" * MAIN CONTENT STARTS HERE * -.\" ----------------------------------------------------------------- -.SH "NAME" -xdg-email \- command line tool for sending mail using the user\*(Aqs preferred e\-mail composer -.SH "SYNOPSIS" -.HP \w'\fBxdg\-email\fR\ 'u -\fBxdg\-email\fR [\fB\-\-utf8\fR] [\fB\-\-cc\fR\ \fIaddress\fR] [\fB\-\-bcc\fR\ \fIaddress\fR] [\fB\-\-subject\fR\ \fItext\fR] [\fB\-\-body\fR\ \fItext\fR] [\fB\-\-attach\fR\ \fIfile\fR] [\fImailto\-uri\fR | \fIaddress(es)\fR] -.HP \w'\fBxdg\-email\fR\ 'u -\fBxdg\-email\fR {\fB\-\-help\fR | \fB\-\-manual\fR | \fB\-\-version\fR} -.SH "DESCRIPTION" -.PP -xdg\-email opens the user\*(Aqs preferred e\-mail composer in order to send a mail to -\fIaddress(es)\fR -or -\fImailto\-uri\fR\&. RFC2368 defines mailto: URIs\&. xdg\-email limits support to, cc, subject and body fields in -\fImailto\-uri\fR, all other fields are silently ignored\&. -\fIaddress(es)\fR -must follow the syntax of RFC822\&. Multiple addresses may be provided as separate arguments\&. -.PP -All information provided on the command line is used to prefill corresponding fields in the user\*(Aqs e\-mail composer\&. The user will have the opportunity to change any of this information before actually sending the e\-mail\&. -.PP -xdg\-email is for use inside a desktop session only\&. It is not recommended to use xdg\-email as root\&. -.PP -See http://portland\&.freedesktop\&.org/EmailConfig for information on how the user can change the e\-mail composer that is used\&. -.SH "OPTIONS" -.PP -\fB\-\-utf8\fR -.RS 4 -Indicates that all command line options that follow are in utf8\&. Without this option, command line options are expected to be encoded according to locale\&. If the locale already specifies utf8 this option has no effect\&. This option does not affect mailto URIs that are passed on the command line\&. -.RE -.PP -\fB\-\-cc\fR \fIaddress\fR -.RS 4 -Specify a recipient to be copied on the e\-mail\&. -.RE -.PP -\fB\-\-bcc\fR \fIaddress\fR -.RS 4 -Specify a recipient to be blindly copied on the e\-mail\&. -.RE -.PP -\fB\-\-subject\fR \fItext\fR -.RS 4 -Specify a subject for the e\-mail\&. -.RE -.PP -\fB\-\-body\fR \fItext\fR -.RS 4 -Specify a body for the e\-mail\&. Since the user will be able to make changes before actually sending the e\-mail, this can be used to provide the user with a template for the e\-mail\&. -\fItext\fR -may contain linebreaks\&. -.RE -.PP -\fB\-\-attach\fR \fIfile\fR -.RS 4 -Specify an attachment for the e\-mail\&. -\fIfile\fR -must point to an existing file\&. -.sp -Some e\-mail applications require the file to remain present after xdg\-email returns\&. -.RE -.PP -\fB\-\-help\fR -.RS 4 -Show command synopsis\&. -.RE -.PP -\fB\-\-manual\fR -.RS 4 -Show this manualpage\&. -.RE -.PP -\fB\-\-version\fR -.RS 4 -Show the xdg\-utils version information\&. -.RE -.SH "ENVIRONMENT VARIABLES" -.PP -xdg\-email honours the following environment variables: -.PP -XDG_UTILS_DEBUG_LEVEL -.RS 4 -Setting this environment variable to a non\-zero numerical value makes xdg\-email do more verbose reporting on stderr\&. Setting a higher value increases the verbosity\&. -.RE -.SH "EXIT CODES" -.PP -An exit code of 0 indicates success while a non\-zero exit code indicates failure\&. The following failure codes can be returned: -.PP -\fB1\fR -.RS 4 -Error in command line syntax\&. -.RE -.PP -\fB2\fR -.RS 4 -One of the files passed on the command line did not exist\&. -.RE -.PP -\fB3\fR -.RS 4 -A required tool could not be found\&. -.RE -.PP -\fB4\fR -.RS 4 -The action failed\&. -.RE -.PP -\fB5\fR -.RS 4 -No permission to read one of the files passed on the command line\&. -.RE -.SH "CONFIGURATION" -.PP -Visit http://portland\&.freedesktop\&.org/EmailConfig for information how to configure xdg\-email to use the email client of your choice\&. -.SH "EXAMPLES" -.PP - -.sp -.if n \{\ -.RS 4 -.\} -.nf -xdg\-email \*(AqJeremy White \*(Aq -.fi -.if n \{\ -.RE -.\} -.PP - -.sp -.if n \{\ -.RS 4 -.\} -.nf -xdg\-email \-\-attach /tmp/logo\&.png \e - \-\-subject \*(AqLogo contest\*(Aq \e - \-\-body \*(AqAttached you find the logo for the contest\&.\*(Aq \e - \*(Aqjwhite@example\&.com\*(Aq -.fi -.if n \{\ -.RE -.\} -.PP - -.sp -.if n \{\ -.RS 4 -.\} -.nf -xdg\-email \-\-subject \*(AqYour password is about to expire\*(Aq \e - \*(Aqjwhite@example\&.com\*(Aq \*(Aqbastian@example\&.com\*(Aq \*(Aqwhipple@example\&.com\*(Aq -.fi -.if n \{\ -.RE -.\} -.sp -.SH "AUTHORS" -.PP -\fBKevin Krammer\fR -.RS 4 -Author. -.RE -.PP -\fBJeremy White\fR -.RS 4 -Author. -.RE -.SH "COPYRIGHT" -.br -Copyright \(co 2006 -.br diff --git a/scripts/man/xdg-icon-resource.1 b/scripts/man/xdg-icon-resource.1 deleted file mode 100644 index 283b903..0000000 --- a/scripts/man/xdg-icon-resource.1 +++ /dev/null @@ -1,244 +0,0 @@ -'\" t -.\" Title: xdg-icon-resource -.\" Author: Kevin Krammer -.\" Generator: DocBook XSL Stylesheets v1.75.2 -.\" Date: 12/31/2010 -.\" Manual: xdg-icon-resource Manual -.\" Source: xdg-utils 1.0 -.\" Language: English -.\" -.TH "XDG\-ICON\-RESOURCE" "1" "12/31/2010" "xdg-utils 1.0" "xdg-icon-resource Manual" -.\" ----------------------------------------------------------------- -.\" * Define some portability stuff -.\" ----------------------------------------------------------------- -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.\" http://bugs.debian.org/507673 -.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.\" ----------------------------------------------------------------- -.\" * set default formatting -.\" ----------------------------------------------------------------- -.\" disable hyphenation -.nh -.\" disable justification (adjust text to left margin only) -.ad l -.\" ----------------------------------------------------------------- -.\" * MAIN CONTENT STARTS HERE * -.\" ----------------------------------------------------------------- -.SH "NAME" -xdg-icon-resource \- command line tool for (un)installing icon resources -.SH "SYNOPSIS" -.HP \w'\fBxdg\-icon\-resource\fR\ 'u -\fBxdg\-icon\-resource\fR install [\fB\-\-noupdate\fR] [\fB\-\-novendor\fR] [\fB\-\-theme\ \fR\fB\fItheme\fR\fR] [\fB\-\-context\ \fR\fB\fIcontext\fR\fR] [\fB\-\-mode\ \fR\fB\fImode\fR\fR] \fB\-\-size\ \fR\fB\fIsize\fR\fR \fIicon\-file\fR [\fIicon\-name\fR] -.HP \w'\fBxdg\-icon\-resource\fR\ 'u -\fBxdg\-icon\-resource\fR uninstall [\fB\-\-noupdate\fR] [\fB\-\-theme\ \fR\fB\fItheme\fR\fR] [\fB\-\-context\ \fR\fB\fIcontext\fR\fR] [\fB\-\-mode\ \fR\fB\fImode\fR\fR] \fB\-\-size\ \fR\fB\fIsize\fR\fR \fIicon\-name\fR -.HP \w'\fBxdg\-icon\-resource\fR\ 'u -\fBxdg\-icon\-resource\fR forceupdate [\fB\-\-theme\ \fR\fB\fItheme\fR\fR] [\fB\-\-mode\ \fR\fB\fImode\fR\fR] -.HP \w'\fBxdg\-icon\-resource\fR\ 'u -\fBxdg\-icon\-resource\fR {\fB\-\-help\fR | \fB\-\-manual\fR | \fB\-\-version\fR} -.SH "DESCRIPTION" -.PP -The xdg\-icon\-resource program can be used to install icon resources into the desktop icon system in order to illustrate menu entries, to depict desktop icons or to graphically represent file types\&. -.PP -The desktop icon system identifies icons by name\&. Depending on the required size, the choice of icon theme and the context in which the icon is used, the desktop icon system locates an appropriate icon resource to depict an icon\&. Icon resources can be XPM files or PNG files\&. -.PP -The desktop icon system works according to the XDG Icon Theme Specification at http://www\&.freedesktop\&.org/Standards/icon\-theme\-spec -.SH "COMMANDS" -.PP -install -.RS 4 -Installs the icon file indicated by -\fIicon\-file\fR -to the desktop icon system under the name -\fIicon\-name\fR\&. Icon names do not have an extension\&. If -\fIicon\-name\fR -is not provided the name is derived from -\fIicon\-file\fR\&. The icon file must have -\fI\&.png\fR -or -\fI\&.xpm\fR -as extension\&. If a corresponding -\fI\&.icon\fR -file exists in the same location as -\fIicon\-file\fR -it will be installed as well\&. -.RE -.PP -uninstall -.RS 4 -Removes the icon indicated by -\fIicon\-name\fR -from the desktop icon system\&. Note that icon names do not have an extension\&. -.RE -.PP -forceupdate -.RS 4 -Force an update of the desktop icon system\&. This is only useful if the last call to xdg\-icon\-resource included the -\fB\-\-noupdate\fR -option\&. -.RE -.SH "OPTIONS" -.PP -\fB\-\-noupdate\fR -.RS 4 -Postpone updating the desktop icon system\&. If multiple icons are added in sequence this flag can be used to indicate that additional changes will follow and that it is not necassery to update the desktop icon system right away\&. -.RE -.PP -\fB\-\-novendor\fR -.RS 4 -Normally, xdg\-icon\-resource checks to ensure that an icon file to be installed in the -\fIapps\fR -context has a proper vendor prefix\&. This option can be used to disable that check\&. -.sp -A vendor prefix consists of alpha characters ([a\-zA\-Z]) and is terminated with a dash ("\-")\&. Companies and organizations are encouraged to use a word or phrase, preferably the organizations name, for which they hold a trademark as their vendor prefix\&. The purpose of the vendor prefix is to prevent name conflicts\&. -.RE -.PP -\fB\-\-theme\fR \fItheme\fR -.RS 4 -Installs or removes the icon file as part of -\fItheme\fR\&. If no theme is specified the icons will be installed as part of the default -\fIhicolor\fR -theme\&. Applications may install icons under multiple themes but should at least install icons for the default -\fIhicolor\fR -theme\&. -.RE -.PP -\fB\-\-context\fR \fIcontext\fR -.RS 4 -Specifies the context for the icon\&. Icons to be used in the application menu and as desktop icon should use -\fIapps\fR -as context which is the default context\&. Icons to be used as file icons should use -\fImimetypes\fR -as context\&. Other common contexts are -\fIactions\fR, -\fIdevices\fR, -\fIemblems\fR, -\fIfilesystems\fR -and -\fIstock\fR\&. -.RE -.PP -\fB\-\-size\fR \fIsize\fR -.RS 4 -Specifies the size of the icon\&. All icons must be square\&. Common sizes for icons in the apps context are: 16, 22, 32, 48, 64 and 128\&. Common sizes for icons in the mimetypes context are: 16, 22, 32, 48, 64 and 128 -.RE -.PP -\fB\-\-mode\fR \fImode\fR -.RS 4 -\fImode\fR -can be -\fIuser\fR -or -\fIsystem\fR\&. In user mode the file is (un)installed for the current user only\&. In system mode the file is (un)installed for all users on the system\&. Usually only root is allowed to install in system mode\&. -.sp -The default is to use system mode when called by root and to use user mode when called by a non\-root user\&. -.RE -.PP -\fB\-\-help\fR -.RS 4 -Show command synopsis\&. -.RE -.PP -\fB\-\-manual\fR -.RS 4 -Show this manualpage\&. -.RE -.PP -\fB\-\-version\fR -.RS 4 -Show the xdg\-utils version information\&. -.RE -.SH "ENVIRONMENT VARIABLES" -.PP -xdg\-icon\-resource honours the following environment variables: -.PP -XDG_UTILS_DEBUG_LEVEL -.RS 4 -Setting this environment variable to a non\-zero numerical value makes xdg\-icon\-resource do more verbose reporting on stderr\&. Setting a higher value increases the verbosity\&. -.RE -.PP -XDG_UTILS_INSTALL_MODE -.RS 4 -This environment variable can be used by the user or administrator to override the installation mode\&. Valid values are -\fIuser\fR -and -\fIsystem\fR\&. -.RE -.SH "EXIT CODES" -.PP -An exit code of 0 indicates success while a non\-zero exit code indicates failure\&. The following failure codes can be returned: -.PP -\fB1\fR -.RS 4 -Error in command line syntax\&. -.RE -.PP -\fB2\fR -.RS 4 -One of the files passed on the command line did not exist\&. -.RE -.PP -\fB3\fR -.RS 4 -A required tool could not be found\&. -.RE -.PP -\fB4\fR -.RS 4 -The action failed\&. -.RE -.PP -\fB5\fR -.RS 4 -No permission to read one of the files passed on the command line\&. -.RE -.SH "SEE ALSO" -.PP -\fBxdg-desktop-icon\fR(1), -\fBxdg-desktop-menu\fR(1), -\fBxdg-mime\fR(1) -.SH "EXAMPLES" -.PP -To install an icon resource to depict a launcher for the application myfoobar, the company ShinyThings Inc\&. can use: -.sp -.if n \{\ -.RS 4 -.\} -.nf -xdg\-icon\-resource install \-\-size 64 shinythings\-myfoobar\&.png -.fi -.if n \{\ -.RE -.\} -.PP -To install an icon for a new application/x\-foobar file type one can use: -.sp -.if n \{\ -.RS 4 -.\} -.nf -xdg\-icon\-resource install \-\-context mimetypes \-\-size 48 \&./mime\-foobar\-48\&.png application\-x\-foobar -xdg\-icon\-resource install \-\-context mimetypes \-\-size 64 \&./mime\-foobar\-64\&.png application\-x\-foobar -.fi -.if n \{\ -.RE -.\} -.sp -This will install two icons with the name application\-x\-foobar but with different sizes\&. -.SH "AUTHORS" -.PP -\fBKevin Krammer\fR -.RS 4 -Author. -.RE -.PP -\fBJeremy White\fR -.RS 4 -Author. -.RE -.SH "COPYRIGHT" -.br -Copyright \(co 2006 -.br diff --git a/scripts/man/xdg-mime.1 b/scripts/man/xdg-mime.1 deleted file mode 100644 index 50811e4..0000000 --- a/scripts/man/xdg-mime.1 +++ /dev/null @@ -1,286 +0,0 @@ -'\" t -.\" Title: xdg-mime -.\" Author: Kevin Krammer -.\" Generator: DocBook XSL Stylesheets v1.75.2 -.\" Date: 12/31/2010 -.\" Manual: xdg-mime Manual -.\" Source: xdg-utils 1.0 -.\" Language: English -.\" -.TH "XDG\-MIME" "1" "12/31/2010" "xdg-utils 1.0" "xdg-mime Manual" -.\" ----------------------------------------------------------------- -.\" * Define some portability stuff -.\" ----------------------------------------------------------------- -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.\" http://bugs.debian.org/507673 -.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.\" ----------------------------------------------------------------- -.\" * set default formatting -.\" ----------------------------------------------------------------- -.\" disable hyphenation -.nh -.\" disable justification (adjust text to left margin only) -.ad l -.\" ----------------------------------------------------------------- -.\" * MAIN CONTENT STARTS HERE * -.\" ----------------------------------------------------------------- -.SH "NAME" -xdg-mime \- command line tool for querying information about file type handling and adding descriptions for new file types -.SH "SYNOPSIS" -.HP \w'\fBxdg\-mime\fR\ 'u -\fBxdg\-mime\fR query {filetype | default} \&.\&.\&. -.HP \w'\fBxdg\-mime\fR\ 'u -\fBxdg\-mime\fR default \fIapplication\fR \fImimetype(s)\fR -.HP \w'\fBxdg\-mime\fR\ 'u -\fBxdg\-mime\fR install [\fB\-\-mode\ \fR\fB\fImode\fR\fR] [\fB\-\-novendor\fR] \fImimetypes\-file\fR -.HP \w'\fBxdg\-mime\fR\ 'u -\fBxdg\-mime\fR uninstall [\fB\-\-mode\ \fR\fB\fImode\fR\fR] \fImimetypes\-file\fR -.HP \w'\fBxdg\-mime\fR\ 'u -\fBxdg\-mime\fR {\fB\-\-help\fR | \fB\-\-manual\fR | \fB\-\-version\fR} -.SH "DESCRIPTION" -.PP -The xdg\-mime program can be used to query information about file types and to add descriptions for new file types\&. -.SH "COMMANDS" -.PP -query -.RS 4 -Returns information related to file types\&. -.sp -The -\fIquery\fR -option is for use inside a desktop session only\&. It is not recommended to use xdg\-mime query as root\&. -.sp -The following queries are supported: -.sp -query filetype -\fIFILE\fR: Returns the file type of -\fIFILE\fR -in the form of a MIME type\&. -.sp -query default -\fImimetype\fR: Returns the default application that the desktop environment uses for opening files of type -\fImimetype\fR\&. The default application is identified by its *\&.desktop file\&. -.RE -.PP -default -.RS 4 -Ask the desktop environment to make -\fIapplication\fR -the default application for opening files of type -\fImimetype\fR\&. An application can be made the default for several file types by specifying multiple mimetypes\&. -.sp - -\fIapplication\fR -is the desktop file id of the application and has the form vendor\-name\&.desktop -\fIapplication\fR -must already be installed in the desktop menu before it can be made the default handler\&. The aplication\*(Aqs desktop file must list support for all the MIME types that it wishes to be the default handler for\&. -.sp -Requests to make an application a default handler may be subject to system policy or approval by the end\-user\&. xdg\-mime query can be used to verify whether an application is the actual default handler for a specific file type\&. -.sp -The -\fIdefault\fR -option is for use inside a desktop session only\&. It is not recommended to use xdg\-mime default as root\&. -.RE -.PP -install -.RS 4 -Adds the file type descriptions provided in -\fImimetypes\-file\fR -to the desktop environment\&. -\fImimetypes\-file\fR -must be a XML file that follows the freedesktop\&.org Shared MIME\-info Database specification and that has a mime\-info element as its document root\&. For each new file type one or more icons with name -\fItype\fR\-\fIsubtype\fR -must be installed with the -\fBxdg\-icon\-resource\fR -command in the -\fImimetypes\fR -context\&. For example the filetype application/vnd\&.oasis\&.opendocument\&.text requires an icon named application\-vnd\&.oasis\&.opendocument\&.text to be installed (unless the file type recommends another icon name)\&. -.RE -.PP -uninstall -.RS 4 -Removes the file type descriptions provided in -\fImimetypes\-file\fR -and previously added with -\fBxdg\-mime install\fR -from the desktop environment\&. -\fImimetypes\-file\fR -must be a XML file that follows the freedesktop\&.org Shared MIME\-info Database specification and that has a mime\-info element as its document root\&. -.RE -.SH "OPTIONS" -.PP -\fB\-\-mode\fR \fImode\fR -.RS 4 -\fImode\fR -can be -\fIuser\fR -or -\fIsystem\fR\&. In user mode the file is (un)installed for the current user only\&. In system mode the file is (un)installed for all users on the system\&. Usually only root is allowed to install in system mode\&. -.sp -The default is to use system mode when called by root and to use user mode when called by a non\-root user\&. -.RE -.PP -\fB\-\-novendor\fR -.RS 4 -Normally, xdg\-mime checks to ensure that the -\fImimetypes\-file\fR -to be installed has a proper vendor prefix\&. This option can be used to disable that check\&. -.sp -A vendor prefix consists of alpha characters ([a\-zA\-Z]) and is terminated with a dash ("\-")\&. Companies and organizations are encouraged to use a word or phrase, preferably the organizations name, for which they hold a trademark as their vendor prefix\&. The purpose of the vendor prefix is to prevent name conflicts\&. -.RE -.PP -\fB\-\-help\fR -.RS 4 -Show command synopsis\&. -.RE -.PP -\fB\-\-manual\fR -.RS 4 -Show this manualpage\&. -.RE -.PP -\fB\-\-version\fR -.RS 4 -Show the xdg\-utils version information\&. -.RE -.SH "ENVIRONMENT VARIABLES" -.PP -xdg\-mime honours the following environment variables: -.PP -XDG_UTILS_DEBUG_LEVEL -.RS 4 -Setting this environment variable to a non\-zero numerical value makes xdg\-mime do more verbose reporting on stderr\&. Setting a higher value increases the verbosity\&. -.RE -.PP -XDG_UTILS_INSTALL_MODE -.RS 4 -This environment variable can be used by the user or administrator to override the installation mode\&. Valid values are -\fIuser\fR -and -\fIsystem\fR\&. -.RE -.SH "EXIT CODES" -.PP -An exit code of 0 indicates success while a non\-zero exit code indicates failure\&. The following failure codes can be returned: -.PP -\fB1\fR -.RS 4 -Error in command line syntax\&. -.RE -.PP -\fB2\fR -.RS 4 -One of the files passed on the command line did not exist\&. -.RE -.PP -\fB3\fR -.RS 4 -A required tool could not be found\&. -.RE -.PP -\fB4\fR -.RS 4 -The action failed\&. -.RE -.PP -\fB5\fR -.RS 4 -No permission to read one of the files passed on the command line\&. -.RE -.SH "SEE ALSO" -.PP -\fBxdg-icon-resource\fR(1), -\fBxdg-desktop-menu\fR(1) -.SH "EXAMPLES" -.PP - -.sp -.if n \{\ -.RS 4 -.\} -.nf -xdg\-mime query filetype /tmp/foobar\&.png -.fi -.if n \{\ -.RE -.\} -.sp -Prints the MIME type of the file /tmp/foobar\&.png, in this case image/png -.PP - -.sp -.if n \{\ -.RS 4 -.\} -.nf -xdg\-mime query default image/png -.fi -.if n \{\ -.RE -.\} -.sp -Prints the \&.desktop filename of the application which is registered to open PNG files\&. -.PP - -.sp -.if n \{\ -.RS 4 -.\} -.nf -xdg\-mime install shinythings\-shiny\&.xml -.fi -.if n \{\ -.RE -.\} -.sp -Adds a file type description for "shiny"\-files\&. "shinythings\-" is used as the vendor prefix\&. The file type description could look as folows\&. -.sp -.if n \{\ -.RS 4 -.\} -.nf -shinythings\-shiny\&.xml: - - - - - Shiny new file type - - - - -.fi -.if n \{\ -.RE -.\} -.sp -An icon for this new file type must also be installed, for example with: -.sp -.if n \{\ -.RS 4 -.\} -.nf -xdg\-icon\-resource install \-\-context mimetypes \-\-size 64 shiny\-file\-icon\&.png text\-x\-shiny -.fi -.if n \{\ -.RE -.\} -.sp -.SH "AUTHORS" -.PP -\fBKevin Krammer\fR -.RS 4 -Author. -.RE -.PP -\fBJeremy White\fR -.RS 4 -Author. -.RE -.SH "COPYRIGHT" -.br -Copyright \(co 2006 -.br diff --git a/scripts/man/xdg-open.1 b/scripts/man/xdg-open.1 deleted file mode 100644 index 984c58c..0000000 --- a/scripts/man/xdg-open.1 +++ /dev/null @@ -1,124 +0,0 @@ -'\" t -.\" Title: xdg-open -.\" Author: Kevin Krammer -.\" Generator: DocBook XSL Stylesheets v1.75.2 -.\" Date: 12/31/2010 -.\" Manual: xdg-open Manual -.\" Source: xdg-utils 1.0 -.\" Language: English -.\" -.TH "XDG\-OPEN" "1" "12/31/2010" "xdg-utils 1.0" "xdg-open Manual" -.\" ----------------------------------------------------------------- -.\" * Define some portability stuff -.\" ----------------------------------------------------------------- -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.\" http://bugs.debian.org/507673 -.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.\" ----------------------------------------------------------------- -.\" * set default formatting -.\" ----------------------------------------------------------------- -.\" disable hyphenation -.nh -.\" disable justification (adjust text to left margin only) -.ad l -.\" ----------------------------------------------------------------- -.\" * MAIN CONTENT STARTS HERE * -.\" ----------------------------------------------------------------- -.SH "NAME" -xdg-open \- opens a file or URL in the user\*(Aqs preferred application -.SH "SYNOPSIS" -.HP \w'\fBxdg\-open\fR\ 'u -\fBxdg\-open\fR {\fB\fIfile\fR\fR | \fB\fIURL\fR\fR} -.HP \w'\fBxdg\-open\fR\ 'u -\fBxdg\-open\fR {\fB\-\-help\fR | \fB\-\-manual\fR | \fB\-\-version\fR} -.SH "DESCRIPTION" -.PP -xdg\-open opens a file or URL in the user\*(Aqs preferred application\&. If a URL is provided the URL will be opened in the user\*(Aqs preferred web browser\&. If a file is provided the file will be opened in the preferred application for files of that type\&. xdg\-open supports file, ftp, http and https URLs\&. -.PP -xdg\-open is for use inside a desktop session only\&. It is not recommended to use xdg\-open as root\&. -.SH "OPTIONS" -.PP -\fB\-\-help\fR -.RS 4 -Show command synopsis\&. -.RE -.PP -\fB\-\-manual\fR -.RS 4 -Show this manualpage\&. -.RE -.PP -\fB\-\-version\fR -.RS 4 -Show the xdg\-utils version information\&. -.RE -.SH "EXIT CODES" -.PP -An exit code of 0 indicates success while a non\-zero exit code indicates failure\&. The following failure codes can be returned: -.PP -\fB1\fR -.RS 4 -Error in command line syntax\&. -.RE -.PP -\fB2\fR -.RS 4 -One of the files passed on the command line did not exist\&. -.RE -.PP -\fB3\fR -.RS 4 -A required tool could not be found\&. -.RE -.PP -\fB4\fR -.RS 4 -The action failed\&. -.RE -.SH "EXAMPLES" -.PP - -.sp -.if n \{\ -.RS 4 -.\} -.nf -xdg\-open \*(Aqhttp://www\&.freedesktop\&.org/\*(Aq -.fi -.if n \{\ -.RE -.\} -.sp -Opens the Freedesktop\&.org website in the user\*(Aqs default browser -.PP - -.sp -.if n \{\ -.RS 4 -.\} -.nf -xdg\-open /tmp/foobar\&.png -.fi -.if n \{\ -.RE -.\} -.sp -Opens the PNG image file /tmp/foobar\&.png in the user\*(Aqs default image viewing application\&. -.SH "AUTHORS" -.PP -\fBKevin Krammer\fR -.RS 4 -Author. -.RE -.PP -\fBJeremy White\fR -.RS 4 -Author. -.RE -.SH "COPYRIGHT" -.br -Copyright \(co 2006 -.br diff --git a/scripts/man/xdg-screensaver.1 b/scripts/man/xdg-screensaver.1 deleted file mode 100644 index dc68409..0000000 --- a/scripts/man/xdg-screensaver.1 +++ /dev/null @@ -1,154 +0,0 @@ -'\" t -.\" Title: xdg-screensaver -.\" Author: Bryce Harrington -.\" Generator: DocBook XSL Stylesheets v1.75.2 -.\" Date: 12/31/2010 -.\" Manual: xdg-screensaver Manual -.\" Source: xdg-utils 1.0 -.\" Language: English -.\" -.TH "XDG\-SCREENSAVER" "1" "12/31/2010" "xdg-utils 1.0" "xdg-screensaver Manual" -.\" ----------------------------------------------------------------- -.\" * Define some portability stuff -.\" ----------------------------------------------------------------- -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.\" http://bugs.debian.org/507673 -.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.\" ----------------------------------------------------------------- -.\" * set default formatting -.\" ----------------------------------------------------------------- -.\" disable hyphenation -.nh -.\" disable justification (adjust text to left margin only) -.ad l -.\" ----------------------------------------------------------------- -.\" * MAIN CONTENT STARTS HERE * -.\" ----------------------------------------------------------------- -.SH "NAME" -xdg-screensaver \- command line tool for controlling the screensaver -.SH "SYNOPSIS" -.HP \w'\fBxdg\-screensaver\fR\ 'u -\fBxdg\-screensaver\fR \fBsuspend\ \fR\fB\fIWindowID\fR\fR -.HP \w'\fBxdg\-screensaver\fR\ 'u -\fBxdg\-screensaver\fR \fBresume\ \fR\fB\fIWindowID\fR\fR -.HP \w'\fBxdg\-screensaver\fR\ 'u -\fBxdg\-screensaver\fR {\fBactivate\fR | \fBlock\fR | \fBreset\fR | \fBstatus\fR} -.HP \w'\fBxdg\-screensaver\fR\ 'u -\fBxdg\-screensaver\fR {\fB\-\-help\fR | \fB\-\-manual\fR | \fB\-\-version\fR} -.SH "DESCRIPTION" -.PP -xdg\-screensaver provides commands to control the screensaver\&. -.PP -xdg\-screensaver is for use inside a desktop session only\&. It is not recommended to use xdg\-screensaver as root\&. -.SH "COMMANDS" -.PP -\fBsuspend \fR\fB\fIWindowID\fR\fR -.RS 4 -Suspends the screensaver and monitor power management\&. -\fIWindowID\fR -must be the X Window ID of an existing window of the calling application\&. The window must remain in existance for the duration of the suspension\&. -.sp -WindowID can be represented as either a decimal number or as a hexadecimal number consisting of the prefix -\fI0x\fR -followed by one or more hexadecimal digits\&. -.sp -The screensaver can be suspended in relation to multiple windows at the same time\&. In that case screensaver operation is only restored once the screensaver has been resumed in relation to each of the windows -.RE -.PP -\fBresume \fR\fB\fIWindowID\fR\fR -.RS 4 -Resume the screensaver and monitor power management after being suspended\&. -\fIWindowID\fR -must be the same X Window ID that was passed to a previous call of -\fBxdg\-screensaver suspend\fR -.RE -.PP -\fBactivate\fR -.RS 4 -Turns the screensaver on immediately\&. This may result in the screen getting locked, depending on existing system policies\&. -.RE -.PP -\fBlock\fR -.RS 4 -Lock the screen immediately\&. -.RE -.PP -\fBreset\fR -.RS 4 -Turns the screensaver off immediately\&. If the screen was locked the user may be asked to authenticate first\&. -.RE -.PP -\fBstatus\fR -.RS 4 -Prints -\fIenabled\fR -to stdout if the screensaver is enabled to turn on after a period of inactivity and prints -\fIdisabled\fR -if the screensaver is not enabled\&. -.RE -.SH "OPTIONS" -.PP -\fB\-\-help\fR -.RS 4 -Show command synopsis\&. -.RE -.PP -\fB\-\-manual\fR -.RS 4 -Show this manualpage\&. -.RE -.PP -\fB\-\-version\fR -.RS 4 -Show the xdg\-utils version information\&. -.RE -.SH "EXIT CODES" -.PP -An exit code of 0 indicates success while a non\-zero exit code indicates failure\&. The following failure codes can be returned: -.PP -\fB1\fR -.RS 4 -Error in command line syntax\&. -.RE -.PP -\fB3\fR -.RS 4 -A required tool could not be found\&. -.RE -.PP -\fB4\fR -.RS 4 -The action failed\&. -.RE -.SH "EXAMPLES" -.PP - -.sp -.if n \{\ -.RS 4 -.\} -.nf -xdg\-screensaver suspend 0x1c00007 -.fi -.if n \{\ -.RE -.\} -.sp -Causes the screensaver to be disabled till -\fBxdg\-screensaver resume 0x1c00007\fR -is called\&. -\fI0x1c00007\fR -must be the X Window ID of an existing window\&. -.SH "AUTHOR" -.PP -\fBBryce Harrington\fR -.RS 4 -Author. -.RE -.SH "COPYRIGHT" -.br -Copyright \(co 2006 -.br diff --git a/scripts/man/xdg-settings.1 b/scripts/man/xdg-settings.1 deleted file mode 100644 index d02fa2b..0000000 --- a/scripts/man/xdg-settings.1 +++ /dev/null @@ -1,154 +0,0 @@ -'\" t -.\" Title: xdg-settings -.\" Author: Mike Mammarella -.\" Generator: DocBook XSL Stylesheets v1.75.2 -.\" Date: 07/20/2011 -.\" Manual: xdg-settings Manual -.\" Source: [FIXME: source] -.\" Language: English -.\" -.TH "XDG\-SETTINGS" "1" "07/20/2011" "[FIXME: source]" "xdg-settings Manual" -.\" ----------------------------------------------------------------- -.\" * Define some portability stuff -.\" ----------------------------------------------------------------- -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.\" http://bugs.debian.org/507673 -.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.\" ----------------------------------------------------------------- -.\" * set default formatting -.\" ----------------------------------------------------------------- -.\" disable hyphenation -.nh -.\" disable justification (adjust text to left margin only) -.ad l -.\" ----------------------------------------------------------------- -.\" * MAIN CONTENT STARTS HERE * -.\" ----------------------------------------------------------------- -.SH "NAME" -xdg-settings \- get various settings from the desktop environment -.SH "SYNOPSIS" -.HP \w'\fBxdg\-settings\fR\ 'u -\fBxdg\-settings\fR {\fB\fIget\fR\fR | \fB\fIcheck\fR\fR | \fB\fIset\fR\fR} {\fBproperty\fR} [\fBsubproperty\fR] [\fBvalue\fR] -.HP \w'\fBxdg\-settings\fR\ 'u -\fBxdg\-settings\fR {\fB\-\-help\fR | \fB\-\-list\fR | \fB\-\-manual\fR | \fB\-\-version\fR} -.SH "DESCRIPTION" -.PP -xdg\-settings gets various settings from the desktop environment\&. For instance, desktop environments often provide proxy configuration and default web browser settings\&. Using xdg\-settings these parameters can be extracted for use by applications that do not use the desktop environment\*(Aqs libraries (which would use the settings natively)\&. -.PP -xdg\-settings is for use inside a desktop session only\&. It is not recommended to use xdg\-settings as root\&. -.SH "OPTIONS" -.PP -\fB\-\-help\fR -.RS 4 -Show command synopsis\&. -.RE -.PP -\fB\-\-list\fR -.RS 4 -List all properties xdg\-settings knows about\&. -.RE -.PP -\fB\-\-manual\fR -.RS 4 -Show this manualpage\&. -.RE -.PP -\fB\-\-version\fR -.RS 4 -Show the xdg\-utils version information\&. -.RE -.SH "PROPERTIES" -.PP -When using xdg\-settings to get, check or set a destkop setting, properties and possibly sub\-properties are used to specify the setting to be changed\&. -.PP -Some properties (such as default\-web\-browser) fully describe the setting to be changed\&. Other properties (such as default\-url\-scheme\-handler) require more information (in this case the actual scheme to set the default handler for) which must be provided in a sub\-property\&. -.SH "EXIT CODES" -.PP -An exit code of 0 indicates success while a non\-zero exit code indicates failure\&. The following failure codes can be returned: -.PP -\fB1\fR -.RS 4 -Error in command line syntax\&. -.RE -.PP -\fB2\fR -.RS 4 -One of the files passed on the command line did not exist\&. -.RE -.PP -\fB3\fR -.RS 4 -A required tool could not be found\&. -.RE -.PP -\fB4\fR -.RS 4 -The action failed\&. -.RE -.SH "EXAMPLES" -.PP -Get the desktop file name of the current default web browser -.sp -.if n \{\ -.RS 4 -.\} -.nf - xdg\-settings get default\-web\-browser - -.fi -.if n \{\ -.RE -.\} -.PP -Check whether the default web browser is firefox\&.desktop, which can be false even if "get default\-web\-browser" says that is the current value (if only some of the underlying settings actually reflect that value) -.sp -.if n \{\ -.RS 4 -.\} -.nf - xdg\-settings check default\-web\-browser firefox\&.desktop - -.fi -.if n \{\ -.RE -.\} -.PP -Set the default web browser to google\-chrome\&.desktop -.sp -.if n \{\ -.RS 4 -.\} -.nf - xdg\-settings set default\-web\-browser google\-chrome\&.desktop - -.fi -.if n \{\ -.RE -.\} -.PP -Set the default mailto URL scheme handler to be evolution\&.desktop -.sp -.if n \{\ -.RS 4 -.\} -.nf - xdg\-settings set default\-url\-scheme\-handler mailto evolution\&.desktop - -.fi -.if n \{\ -.RE -.\} -.sp -.SH "AUTHOR" -.PP -\fBMike Mammarella\fR -.RS 4 -Author. -.RE -.SH "COPYRIGHT" -.br -Copyright \(co 2009-2011 -.br -- 2.1.0