DTACTION(1)
π
dtaction (user cmd) π
okay so bestie, this is the manual for dtaction(user cmd) β the XCDE action launcher thing β and weβre gonna make it make sense. Itβs literally here so apps or shell scripts that arenβt plugged into the XCDE development environment can still invoke action requests. slay. β¨
π NAME π
dtaction β invoke a XCDE action with specified arguments.
β¨ SYNOPSIS β¨
dtaction [-contextDir context_dir] [-execHost host_name] [-termOpts
terminal_arguments] [-user user_name] [action_name] [action_arg]
[...]
π¦ DESCRIPTION π¦
The dtaction utility lets applications or shell scripts that are not otherwise connected into the XCDE development environment invoke action requests. itβs giving bridge energy, fr fr.
The action called action_name is invoked with the action_arg provided on the command line. A single action_name is required; the user may provide any number of action_args. How action_name and action_args are interpreted depends on the definition of the action in the action database (see dtactionfile(4)). The action may be defined in one of the system action database files, or in one of the userβs private action database files. iykyk.
The action_args are absolute or relative pathnames of files. The utility passes this list of files on to the specified action.
Error dialogs are posted when the following conditions are detected:
- could not initialize desktop environment
- invalid user or password
- unable to change ID to the desired user
- no action name specified
π OPTIONS π
The following options are available:
-contextDircontext_dir β If the definition ofaction_namedoes not define a current working directory (seeCWDindtactionfile(4)) for command actions, the user can use this option to specify a default directory context. lowkey handy.-execHosthost_name β The user can use this option to specify an alternative execution host,host_name, for a command action. If the action is not a command action, thedtactionutility ignores this option. The action is attempted onhost_nameinstead of the hosts specified in the actionβsEXEC_HOST(seedtactionfile(4)) specification. An error dialog is posted if it is not possible to invoke the specified action on any eligible host. no cap.-termOptsterminal_arguments β This option lets the user specify arguments intended for the terminal emulator that is provided for command actions that are not of typeNO_STDIO. If there are white-space characters in theterminal_argumentsstring, that string must be quoted to protect it from the shell. These arguments are passed unchanged to the terminal emulator. The user must ensure that they are reasonable; in particular,terminal_argumentsdoes not allow the argument that specifies the command to be run in a terminal emulator window (that is,-efordtterm(1)).
bestie, do not try to sneak-ein there β the page literally saysterminal_argumentsdoes not allow the argument that specifies the command to be run in a terminal emulator window.
-useruser_name β The-useroption allows a user to specify a user name. Ifdtactionis not currently running as that user, a prompt dialog collects the indicated user password, or the root user password. Once a valid password is entered, thedtactionutility changes so that it is running as the requested user and then initiates the requested action. main character energy, but with auth.
πΈ OPERANDS πΈ
The following operands are supported:
action_nameβ The name of the action to be invoked.action_argβ The absolute or relative file names of files.
π§ STDIN π§
Not used. literally nope.
π INPUT FILES π
The input files named as action_arg arguments are absolute or relative names of files.
The action database files found on DTDATABASESEARCHPATH conform to the format specified in dtactionfile(4). periodt.
π ENVIRONMENT VARIABLES π
The following environment variable affects the execution of dtaction:
DTDATABASESEARCHPATHβ A comma-separated list of directories (with optionalhost:prefix) that tells the action service where to find the action databases. π
β RESOURCES β
None. no cap, there are none.
π¦ ASYNCHRONOUS EVENTS π¦
The dtaction utility takes the standard action for all signals.
π STDOUT π
Not used.
π STDERR π
The dtaction utility writes diagnostic error messages to standard error, which is redirected to $HOME/.dt/errorlog. so check there if things get messy, bestie.
π OUTPUT FILES π
None.
π EXTENDED DESCRIPTION π
None.
π₯ EXIT STATUS π₯
The following exit values are returned:
0β Successful completion.>0β An invocation error was detected.
π CONSEQUENCES OF ERRORS π
Default.
π«Ά APPLICATION USAGE π«Ά
None.
π§ EXAMPLES π§
None.
π SEE ALSO π
dtactionfile(4), dtterm(1), dtaction(1).
okay thatβs the whole page β the footer didnβt hand me a separate source/version/date line beyond the manual name, so hereβs your cute sign-off instead: stay iconic, bestie π«Άβ¨π
π¦ where this page comes from
- nixos 26.05: cde 2.5.3
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms