mime getApplicationInfo [application-ID] [-option]
mime getApplicationInfo [application-ID] [-option value...]
In its first form the command returns information about the application with this ID. The option determine which information are retrieved.
In its second form the value of a given option must be the name of a global variable in which the corresponding information is stored. In this case the empty string is returned.
Examples:
getApplicationInfo gimp-2.0 -canOpenMultipleFilesreturns whether the gimp-2.0 can open multiple files.
getApplicationInfo gimp-2.0 -canOpenMultipleFiles multiFiles -requiresTerminal terminalreturns the empty string. The value of the global variable
multiFiles
is a boolean whether gimp-2.0
can open multiple files and the value of the variable
terminal
is a boolean whether it requires a
terminal.
Options
type: string
Return whether the application can open multiple files.
type: string
Return the string to start the application.
type: string
Return whether the application expects URIs instead of normal path names.
type: string
Return the name of the application.
type: string
Return whether the application requires a terminal.
type: string
Return a list of supported URI schemes.
mime getApplicationList [mime-type] [-option value...]
Return a list of IDs of applications, which are able to handle this MIME type.
Options
type: boolean (default: false)
Return all applications instead of the preferred ones.
mime getMimeInfo [mime-type] [-option value...]
Return information about a MIME type. Options determine which information are retrieved. See getApplicationInfo for a detailed explanation.
Options
type: string
Return whether this MIME type can be executable.
type: string
Return "Application", "Component" or "None" depending on the default action for this MIME type.
type: string
Return the application ID of the default application.
type: string
Return a description of this MIME type.
type: string
Return the default icon of this MIME type.
mime launch [application-ID] [URI-list]
Launch the given application with the files given in the URI-list.