DTIMSSTART(1)
okay so bestie π this is the dtimsstart(user cmd) page, and itβs literally all about launching an input method server. Itβs giving startup logistics but make it cute. β¨
π NAME π
dtimsstart β launches an input method server. Thatβs the whole name section, and it ate. π
β¨ SYNOPSIS β¨
dtimsstart [-env] [-ims name] [-shell name] [-host hostname]
[-imsopt options] [-list]
πΈ DESCRIPTION πΈ
The dtimsstart command launches an IMS (Input Method Server). Iconic behavior. dtimsstart is normally invoked automatically at Xsession startup (user login) by the script /nix/store/6waxpwr8lzfzc9ka48gl7yh60rqvlkdb-cde-2.5.3/config/Xsession.d/0020.dtims.
Depending on the currently selected locale, environment variables, configuration files, and command-line options, dtimsstart displays a selection window from which you can select the IMS you want to use. Once you select the IMS, dtimsstart starts it and waits until the IMS completes its startup. This is to ensure that applications wishing to connect to the IMS can do so. dtimsstart then sets the XMODIFIERS environment variable to ensure that clients can connect to the selected IMS. Finally, dtimsstart exits. Clean, efficient, no notes. π«Ά
Once you select an IMS from the selection window, dtimsstart saves the selection in the IMS Selection File. To have dtimsstart automatically start the previously selected IMS, set the IMS Selection Mode to resume-current-input-method. You access the IMS Selection Mode by executing the DtImsMode action located in Desktop_Tools in the Application Manager. iykyk.
For IMS Selection Mode, you can choose:
ask-at-loginβ Instructsdtimsstartto display the selection window and prompt you for an IMS each time it is invoked.resume-current-input-methodβ Instructsdtimsstartto automatically start the last selected IMS by using the saved IMS Selection File and without displaying the selection window.
π¦ Remote Execution of IMS π¦
If you use the -host option to have dtimsstart start an IMS on a remote host, dtimsstart does the following:
- Executes the
DtImsGetRemoteConfaction to retrieve IMS configuration data from the specified remote system. - Lists the IMSs registered on the remote system in the selection window.
- Executes the
DtImsRunRemoteImsaction to start the selected IMS on the remote system.
For more information on configuring remote execution, refer to the Common Desktop Environment: Advanced User's and System Administrator's Guide. slay. π
π OPTIONS π
The following options are available:
-envβ Outputs the contents of theXMODIFIERSenvironment variable to stdout.dtimsstartautomatically updates this variable to reflect the currently selected IMS. Use this option to verify that the intended IMS is the one that is being started. If you omit this option, no output occurs. no output, no drama.-ims nameβ The name of the IMS to be started. If you specify this option,dtimsstartstarts the IMS without displaying the selection window. If you omit this option,dtimsstartdisplays the selection window. choose your fighter.-shell nameβ The output format to use for output if-envis specified. If you omit this option,dtimsstartuses the value of$SHELLas the default.-host hostnameβ The name of the host on which the IMS is to run. If you omit this option,dtimsstartuses the local host as the default.-imsopt optionsβ The command line options for the selected IMS.-listβ Instructsdtimsstartto output the names of input methods registered on the system and then exit immediately. speedrun. β‘
π₯ EXIT STATUS π₯
0β The IMS was started successfully. periodt.1β Execution failed for one of the following reasons:- The started IMS did not complete its initialization within the timeout period.
- The started IMS process aborted.
- The IMS specified by the
-imsoption is not registered.
2β A syntax error was found.
π ENVIRONMENT VARIABLES π
dtimsstart references the following environment variables:
HOMEβ The home directory.LANGβ The locale.DISPLAYβ The type of display on which IMS is to be run.
It sets the XMODIFIERS variable to the name of the selected IMS to support application and client connections. connections secured. π
π ACTIONS/MESSAGES π
The following actions relevant to dtimsstart are defined in the dtims.dt file.
DtImsModeβ Change the IM Selection Mode. This action is located at Desktop_Tools in the Application Manager.DtImsGetRemoteConfβ Retrieve IMS configuration data on a remote system (used internally bydtimsstart).DtImsRunRemoteImsβ Run an IMS on a remote system (used internally bydtimsstart).
π ERRORS/WARNINGS π
dtimsstart can output the following error messages to stderr:
invalid option `string'β Correct the indicated option string.environment variable `HOME' not definedβ Make sure thatHOMEis set properly.environment variable `LANG' not definedβ Make sure thatLANGis set properly.environment variable `DISPLAY' not definedβ Make sure thatDISPLAYis set properly.cannot open display βdisplay_nameβ" 10β Make sure thatDISPLAYis set to the correct value.
dtimsstart can display the following error messages in an error dialog box:
cannot open file [/nix/store/6waxpwr8lzfzc9ka48gl7yh60rqvlkdb-cde-2.5.3/config/ims/start.conf ]β This is an installation error. Re-install the package.cannot create file [file_path]β Make sure the file and its parent directory have write permission.cannot create directory [$HOME/.dt/ims]β Make sure the parent directory has write permission.missing `entry_name' entry in configuration file [file_path]" 10β Correct the indicated entry in the indicated file.another `dtimsstart' is already runningβ Terminate the already runningdtimsstartand then restart.cannot create selection file [file_path]β Make sure the indicated file has write permission.no ims configuration file for `ims_name'β The indicated IMS is registered in the locale configuration file, but its IMS configuration file does not exist.ims `ims_name' not registeredβ The indicated IMS name is not registered in the locale configuration file.no executable file for `ims_name' [file_path]" 10β The indicated IMS executable does not exist.ims `ims_name' is already runningβ The indicated IMS is already running on the display.cannot execute ims `ims_name'β Theforkcall failed. The errno is shown in the log file,$HOME/.dt/ims/imslog.ims `ims_name' abortedβ The IMS process aborted. Refer to the log file,$HOME/.dt/ims/imslog, for details.ims `ims_name' is not available yetβ The indicated IMS was not available within the 3-minute timeout period.unknown host `host_name'β The network address of the indicated host cannot be found.no ims registered on `host_name'β No IMS is registered on the indicated host for the current locale.ims `ims_name' not registered on `host_name'" 10β The indicated IMS is not registered on the indicated host.
Note that other error messages can be generated byDtActionInvokeor variousXtfunctions. These messages are self-explanatory. not me reading error logs for fun. π
ποΈ FILES ποΈ
okay so here's the file lore, bestie β every single path matters, no skimming π
/nix/store/6waxpwr8lzfzc9ka48gl7yh60rqvlkdb-cde-2.5.3/bin/dtimsstartβ thedtimsstartexecutable, main character energy π/nix/store/6waxpwr8lzfzc9ka48gl7yh60rqvlkdb-cde-2.5.3/app-defaults/&<locale_name>/Dtimsstartβdtimsstartresource file/nix/store/6waxpwr8lzfzc9ka48gl7yh60rqvlkdb-cde-2.5.3/appconfig/types/&<locale_name>/dtims.dtβ action definition file/nix/store/6waxpwr8lzfzc9ka48gl7yh60rqvlkdb-cde-2.5.3/appconfig/appmanager/&<locale_name>/Desktop_Tools/DtImsModeβ action files forDtImsMode/nix/store/6waxpwr8lzfzc9ka48gl7yh60rqvlkdb-cde-2.5.3/lib/nls/msg/&<locale_name>/dtimsstart.catβ message catalog file/nix/store/6waxpwr8lzfzc9ka48gl7yh60rqvlkdb-cde-2.5.3/config/Xsession.d/:0020.dtimsβ Xsession.d script file/nix/store/6waxpwr8lzfzc9ka48gl7yh60rqvlkdb-cde-2.5.3/config/ims/start.confβdtimsstartconfiguration file/nix/store/6waxpwr8lzfzc9ka48gl7yh60rqvlkdb-cde-2.5.3/config/ims/&<locale_name>β locale entry files/nix/store/6waxpwr8lzfzc9ka48gl7yh60rqvlkdb-cde-2.5.3/config/ims/&<ims_name>β IMS entry files$HOME/.dt/ims/&<locale_name>β IMS selection file$HOME/.dt/ims/&<display_name>/&<locale_name>β display-specific IMS selection file$HOME/.dt/ims/imslogβdtimsstartlog file
π Resource Files
dtimsstart searches a proper resource file in the following order and loads the first file successfully opened. The way that first-success thing works is very demure, very mindful β¨
$HOME/.dt/&<display-name>/current/dt.resources$HOME/.dt/&<display-name>/home/dt.resources$HOME/.dt/sessions/current/dt.resources$HOME/.dt/sessions/home/dt.resources/nix/store/6waxpwr8lzfzc9ka48gl7yh60rqvlkdb-cde-2.5.3/config/&<locale-name>/sys.resources/nix/store/6waxpwr8lzfzc9ka48gl7yh60rqvlkdb-cde-2.5.3/config/C/sys.resources
π§ Configuration Files
dtimsstart refers to the following configuration files:
- Locale Entry file
- IMS configuration file
- IMS Selection file
The location and format for each configuration file is listed below. buckle up, it's giving config deep-dive π«Ά
π Locale Entry File
This file lists the IMSs that support the locale. Its location is /nix/store/6waxpwr8lzfzc9ka48gl7yh60rqvlkdb-cde-2.5.3/config/ims/&<locale_name>. The format is:
@Default: ims_name
ims_name: label_string
For example:
/nix/store/6waxpwr8lzfzc9ka48gl7yh60rqvlkdb-cde-2.5.3/config/ims/ja_JP.SJIS
@Default: xjim
xjim: HP XJIM
atok8: ATOK8
vje: VJE-gamma
egbridge: EGBridge
none: No Input Method
π¦ IMS Entry File
This file describes the attributes of an IMS. Its location is /nix/store/6waxpwr8lzfzc9ka48gl7yh60rqvlkdb-cde-2.5.3/config/ims/&<ims_name>. The format is:
attribute_name: attribute_value
The IMS attributes are:
protocolsβ a required String that lists the supported protocols. The supported XIM protocols areXIM,Ximp, andXsi.server_nameβ a required String that identifies the IMS name (used to update theXMODIFIERSenvironment variable).cmd_pathβ a required Path type that specifies the absolute path of the executable file for the identified IMS server. A built-in keyword is used for the local IM built-in Xlib, which does not need a separate process.cmd_paramβ a String that specifies the command line option(s) for the IMS server.env_setβ a String that identifies the environment variables to be set, excludingXMODIFIERS.env_unsetβ a String that identifies environment variables to be unset, excludingXMODIFIERS.env_passβ a String that identifies the environment variables to be passed to a remotely executing IMS, excludingLANG,DISPLAY, andXMODIFIERS.has_windowβ a Bool indicating whether the IMS has its own main window appearance or not. The default isFalse.no_serverβ a Bool indicating whetherdtimsstartshould start the IMS or not. It should beTruefor the local IM, since it doesn't require any server process started bydtimsstart. The default isFalse.no_remoteβ a Bool indicating whether the IMS allows remote execution or not. The default isFalse.no_optionβ a Bool indicating whether the IMS allows the command-line option or not. IfTrue, any options specified by-imsoptare ignored, though the value of thecmd_paramentry is always applied regardless of this value. It should beTruefor the local IMS. The default isFalse.
Note: For entries that accept multiple values, the values are separated by white space(s). If multiple entries of the same name appear in the file, only the last entry is used.
For example:
/nix/store/6waxpwr8lzfzc9ka48gl7yh60rqvlkdb-cde-2.5.3/config/ims/xjim
protocols: XIM Ximp
server_name: xjim
cmd_path: /usr/bin/X11/xjim
cmd_param: -iconic
env_set:
env_unset:
env_pass:
has_window: true
π IMS Selection File
This file saves the most recently selected IMS for each locale. Its location is $HOME/.dt/ims/[&<display_name>/]&<locale_name>. The format is:
entry_name: entry_value
The selection file entries are:Caret β yes, that's literally what the source says, so we're keeping it because details are sacred π
@SelectModeβ the most recently set IMS Selection Mode. Valid values are0(zero) (for ask-at-login) and1(for resume-current-input-method ).@ImsNameβ the name of the most recently selected IMS.@HostNameβ the name of the host on which the IMS runs.
For example:
$HOME/.dt/ims/ja_JP.SJIS
@SelectMode: 1
@ImsName: atok8
@HostName: host-A
π EXAMPLE π
The command to execute dtimsstart in the /nix/store/6waxpwr8lzfzc9ka48gl7yh60rqvlkdb-cde-2.5.3/config/Xsession.d/0020.dtims script is as follows:
eval ` /nix/store/6waxpwr8lzfzc9ka48gl7yh60rqvlkdb-cde-2.5.3/bin/dtimsstart -env -shell ksh `
π SEE ALSO π
TO BE SUPPLIED β that's the whole section, bestie, not me being lazy π
okay that's the page! signing off from source/version cde-2.5.3 with dtimsstart(user cmd) footer energy; the supplied footer doesn't show a date, so no invented date from me, no cap π«Άπ
π¦ 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