DTAPPGATHER(1)
π dtappgather π
hey bestie, welcome to the dtappgather(user cmd) manual page β yes that's the whole manual name, we're keeping it, it's part of the lore π
β¨ NAME β¨
dtappgather β gather application files for presentation by the Application Manager
πΈ SYNOPSIS πΈ
dtappgather [-r]
π¦ DESCRIPTION π¦
okay so picture this: the Application Manager is the thing that shows you your personal, system, and factory applications in one easy-to-access window. iconic behaviour honestly. and here's the tea β the Application Manager is literally just a special File Manager view of a subdirectory that gets built on a per-user, per-session basis. and dtappgather? she's the one who creates and refreshes that user's Application Manager subdirectory. main character energy fr fr π
dtappgather runs at login, and also whenever the user invokes the ReloadApps action. your very own subdirectory for the Application Manager, /var/dt/appconfig/appmanager/$DTUSERSESSION, gets opened when you press the Application Manager control on the Front Panel. slay.
so the sequence of events goes like this:
- when the user logs in, the
Xsessionscript sources in theXsession.dscript that sets theDTUSERSESSIONenvironment variable. Xsessionthen invokes thedtsearchpathutility to set theDTAPPSEARCHPATHenvironment variable.- after
dtsearchpathreturns with theDTAPPSEARCHPATHassembled, theXsessionscript callsdtappgather. - as her main function,
dtappgathertraverses theDTAPPSEARCHPATH, examining each possible source of applications and, where there are existing source subdirectories, creates symbolic links between the source and the user'sDTUSERSESSIONsubdirectory. - finally,
dtappgatherturns off write permissions on the resulting subdirectory to ensure its integrity. protective queen π«Ά
a similar sequence occurs when the user double-clicks the ReloadApps action after logging in.
although the value of the DTAPPSEARCHPATH can be modified in a local shell, the Application Manager view based on its value is not functional until you log out and log back in. and since this can be a tedious venture π you can verify the Application Manager view by executing dtsearchpath(1) and dtappgather in the local shell.
for example, to add host trout as a system-wide application server, set the dtsearchpath(1) input environment variable, DTSPSYSAPPHOSTS:
DTSPSYSAPPHOSTS=trout:
then, execute dtsearchpath(1) to update the DTAPPSEARCHPATH environment variable:
eval `dtsearchpath`
finally, gather the new applications by executing dtappgather. the Application Manager will show the new application groups but will not be functional. π
π OPTIONS π
-rβ causesdtappgatherto retain the previous contents of the Application Manager, although discarding broken links. at login,dtappgatherdestroys the user's previousDTUSERSESSIONsubdirectory before creating a new one. at ReloadApps time, the-roption is used to minimize visual disruption of any opened Application Manager views.
β RETURN β
the command always returns 0 (zero) for successful completion. no drama, no cap, just zero. π
π ENVIRONMENT π
DTAPPSEARCHPATHβ set by thedtsearchpath(1)utility.DTAPPSEARCHPATHcontrols the places wheredtappgatherwill gather applications. the default locations consist of$HOME/.dt/appmanager(for end users),/nix/store/6waxpwr8lzfzc9ka48gl7yh60rqvlkdb-cde-2.5.3/etc/appconfig/appmanager/$LANG(for system administrators), and/nix/store/6waxpwr8lzfzc9ka48gl7yh60rqvlkdb-cde-2.5.3/appconfig/appmanager/$LANG(for factory applications).DTUSERSESSIONβ controls the location of the end user's subdirectory where the Application Manager will be rooted. the subdirectory name includes both the user's$LOGNAMEand$DISPLAYin order to ensure the user's view of the Application Manager remains consistent across sessions. consistent queen β¨
π LOCALES π
when searching for system administrator and factory default Application Manager files, dtappgather always uses a value of $LANG equal to C.
when the user picks a language at login, the corresponding $LANG subdirectories are searched. if multiple $LANG subdirectories exist in /nix/store/6waxpwr8lzfzc9ka48gl7yh60rqvlkdb-cde-2.5.3/etc/appconfig/appmanager, all $LANG subdirectories will appear in the Application Manager. however, if multiple $LANG subdirectories exist in /nix/store/6waxpwr8lzfzc9ka48gl7yh60rqvlkdb-cde-2.5.3/appconfig/appmanager then the language-specific subdirectory based on the current value of $LANG is chosen instead of the C subdirectory.
regardless of locale, all the action files that exist under the user's $HOME/.dt/appmanager subdirectory will be symbolically linked to the user's Application Manager subdirectory. all of them. every single one. π§
π FILES π
/nix/store/6waxpwr8lzfzc9ka48gl7yh60rqvlkdb-cde-2.5.3/bin/Xsessionβ among its tasks at login, theXsessionscript invokesdtsearchpath(1), and thendtappgather./var/dt/appconfig/appmanager/$DTUSERSESSIONβ this subdirectory is wheredtappgatherassembles the Application Manager view for the particular user and CDE session.
π₯ NOTES π₯
in the case of multiple search locations having the same name, dtappgather picks only the first and discards the rest. for example, if the system administrator sets DTSPSYSAPPHOSTS=tuna:,trout: and if both hosts, tuna and trout, have an /nix/store/6waxpwr8lzfzc9ka48gl7yh60rqvlkdb-cde-2.5.3/etc/appconfig/appmanager/C/Editors folder, then only the Editors folder from tuna (the first host) will appear in the user's Application Manager.
after building the user's DTUSERSESSION, dtappgather turns off write permissions on that subdirectory to disallow alteration by the end user. although the end user can resize the window and rearrange the icons within the window, the Application Manager is intended to be a read-only source of local and networked applications. π
π SEE ALSO π
dtappintegrate(1), dtsearchpath(1).
ok that's the whole page bestie, you ate that reading, go touch some grass and then come back and run dtappgather π
and that's the sign-off from yours truly β dtappgather(user cmd), that same manual name and version-and-date energy you saw at the bottom, now delivered with a lil sparkle instead of a boring footer. bye 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