Linux Standard Base Trial Use Specification 3.2 | ||
---|---|---|
<<< Previous | Chapter 7. Trial Use Module | Next >>> |
Xdg-utils is a set of command line utilities that assist applications with a variety of desktop integration tasks. Some of the utilities focus on tasks commonly required during the installation of a desktop application. The remainder focus on integration with the desktop environment while the application is running.
These utilities operate as described at xdg-utils reference
An LSB conforming implementation shall provide the commands and utilities as described in Table 7-1, with at least the behavior described as mandatory in the referenced underlying specification, with the following exceptions:
If any operand (except one which follows --
) starts with a
hyphen, the behavior is unspecified.
Rationale (Informative): Applications should place options before operands, or use
--
, as needed. This text is needed because, by default, GNU option parsing differs from POSIX, unless the environment variablePOSIXLY_CORRECT
is set. For example, ls . -a in GNU ls means to list the current directory, showing all files (that is,"."
is an operand and-a
is an option). In POSIX,"."
and-a
are both operands, and the command means to list the current directory, and also the file named -a. Suggesting that applications rely on the setting of thePOSIXLY_CORRECT
environment variable, or try to set it, seems worse than just asking the applications to invoke commands in ways which work with either the POSIX or GNU behaviors.
Table 7-1. Commands And Utilities
xdg-desktop-icon [1] | xdg-email [1] | xdg-mime [1] | xdg-screensaver [1] | |
xdg-desktop-menu [1] | xdg-icon-resource [1] | xdg-open [1] |
Referenced Specification(s)
[1]. xdg-utils reference
<<< Previous | Home | Next >>> |
Trial Use Module | Up | GNU Free Documentation License (Informative) |