DTENVVAR(5)
π dtenvvar β CDE environment variables π
(manual page: dtenvvar(file formats) β yes bestie, that's the section, file formats, we love a format moment)
β¨ NAME β¨
dtenvvar β the CDE environment variables, like, all of them, the whole roster π
π DESCRIPTION π
Okay so here's the vibe: the CDE desktop sets up and uses a whole bunch of environment variables to find certain files and do certain things. Components that are tied into CDE then use these environment variables to locate specific types of files. It's giving ecosystem. It's giving teamwork. π«Ά
Environment variables used within the CDE desktop are:
CEPATHβ used by ToolTalk when it's in Classing Engine mode, where it tells the Classing Engine where to find the databases. Checkttsession(1)andtt_type_comp(1)for more info πCOLUMNSβ set by the terminal emulator. Seedtterm(1)for more.DISPLAYβ gets set to the associated display name. Peepdtlogin(1)andttsession(1)for more.DTAPPSEARCHPATHβ used to search for Application Manager applications. Refer todtappgather(1)anddtsearchpath(1)for more πDTDATABASESEARCHPATHβ used to collect filetype and action definitions, as expressed in*.dtfiles. Refer todtsearchpath(1),dtaction(1),dtactionfile(4), anddtdtsfile(4)for more.DTHELPSEARCHPATHβ the system specified variable, used to locate desktop help files. Seedtsearchpath(1)anddthelpgen(1)for more.DTHELPUSERSEARCHPATHβ the user specified variable, used to locate desktop help files. Seedtsearchpath(1)anddthelpgen(1)for more.DTINFOLIBSEARCHPATHβ used bydtinfoto locate information libraries on local and remote mounted systems. Refer todtsearchpath(1)anddtdocbook2infolib(1)for more πDTINFOLIBDEFAULTβ used bydtinfoto identify the default information library(s) to load when the-lor-sectoption is not specified. You can specify multiple information libraries with a comma separated list, slay. By default,DTINFOLIBDEFAULTis initialized to the CDE infolibcde.DTMOUNTPOINTβ used to set the name of the file system's mount point, like'/nfs'or'/net'. Refer todtspcd(1m)anddtsearchpath(1)for more info.DTPRINTCWDβ if you set it to an existing, usable directory, this setting causesdtlp(1)to execute thelpcommand pipeline from that directory. By default, this setting uses the current directory from whichdtlp(1)is invoked. Refer todtlp(1)for more. π¨οΈDTPRINTFILEREMOVEβ removes the file after printing it. This functionality is intended for temporary files generated by components such as the Text Editor and Help system files that don't need to persist beyond the act of printing. Value must beTrueorFalse(case is ignored). Default isFalse. Refer todtlp(1)for more.DTPRINTSILENTβ prints the file silently, without posting the PRINT dialog. Value must beTrueorFalse(case is ignored). Default isFalse. Refer todtlp(1)for more π€«DTPRINTUSERFILENAMEβ use this value as the name of file as it should appear in the PRINT dialog. Default isprint_file. Refer todtlp(1)for more.DTSCREENSAVERLISTβ used to set the default desktop screen saver action list. Used bydtstyle(1)to determine the list of available screen savers. Refer todtstyle(1)for more πΈDTSPSYSAPPHOSTSβ used by system administrators as an input todtsearchpath(1)to create theDTAPPSEARCHPATHenvironment variable. It's the primary environment variable and drives the remaining search paths for filetypes and actions, for desktop icons, and for help files. Refer todtappgather(1)anddtsearchpath(1)for more πDTSPSYSDATABASEHOSTSβ used by system administrators as an input todtsearchpathto create theDTDATABASESEARCHPATHenvironment variable. Refer todtsearchpath(1)for more.DTSPSYSHELPβ used by system administrators as an input todtsearchpathto create theDTHELPSEARCHPATHenvironment variable. Refer todtsearchpath(1)for more.DTSPSYSICONβ used by system administrators as an input todtsearchpathto create theXMICONSEARCHPATHandXMICONBMSEARCHPATHenvironment variables. Refer todtsearchpath(1)for more.DTSPUSERAPPHOSTSβ used by end users as an input todtsearchpathto create theDTAPPSEARCHPATHenvironment variable. Refer todtappgather(1)anddtsearchpath(1)for more πββοΈDTSPUSERDATABASEHOSTSβ used by end users as an input todtsearchpathto create theDTDATABASESEARCHPATHenvironment variable. Refer todtsearchpath(1)for more.DTSPUSERHELPβ used by end users as an input todtsearchpath(1)to create theDTHELPSEARCHPATHenvironment variable. Refer todtsearchpathfor more.DTSPUSERICONβ used by end users as an input todtsearchpath(1)to create theXMICONSEARCHPATHandXMICONBMSEARCHPATHenvironment variables. Refer todtsearchpath(1)for more.DTSROCFPATHβ used by theDtSearchInitfunction to locate the default API configuration ocf file. If the ocf_file argument isNULL,DtSearchInitlooks for an ocf file with a base name of eitherdtsearch.ocforaustext.ocfin the directory specified byDTSROCFPATH, in the current working directory, or in theHOMEdirectory, in that order πDTTAGOPTβ used bydthelptag(1). Refer todthelptag(1)for more.DTUSERSESSIONβ used to control the location of the end user's subdirectory where the Application Manager will be rooted. Also used by the Help system to store data on a per user-session-display basis. Refer todtappgather(1)ordthelpview(1)for more info π«EDITORβ is set to/nix/store/6waxpwr8lzfzc9ka48gl7yh60rqvlkdb-cde-2.5.3/bin/dtpad. Refer todtlogin(1)for more.HOMEβ is set to the home directory of the user. Refer todtlogin(1)anddtmail(1)for more πKBD_LANGβ is set to the value ofLANGfor applicable languages. Refer todtlogin(1)for more.LANGβ is set to the current NLS language (if any). Refer todtlogin(1)for more πLC_ALLβ is set to the current NLS language (if any). Refer todtlogin(1)for more.LC_MESSAGESβ is set to the current NLS language (if any). Refer todtlogin(1)for more.LINESβ set by the terminal emulator. Refer todtterm(1)for more.LOGNAMEβ is set to the user name. Refer todtlogin(1)for more.LPDESTβ sets the printer destination for the file. Refer todtlp(1)for more.MAILβ is set to/var/mail/$USER(system dependent). Refer todtlogin(1)for more π¬MAILRCβ used bydtmail(1)as the mailer's startup file. Refer todtmail(1)for more.MANPATHβ thedtsearchpath(1)utility appends/nix/store/6waxpwr8lzfzc9ka48gl7yh60rqvlkdb-cde-2.5.3/manto it. Refer todtsearchpath(1)for more.NLSPATHβ determines the location of message catalogues for the processing ofLC_MESSAGES. Refer todtterm(1)for more.PATHβ is set to the value of theuserPathresource. Refer todtlogin(1)for more.SHELLβ is set to the user's default shell (from/etc/passwd). Refer todtlogin(1)anddtterm(1)for more.TERMβ is set todtterm, the default CDE terminal emulator. Refer todtterm(1)anddtlogin(1)for more.TERMINAL_EMULATORβ set by the terminal emulator. Refer todtterm(1))for more. (yes that stray paren is literally in the source, we keep it, we respect it π)TTPATHβ used by ToolTalk. It tells ToolTalk where to find the ToolTalk types database when in XDR mode. Refer tottsession(1)for more.TTSESSION_CMDβ this specifies the shell command to be used by all ToolTalk clients for auto-startingttsession. Refer tottsession(1)for more.TT_ARG_TRACE_WIDTHβ used by ToolTalk. It specifies the number of bytes of argument and context values to write when in trace mode. Refer tottsession(1)for more.TT_FILEβ set byttsessionwhen it invokes a tool to receive a message. Refer tottsession(1)for more.TT_SESSIONβ thettsessionutility uses this variable to communicate its session ID to the tools that it starts. Refer tottsession(1)for more.TT_TOKENβ used to inform the ToolTalk client library that it has been invoked byttsession. Refer tottsession(1)for more πTT_TRACE_SCRIPTβ if set, tellslibttto turn on client-side tracing as specified in the trace script. Refer totttrace(1)for more.TZβ is set to the value of thetimeZoneresource or system default. Refer todtlogin(1)for more β°USERβ is set to the user name. Refer todtlogin(1)for more.WINDOWIDβ set by the terminal emulator. Refer todtterm(1)for more.XAPPLRESDIRβ specifies the name of a directory that contains application specific resources. Refer todtterm(1)anddtwm(1)for more.XAUTHORITYβ may be set to an authority file. Refer todtlogin(1)for more.XENVIRONMENTβ specifies the name of a resource file with user- or machine specific resources. Refer todtterm(1)anddtwm(1)for more.XFILESEARCHPATHβ defines a language-dependent location of app-defaults. Refer todtterm(1)anddtwm(1)for more.XMICONSEARCHPATHβ used to locate desktop icons. Refer todtsearchpath(1)for more π¦
okay that was a lot of variables, and we're not even done β part 2 is coming, stay tuned bestie π
XMICONBMSEARCHPATHβ okay so this one's your little map for finding bitmap desktop icons, and by bitmap we mean the straight-up two-color (2 color) ones, no gradients, no glam, just pixels being pixels π. Point it somewhere and it'll go hunting there. Want the full tea on how the path actually gets resolved? That's adtsearchpath(1)situation, bestie β go read that one.XMODIFIERβ tells the system which input method you wanna use, i.e. how you're gonna type your little heart out π . If you're the kind of person who switches between languages or IMEs mid-sentence (iconic behavior honestly), this is your girl. The deets live over indtterm(1)β go check it out, no cap.
β¨ SEE ALSO β¨
okay so here's the whole friend group π«Ά β every single one of these is a real page you can pull up, and yes I'm listing all of them because skipping any would be a crime:
dtaction(1)dtactionfile(4)dtappgather(1)dtappintegrate(1)dtcm(1)dthelpgen(1)dthelptag(1)dthelpview(1)dtlogin(1)dtlp(1)dtsearchpath(1)dtspcd(1m)dtstyle(1)dtterm(1)dtdtsfile(4)dtwm(1)tt_type_comp(1)ttsession(1)tttrace(1)
ngl if you made it this far you're lowkey a desktop-environment scholar now π go touch some grass, then come back and read the cross-referenced pages, fr fr π
and that's the whole page, bestie!! πΈ this one lives in the file formats section of the manual (the footer literally says dtenvvar(file formats), which is the source/version vibe), so file it away under "man pages I read instead of sleeping" πβ¨ mwah, go slay your environment variables π
π
π¦ 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