DTFILE(1)
π NAME π
Okay bestie, meet dtfile β the CDE File Manager. Thatβs the whole name line, and yes, the page header is dtfile(user cmd), folded in here so we can get straight to the good stuff β¨.
πΈ SYNOPSIS πΈ
dtfile [options...]
π¦ DESCRIPTION π¦
π Note, bestie: Although dtfile may be invoked from the command line, developers who wish to interface to File Manager function should use CDE Actions (see βCDE Actionsβ in βRELATED INFORMATIONβ). Thatβs the official vibe check, no cap.
The CDE File Manager is the Desktopβs primary interface to the file system. It provides a GUI for file manipulation and application execution. Literally the main character of your file-management era π .
The main File Manager interface consists of a top-level window which shows the contents of a single folder or a set of nested folders (folder tree). A single File Manager process may provide many top-level windows, each of which may show the contents of a different folder. Obsessed with the multi-window energy π«Ά.
The File Manager has many manipulation features. It will allow a user to:
- Traverse folders via a double-click, menu options, or a click-and-type mechanism.
- Change folder display modes (i.e. large icons, small icons, alphabetical order, date order, single folder, folder tree, etc.) and filtering options.
- Create, move, copy, link, and delete objects via menu options and/or drag-and-drop.
- Rename objects via menu options or a click-and-type mechanism.
- Modify object file system attributes via menu options.
- Invoke actions (applications such as Edit or Print) on objects via a double-click, menu options, or drag-and-drop.
- Locate objects by name or by contents.
- Place frequently used objects on a desktop/workspace.
The File Manager also supports additional features for two special types of top-level windows: application views and the trash container π.
Application views are designed to organize application objects such as actions.
Application view windows have the same general appearance and function as folder windows with the following exceptions:
- The user is not allowed to traverse above the main application view.
- When a user drags an object from an application view to another application view or to a folder, the object is copied to the new location (as opposed to being moved as is the case in a folder.)
The trash container is designed to be a holding area for objects that users wish to delete. Like application views, the trash container window has the same general appearance as a folder window; however, trash container function differs as follows: Users may move, restore, or delete a trash object and may change the display mode for the trash container. Users MAY NOT:
- Traverse out of the trash container.
- Copy, rename, or execute any other manipulation on a trash object.
π οΈ Key Supported Tasks π οΈ
π₯οΈ Desktop π₯οΈ
A Desktop is a place where users can store commonly used objects for easy access. Within the CDE, each workspace is considered a Desktop. A user may place any object on the background of a workspace and the object will remain there. The user can also select actions for that object via a popup menu which is activated by selecting mouse button 3. Mouse button 3 is the secret menu handshake, iykyk π±οΈ.
π Folder Window π
A folder window is a top-level window which shows the contents of a single folder or a set of nested folders (folder tree). Folder windows may be launched from the Front Panel, actions, or a command line interface. The objects in a folder are displayed in a user-selected icon/text combination. The icon visual shows the icon type. Users can use menu options to reread folder views, open new folder views, and to select/unselect all objects in a folder. In tree mode, buttons next to icons representing subfolders allow users to expand or collapse folder branches and to control whether all objects in a folder or only the folder structure is shown in the window. Folder tree branch control is lowkey iconic π³.
π§© Application View Window π§©
An application view window is a top-level window which shows the contents of a single application folder. An application folder is a restricted folder which is designed to organize application objects such as actions. Application views are launched from the Front Panel or a predefined action.
ποΈ Trash Container Window ποΈ
When an object is no longer needed, a user can move the object to the trash container. The trash container is a restricted folder which is used to store files temporarily until the user asks to permanently remove them. A user can view the contents of the trash container in a top level window which is launched from a menu option in a folder or application view, the Front Panel, or a predefined action. Users can also restore objects from the trash container provided that actions have not been taken to permanently remove them. Restore-window rights: respected π«Ά.
β¨ Object Movement and Modification β¨
Menu options are provided which allow users to create objects, rename objects, copy objects, modify object properties, and move objects to a desktop or to the trash container. (NOTE: In addition to the menu options, users can rename objects with the following steps:
- Click mouse button 1 on the text portion of an object icon.
- An edit box will appear; type the new file name.
- Select Enter.)
So yes, bestie, click the text, type the new name, hit Enter. Rename speedrun, periodt π .
πΎ File System Awareness πΎ
The File Manager is file system aware. It can be enabled to launch dialogs that allow editing of file system specific parameters (See FILES - dtfile.config). File-system-specific parameter editing is a whole vibe βοΈ.
π Object Search π
A menu option/dialog box combination is provided to allow users to search for objects by name or by content. During a name search, the File Manager looks for an object whose name matches specified search criteria. During a content search, the File Manager looks for an object which contains specified character strings. Content searches are case insensitive. When an object is located, the File Manager can either open a window to display the folder where the object is located or place the object on the desktop. Search by name or by content β both slay π₯.
π§ Folder Traversal π§
Simple folder traversal can be accomplished by double-clicking on a folder icon. This action displays the contents of the selected folder. If the user moves the mouse before releasing the mouse button on the second click of a double click (βdouble-click-dragβ action), a new window will pop up to show the contents of the selected folder. The new window will be placed at the position where the user released the mouse button. Double-click-drag is giving βopen it right hereβ energy β¨.
In addition, the File Manager provides the following folder traversal mechanisms:
- π¬ This dialog lists folders that are frequently used. A user may traverse to a new folder by double-clicking on a folder in this list.
- Click-and-Type Mechanism β When a user clicks on the βText Pathβ, it is remapped to a text edit widget. Again the user may traverse to a new folder by typing a new folder title and then selecting Enter.
- Iconic Path Selection β If a user double-clicks on a folder icon in the iconic path, the File Manager will update the current window to show the contents of the selected folder.
- Find Dialog β This dialog searches the file system for a folder or folders whose name(s) match user-supplied criteria. The user may open new windows for folders located by the Find dialog.
- Home and Up Menu Options β These options allow the user to traverse to
$HOMEand parent folders respectively. - Tree Display Mode β In this mode, the folder hierarchy is displayed as a tree that can be traversed by selecting the buttons located next to the folder icons (See Tree Mode below).
- Tree Mode β In tree mode, the current folder and its subfolders are shown initially. Traversing into subfolders can be accomplished by single-clicking on the button next to the folder icon. Clicking the left mouse button over the folder button cycles through three states: partially expanded, fully expanded, and collapsed. Clicking the middle mouse button cycles through these three states in reverse order. When the user first clicks on the folder button, the contents of the subfolder are read and added to the tree (partially expanded state). If the user clicks on the button a second time, the non-folder contents of the folder are added to the tree (fully expanded state). If the user clicks on the button a third time, the folder contents are removed from the tree (collapsed state). If a folder does not have subfolders, the partially expanded state is skipped. If a folder does not contain non-folder objects, the fully expanded state is skipped. If a folder is empty, the folder button is desensitized. Three-state folder button cycle? The way that is so specific and so iconic π.
π¨ Setting Display Preferences π¨
The File Manager provides many options for displaying objects. For example, objects can be displayed in iconic or non-iconic formats. The user may also choose to position files in either a grid or random pattern. (NOTE: The File Manager provides a Clean Up menu option which can be used to align randomly placed objects to a grid pattern.) If the user has write permission in a folder and the user chooses to randomly place files, the positioning information is saved when the user leaves the folder. Therefore, each time the user reenters the folder the files will be positioned as they were when the user left the folder. Random placement that remembers itself? We love a folder with memory π.
π§ Object Filtering π§
Folders can contain many different types of objects. The File Managerβs filtering mechanism allows the user to selectively display objects depending on their type. The File Manager also provides a Show Hidden Files menu toggle option which allows the user to turn the filtering mechanism on and off. Show Hidden Files toggle β the plot twist button π.
π¬ Object Type/Action Association π¬
When an object is selected, the File Manager builds an Actions menu for that object based on the type of the object. For example, data files are provided with a menu containing the following actions: Open, Print. Folders are provided with a menu containing: OpenNewView, OpenInPlace. Actions can be run on an object by selecting an object and then selecting an action from the Actions menu. Also, double-clicking on an object will activate the default action for the object. Object-type-based Actions menu? Main character behavior π.
β Quick Help β
The File Manager provides quick help via F1 throughout the dtfile application. This includes quick help on object icons. To access quick help, position the cursor/pointer over the item for which you wish to get help, then press F1. Cursor over the thing, F1, boom β help acquired π«Ά.
π±οΈ Popup Menus
Okay so bestie, the File Manager literally serves popup menus for objects inside a File Manager view or on the Desktop. To pop one open for a specific object, you put the cursor over that object and press and hold mouse button 3 π . A popup menu appears β and it's giving exactly the list of actions you can do to that object.
And if you've selected multiple objects? The popup menu shows all of those actions that can be done on all of the selected objects at once. Team work, no cap π«Ά.
β Direct Manipulation
Objects can be dragged between different File Manager views, to Desktops, and to cooperating clients. Direct manipulation may be used to copy, move, or link objects, and also to supply objects as input to applications. Peep the REGISTERING OBJECTS AS DROP SITES section for the deets π.
The File Manager also supports drops of buffers on its views and objects such as CDE Mailer attachments. Very slay of it.
β¨οΈ Terminal Access
There's a menu option that gives users access to terminal windows. That's it, that's the whole vibe π₯οΈβ¨.
πͺ Exit Services
Menu options exist that let users close File Manager views, and that let users save setting information before exiting a File Manager session. Log off responsibly π.
πͺ Object Name Completion
The File Manager supports object name completion in these text widgets, and yes I'm listing them:
- the
"Text path" - the
"Destination Folder"field of the"Go To"dialog - the
"Search Folder"field of the"Find"dialog
Press control+spacebar and the name will complete to the extent that it can. Iconic. β¨
π Multibyte Character Set Support
The File Manager is fully internationalized. It supports both single-byte and multi-byte locales. Global queen behavior ππ.
π¨ Error Condition Notification
The File Manager uses dialog boxes to report various error conditions. So when something goes wrong, you get a lil box about it π.
β¨ OPTIONS β¨
The following options are available from the command line. Buckle up, there's a lot π:
π₯οΈ -noview
Dtfile runs in "server mode". In other words, a window is not displayed until a cooperating client makes a request to display a folder. Lowkey shy but make it infrastructure π .
πΎ -session session_file
Dtfile runs with the session file specified in the session_file parameter. Session files are generated as a dtfile session shuts down. Very "we saved your vibes for later" π«Ά.
π -dir folder
OR
π -folder folder
Dtfile displays a window for each folder specified in the folder parameter.
Heads up bestie: no spaces are allowed in folder fr fr.
If this option is not used, the user's current folder (the folder from which dtfile was started) is displayed.
π·οΈ -title title_name
This option lets the user specify a title (title_name) for the File Manager windows. All windows and dialogs generated by this session will use this title. If this option is not used, the name of the folder shown in a window will be used as the window title. Main character window energy, honestly π.
π -help_volume help_volume_name
Lets the user specify a help volume (help_volume_name) to use with the File Manager windows. This option is useful if the user is using the File Manager to display a specific folder and wants specific help for that folder.
Note: All File Manager views that are created from this folder will also use this help volume. It spreads, iykyk π¦.
π -restricted
Dtfile will not display folders above the restricted folder β nope, not going up there π
ββοΈ. If the -dir option is used, the folder specified by that option is the restricted folder. If the -dir option is not used, the user's current folder is the restricted folder.
π² -grid on/off
Dtfile displays files in a pattern specified by the on/off parameter. As the name implies, on/off will either have a value of on or a value of off.
onβ Files are always displayed in a grid pattern. The File Manager automatically rearranges the files if a file is moved. This is the default pattern. β¨offβ Files are always displayed where they are placed by the user. The File Manager does not rearrange the files. Chaos, but make it intentional π.
π³ -tree on/off
Controls whether dtfile displays files in single folder mode (off) or in folder tree mode (on).
π² -tree_files never/always/choose
Controls whether or not files may be displayed in the folder tree mode.
neverβ Files are never displayed. The user may toggle between two states: partially expanded and collapsed.alwaysβ Files are always displayed. The user may toggle between two states: fully expanded and collapsed.chooseβ Files may or may not be displayed. The user may toggle between three states: partially expanded, fully expanded, or collapsed.
Three-state toggle? She's flexible, we love her π§.
π€ -order order_type
Dtfile displays files in the order specified by the order_type parameter. order_type must have one of the following values:
alphabeticalβ Files are displayed in alphabetical order. This is the default order.file_typeβ Files are displayed in groups based on their filetypes.dateβ Files are displayed in an order based on the date when they were last modified.sizeβ Files are displayed in an order based on their size.
π -view view_type
Dtfile displays files in the format specified by the view_type parameter. view_type must have one of the following values:
no_iconβ Files are displayed by name.large_iconβ Files are displayed by name and large icon. The icon shows the type of the file. This is the default format. πsmall_iconβ Files are displayed by name and small icon. The icon shows the type of the file.attributesβ Files are displayed by attributes. A small icon is used to represent the file type. (This format is similar to the listing obtained by issuingls -lfrom anaixtermcommand line.)
βοΈ -direction direction
Dtfile displays files in the direction specified by the direction parameter. direction must have one of the following values:
ascendingβ Files are displayed in an ascending direction. This is the default direction.descendingβ Files are displayed in a descending direction.
Okay so listen π: both the-noviewand the-sessionoptions are normally used by the session manger to startdtfile. The-title,-help_volume, and-restrictedoptions can also be set via resources (see the RESOURCES section). The-grid,-tree,-treefiles,-order,-view, and-directionoptions can also be set by 1) selecting the Set Preferences option from the View pulldown menu or by 2) resources (see the RESOURCES section).
π -small_icon_width size
The default small icon width is 24 pixels. Any customized icons that have larger size will be clipped (π not the clipping). To avoid clipping, use this option to specify small icon width. size must be in pixel.
π -small_icon_height size
The default small icon height is 24 pixels. Any customized icons that have larger size will be clipped. To avoid clipping, use this option to specify small icon height. size must be in pixel.
πΌοΈ -large_icon_width size
The default large icon width is 38 pixels. Any customized icons that have larger size will be clipped. To avoid clipping, use this option to specify large icon width. size must be in pixel.
πΌοΈ -large_icon_height size
The default large icon height is 38 pixels. Any customized icons that have larger size will be clipped. To avoid clipping, use this option to specify large icon height. size must be in pixel.
πΈ EXAMPLES πΈ
ποΈ dtfile -view no_icon -order date -direction
The File Manager will display files in text format, ordered by date, most current to oldest date. Fresh to stale, we respect the timeline β.
π dtfile -dir /u/guest -restricted
The File Manager will begin execution by displaying a window showing the /u/guest folder. The user will not be allowed to navigate above this folder. Boundaries, bestie π«Ά.
πΎ dtfile -session session.jan.12
The File Manager will run with the session file called session.jan.12. Cute name, honestly π.
ποΈ RESOURCES ποΈ
Here's the whole resource fam β name, class, type, default. Every single one, no skipping π :
dirWidthβ ClassDirWidth, TypeXmRDimension, Default555dirHeightβ ClassDirHeight, TypeXmRDimension, Default305appWidthβ ClassAppWidth, TypeXmRDimension, Default365appHeightβ ClassAppHeight, TypeXmRDimension, Default365rereadTimeβ ClassRereadTime, TypeXmRInt, Default10(s)checkBrokenLinkβ ClassCheckBrokenLink, TypeXmRInt, Default180(s)maxDirectoryProcessesβ ClassMaxDirectoryProcesses, TypeXmRInt, Default10maxRereadProcessesβ ClassMaxRereadProcesses, TypeXmRInt, Default5maxRereadProcsPerTickβ ClassMaxRereadProcsPerTick, TypeXmRInt, Default1moveThresholdβ ClassMoveThreshold, TypeXmRInt, Default4(pix)titleβ ClassTitle, TypeXmRString, DefaultNULLrootTitleβ ClassRootTitle, TypeXmRString, Default"ROOT"help_volumeβ ClassHelp_volume, TypeXmRString, DefaultNULLfileManagerIconβ ClassFileManagerIcon, TypeXmRString, Defaulthome.i.bmrestrictModeβ ClassRestrictMode, TypeXmRBoolean, DefaultfalseshowFilesystemβ ClassShowFilesystem, TypeXmRBoolean, Defaulttruegridβ ClassGrid, Typestring, DefaultontreeViewβ ClassTreeView, Typestring, DefaultofftreeFilesβ ClassTreeFiles, Typestring, Defaultneverorderβ ClassOrder, Typestring, Defaultalphaviewβ ClassView, Typestring, Defaultlarge_icondirectionβ ClassDirection, Typestring, DefaultascenddesktopIconβ ClassDesktopIcon, Typestring, DefaultlargeobjectPlacementβ ClassObjectPlacement, Typestring, Defaulttop rtopenFolderβ ClassOpenFolder, Typestring, DefaultcurrentsmallIconWidthβ ClassSmallIconWidth, TypeXmRInt, Default16smallIconHeightβ ClassSmallIconHeight, TypeXmRInt, Default16largeIconWidthβ ClassLargeIconWidth, TypeXmRInt, Default32largeIconHeightβ ClassLargeIconHeight, TypeXmRInt, Default32
π Dtfile *dirWidth
Specifies the width of a File Manager folder window.
π Dtfile *dirHeight
Specifies the height of a File Manager folder window.
πͺ Dtfile *appWidth
Specifies the width of a File Manager application view window
πͺ Dtfile *appHeight
Specifies the height of a File Manager application view window.
π Dtfile *rereadTime
Determines how often the File Manager rereads the open folders and monitors the Desktop objects. This resource must be specified in seconds.
If it is set to 0, the reread will not occur and the user must manually reread the folders. This will conserve processor cycles but may cause views to become stale as well. Tradeoffs, bestie π.
π Dtfile *checkBrokenLink
Determines how often the File Manager checks open folders for broken links. This resource must be specified in seconds.
If it is set to 0, the check for broken links will not occur.
Dtfile *maxDirectoryProcessesβ sets the maximum number of background processes that can be devoted to folder activities. And yes, that includes reading the folder, updating the folder, writing positional information for the folder, checking for broken links, and checking for other folder updates. πDtfile *maxRereadProcessesβ sets the maximum number of background processes devoted to folder reread activities, aka checking for broken links or checking for other folder updates. β¨Dtfile *maxRereadProcsPerTickβ sets how many reread processes may be started per reread timer tick. In other words, the currently displayed folders get checked for changes in a round-robin fashion:xfolders per timer tick, wherexis equal tomaxRereadProcsPerTick. πDtfile *moveThresholdβ sets the number of pixels the cursor must move while a button is held down before the drag controller recognizes that button-down action as a drag. π±οΈDtfile *titleβ sets the title for all File Manager windows. If this resource is set toNULL, then the title of each File Manager window will be the name of the folder displayed in that window. πͺDtfile *rootTitleβ sets the title of the root folder. This title shows up in the title bar of any File Manager window that is showing the root folder, and itβs also the name shown with the icon representing the root folder on the Desktop. πDtfile *help_volumeβ specifies the help volume. π§Dtfile *fileManagerIconβ specifies the icon to display when a File Manager window is minimized. πDtfile *restrictModeβ determines whether or not the user is operating in restricted mode. If this resource is set totrue, the user is operating in restricted mode. The user is restricted to the user's$HOMEfolder and below. All folder change requests are interpreted relative to the user's$HOMEfolder. All folders above the user's$HOMEfolder are hidden from the user. If this resource is set tofalse, the user's folder requests are not limited in any way. πDtfile *showFilesystemβ determines whether or not the path name for the current folder is visible. If this resource is set toTRUE, the path name is visible. If it is set toFALSE, the path name is not visible. This resource can be used to hide the file system from the user. πDtfile *gridβ determines the pattern used to display files. This resource must have one of two values:onβ Files are always displayed in a grid pattern. The File Manager automatically rearranges the files if a file is moved. This is the default pattern.offβ Files are always displayed where they are placed by the user. The File Manager does not rearrange the files.
Dtfile treeViewβ determines whether files are displayed in single folder mode (on) or folder tree mode (off). π³Dtfile *treeFilesβ the manpage's own line here is literallyThis folder tree mode.(yes, thatβs all it gives us, no cap π). The values are:neverβ Files are never displayed. The user may toggle between two states: partially expanded and collapsed.alwaysβ Files are always displayed. The user may toggle between two states: fully expanded and collapsed.chooseβ Files may or may not be displayed. The user may toggle between three states: partially expanded, fully expanded, or collapsed.
Dtfile *orderβ determines the order used to display files. This resource must have one of four values:alphabeticalβ Files are displayed in alphabetical order. This is the default order.file_typeβ Files are displayed in groups based on their filetypes.dateβ Files are displayed in an order based on the date when they were last modified.sizeβ Files are displayed in an order based on their size.
Dtfile *viewβ determines the format used to display files. This resource must have one of four values:no_iconβ Files are displayed by name.large_iconβ Files are displayed by name and large icon. The icon shows the type of the file. This is the default format.small_iconβ Files are displayed by name and small icon. The icon shows the type of the file.attributesβ Files are displayed by attributes. A small icon is used to represent the file type. This format is similar to the listing obtained by issuingls -lfrom anaixtermcommand line.
Dtfile *directionβ determines the direction used to display files. This resource must have one of two values:ascendingβ Files are displayed in an ascending direction. This is the default direction.descendingβ Files are displayed in a descending direction.
Dtfile *desktopIconβ determines the type of icon used to represent files/folders on the Desktop. This resource must have one of two values:largeβ Large icons are used to represent files/folders on the Desktop.smallβ Small icons are used to represent files/folders on the Desktop.
Dtfile *objectPlacementβ specifies the placement scheme used to place objects on the Desktop. This resource has the following syntax:primary_layout secondary_layout. Theprimary_layoutdetermines whether an object placed on the Desktop is put into a row or a column. Thesecondary_layoutdetermines where to place new rows or columns. The layouts must have one of four values:topβ Objects are placed top to bottom. (vertical value)bottomβ Objects are placed bottom to top. (vertical value)leftβ Objects are placed left to right. (horizontal value)rightβ Objects are placed right to left. (horizontal value)
The user should use one value from each category β vertical and horizontal. For example, if the primary_layout is top, then the secondary_layout should be either left or right. In this case, the secondary_layout should NOT be top or bottom. Likewise, if the primary_layout is left, then the secondary_layout should be either top or bottom. In this case, the secondary_layout should NOT be left or right.
Dtfile *openFolderβ determines how a folder is opened when a user double clicks on a folder icon. This resource must have one of two values:currentβ Open the folder in the current window. This is the same as using theOpenInPlaceaction.newβ Open the folder in a new window or, if a window showing this folder currently exists, move the existing window to this workspace and place it in the forefront. Note: Only one view of a folder can be opened at once under these conditions. If the user defines an 'open folder' file type, the folder icon will change state to indicate when a given folder is currently open somewhere in the user's environment. In order to define an 'open folder' file type, the user should 1) define a file type with the same name as the normal folder file type except that the name is preceded withOPEN_, 2) create an 'open folder' icon, and 3) use the name of the 'open folder' icon as the icon name in the 'open folder' file type definition. π
Dtfile *smallIconWidthβ the default small icon size is 16 pixel. Any customized icons that have larger size will be clipped. To avoid clipping, use this resource to specify small icon width. πDtfile *smallIconHeightβ the default small icon height is 16 pixel. Any customized icons that have larger size will be clipped. To avoid clipping, use this resource to specify small icon height. πDtfile *largeIconWidthβ the default large icon width is 32 pixel. Any customized icons that have larger size will be clipped. To avoid clipping, use this resource to specify large icon width. π¦Dtfile *largeIconHeightβ the default large icon height is 16 pixel. Any customized icons that have larger size will be clipped. To avoid clipping, use this resource to specify large icon height. π¦
β¨ ASYNCHRONOUS EVENTS β¨
π¬ Tool Talk Messages
The following Tool Talk Desktop and Media requests are supported by the File Manager:
- Edit (Document and Media Exchange Message Set) β the specified file is opened for editing in a separate window. π
- Display (Document and Media Exchange Message Set) β the specified file is opened for viewing only in a separate window. π
- Quit (Desktop Message Set) β this request will terminate the File Manager and its children. π
π RELATED INFORMATION π
π CDE Actions
The following Desktop actions can be used to access File Manager folder and application view windows as well as the File Manager trash container window. These actions are defined in /nix/store/6waxpwr8lzfzc9ka48gl7yh60rqvlkdb-cde-2.5.3/appconfig/types/$LANG/dtfile.dt.
Dtfileβ opens a folder window for a specified folder.Dtappmgrβ opens an application view window.Dttrashβ opens a window to display the contents of the Trash Container.OpenNewViewβ opens a new window to show the contents of the selected folder.OpenInPlaceβ displays the contents of the selected folder in the current window.FILESYSTEM_MOVEβ moves a set of dragged objects to the selected drop site.FILESYSTEM_COPYβ copies a set of dragged objects to the selected drop site.FILESYSTEM_LINKβ creates symbolic links to a set of dragged objects from the selected drop site.
π«Ά Registering Objects As Drop Sites
Every CDE data type has three associated drop attributes: MOVE_TO_ACTION, COPY_TO_ACTION, and LINK_TO_ACTION. The File Manager registers every object whose data type has a value for at least one of these attributes as a drop site.
When an object is dragged to a drop site, the File Manager is triggered by the drag-and-drop API. The drag-and-drop API provides the File Manager with a gesture code (Move, Copy, or Link) which is dictated by a combination of the modifier keys used and the manner in which the drop site was registered. Based on the gesture code and the data type of the drop site, the File Manager retrieves a drop attribute (ie. MOVE_TO_ACTION) from the Datatypes database. The File Manager then calls the CDE API, DtActionInvoke according to the following rules:
- If objects
AandBare dropped on objectC, then the parameters toDtActionInvokeare as follows:
DtActionInvoke (drop action name, C, A, B)
- There is one exception: if object
Cis an action, then the parameters will not include objectC. ie
DtActionInvoke (drop action name, A, B)
πΈ FILES πΈ
Okay so File Manager uses the following files β yes, all of them, bestie, itβs giving βwhole squadβ energy π β¨
π dtfile
Executable file. This file is located in /nix/store/6waxpwr8lzfzc9ka48gl7yh60rqvlkdb-cde-2.5.3/bin.
π dtfile_copy
Utility to support folder copy. This executable file is located in /nix/store/6waxpwr8lzfzc9ka48gl7yh60rqvlkdb-cde-2.5.3/bin.
π«Ά dtfile_error
This script can be used by applications to display an error dialog when it would be difficult or impossible to do in the context of the executing program. For example, it can be used when exec fails in a child process or if an error is detected before an applicationβs main window can be realized. This executable file is located in /nix/store/6waxpwr8lzfzc9ka48gl7yh60rqvlkdb-cde-2.5.3/bin.
π¦ Dtfile
App-defaults file. This file is located in /nix/store/6waxpwr8lzfzc9ka48gl7yh60rqvlkdb-cde-2.5.3/app-defaults/$LANG. See the RESOURCES section for a list of those resources which can be set using the app-defaults file.
π dtfile.config
Configuration file. This file is located in /nix/store/6waxpwr8lzfzc9ka48gl7yh60rqvlkdb-cde-2.5.3/config/$LANG. It may be used to add a file system specific button to the File Properties dialog. This button launches an additional dialog allowing the user to modify file system specific parameters. For example, the user can add a stanza defining a dialog for setting the Access Control List for a file from the Andrew File System. If the user also adds a stanza defining a dialog for setting the Access Control List for the Distributed File System, then the File Manager will determine which dialog is associated with the selected file and will display that dialog. See the text in the dtfile.config file for instructions on how to create stanzas.
π dtfile.dt
CDE type/action definition file. This file is located in /nix/store/6waxpwr8lzfzc9ka48gl7yh60rqvlkdb-cde-2.5.3/appconfig/types/$LANG.
π Dtinf.*, Dtlink.*, DtdirR.*, Fphome*, Fpapps*, Fptrsh*
Icon files. These files are located in /nix/store/6waxpwr8lzfzc9ka48gl7yh60rqvlkdb-cde-2.5.3/appconfig/icons/$LANG.
π§ dtfile.cat
Message catalog. This file is located in /nix/store/6waxpwr8lzfzc9ka48gl7yh60rqvlkdb-cde-2.5.3/lib/nls/msg/$LANG.
π Filemgr.sdl, FM*.tif, FM*.pm
Help files. These files are located in /nix/store/6waxpwr8lzfzc9ka48gl7yh60rqvlkdb-cde-2.5.3/appconfig/help/$LANG/Filemgr and /nix/store/6waxpwr8lzfzc9ka48gl7yh60rqvlkdb-cde-2.5.3/appconfig/help/$LANG/Filemgr/graphics.
π dtfile.1
Man page. Iconic, honestly.
π SEE ALSO π
Go peek at these if you want the full lore, bestie:
- Data Interchange Mechanisms (drag-and-drop library)
- Window Manager
- Object Services (action/filetype database)
- ICCCM Messaging
- ToolTalk
π
signed, sealed, delivered by the dtfile(user cmd) source/version footer β plus whatever date your copy stamped down there β because every manual deserves a cute little outro, periodt π«Άβ¨
π¦ 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