OpenWindows User's Guide

Customizing Your File Manager

You can customize your File Manager from the Properties menu in the following ways:

These methods are described in the sections that follow.

    You can access the Properties by choosing Edit Properties.

The different properties categories are shown in Figure 2-33.

Figure 2-33 File Manager Properties Menu

Graphic

In addition, you can customize your File Manager (and other DeskSet applications) with items such as font type and size that can be set in the Workspace Properties menu. See "Using the Workspace Properties Window" for more information.

General Defaults

To change the General Default Properties:

    Choose Properties -> General Defaults from Category.

The General Defaults Properties window is shown in Figure 2-34.

Figure 2-34 General Defaults Properties Window

Graphic

New Folder Defaults

You can change the default for the way new files or folders are displayed in the file pane using the New Folder Defaults, shown in Figure 2-35. To display this window, choose New Folder Defaults from the Properties Category.

    Choose Properties ->New Folder Defaults from Category.

The New Folder Defaults Properties window is shown in Figure 2-35.

Figure 2-35 New Folder Defaults Window

Graphic

Default Name

The current default name (when a new folder is created) is NewFolder. You can change this to anything you like.

Longest Name

The Longest Name field allows you to choose how many characters (based on the average width of the characters) of each file name are displayed in the file pane of File Manager. You can type any number from 0 to 255.


Note -

The number of characters actually displayed for each file name may vary when using variable-width fonts because the width is calculated based on the width of the average character in the font.


Names that do not fit within the specified length are followed by a "greater than" sign (>) to show that the complete name is not displayed. Figure 2-36 shows an example of the file pane with shorter file names set.

Figure 2-36 File Pane with Shorter File Names Specified

Graphic

If you want to see the complete file name, you can click SELECT on the name. In this example, the file .ab_cardca> is selected, and the full name is displayed in an editable text field, as shown in the example in Figure 2-37.

Figure 2-37 Displaying a complete file name when short names are specified

Graphic

Icon Layout

The Icon Layout setting determines whether files in the file pane are listed in rows (horizontally) or columns (vertically). The default is row order. For example, if files are sorted alphabetically by Name in rows, they are listed in from left to right, with the first files on the top row, then the second row, and so on. If files are sorted alphabetically by Name in columns, they are listed from top to bottom, with the first files in the left column, then the second column, etc. Figure 2-38 shows files sorted by Name in rows, and Figure 2-39 shows the same files sorted in columns.

Figure 2-38 Icons Listed in Rows (Horizontally) in the File Pane

Graphic

Figure 2-39 Icons Listed in Columns (Vertically) in the File Pane

Graphic

Sort By Options

The Sort By Options allow you to choose how the files in the file pane are sorted. You can choose any of the following settings:

Hidden Files

The Hidden Files settings allow you to choose whether or not to display hidden system files (or dot files as they are sometimes called). Hidden files are usually system or configuration files, and the filename is preceded by a dot (.). Figure 2-40 shows an example of a listing with hidden files displayed.

Figure 2-40 File Pane with Hidden Files (dot files) Visible

Graphic

Display Files As

Display Files as lets you determine the default way to display your files in the file pane. You can choose any of the following settings:

Show in List

The Properties window option Show in List allow you to choose how much information is displayed when you display the contents of the file pane as a list with mini-icons as shown in Figure 2-41.

The list options in Show in List are nonexclusive settings. You can choose none, some, or all of the options. To set an option, click SELECT to toggle it from off to on, or from on to off. (Chosen options have a thickened border on monochrome monitors.) Figure 2-41 shows an example of a list display when all of the options are chosen.

Figure 2-41 File Pane with all of the List Options Set

Graphic

View Contents As

View Contents as lets you determine the type of files that you want to display a preview of when the Display Mode is Content.

View By Content

When your file system contains icon and raster files created by applications, such as Icon Editor and Snapshot, you can display an image of the contents of the file in place of the standard data file icon. The images are displayed to scale in a 64-by-64 pixel square.

Choosing Content as your default Display Mode in the New Folder Defaults window displays the contents of black-and-white and color icons, rasters, X bitmap files, or any combination of these. Folders, applications, and other files are displayed as icons. Figure 2-42 is an example of a Contents file display.

Figure 2-42 Contents File Display

Graphic


Note -

Choosing to display the contents of icon and raster files can delay the reading and displaying of other types of files and folders since File Manager must perform some additional processing to provide the preview.


You can select any or all of the options, as follows:

Current Folder Settings

This allows you to change the settings of the current folder. These settings are identical to the property settings that can be set for a new folder except there is no Default Name field. For complete information on these settings, refer to "New Folder Defaults".

Figure 2-43 Current Folder Settings Menu

Graphic


Note -

The Current Folder Settings window displays the same information for the active (selected) folder window only. You can use this to change the settings for the designated active window.


Go To Menu Defaults

This allows you to change the defaults of the Go To menu. You can set the Go To menu properties to show a trail of the directory paths you last visited, and you can set up special paths to directories that you visit often. The Go To menu has several sections divided by spaces. Typically, you see a default label for home (a label for your home directory pathname), application specific defaults that include Waste and Folder View, then the paths to the directories you last visited.

Figure 2-44 The Go To Menu Defaults

Graphic

Custom Commands

The Custom Commands window allows you to create and store commonly used operating system commands. Once you have added the commands to the menu, you can use them at any time by choosing them from the Custom Commands submenu from the File menu.

Creating Custom Commands

Choose Custom Commands category from the Properties menu, as shown in Figure 2-45. You use this window to add often-used UNIX commands to your Custom Commands menu. You can even create a command that lets you specify different options every time the command is chosen.


Note -

The Custom Command feature assumes that you have some working knowledge of the UNIX operating system. If you are not familiar with UNIX or have problems, you might want to have your system administrator help you create any desired custom commands.


Figure 2-45 Custom Command Pop-up Window

Graphic

The scrolling list shows your current custom commands. You use this window to add, delete, and change the order of your custom commands.

Follow the steps below to add a new custom command to the Custom Commands Menu Items scroll box. Follow the examples to add a custom command to search for a particular text string in the selected files or folders.

  1. Type the actual UNIX command in the UNIX Command text field.

    You can add $FILE or $ARG to the command to represent the currently selected file or special arguments (options) that you can specify at the time you choose the command.

    In this example, type grep $ARG $FILE in the UNIX command text field.

  2. Type the name of the command that you want to appear in the Menu Label text field.

    This Menu Label does not have to be the actual UNIX command. You may want the command to be something more descriptive.

    In this example, type String Search.

  3. Add the item.

  4. To prompt for command options, (that is, if you are using $ARG in the UNIX command), choose Yes on the Prompt Window setting, then type the prompt label into the first line of the Prompt text field.

    If you use a prompt window, when the custom command is chosen from the Custom Commands menu a window is displayed with the prompt label. You use this pop-up window to type the command options.

    In this example, choose Yes on the Prompt Window setting and type Search For: in the Prompt text field. When your custom command is chosen from the Custom Commands window, a window is displayed in which you can specify the text that you want to search for.

  5. If your custom command will create any output, choose Yes on the Output Window setting.

    This causes an output window to be displayed when the custom command is chosen, where you can see the result of your command.

    In this example, you want to choose Yes on the Output Window. Then when you choose the new custom command from the Custom Commands menu, a window will be displayed that lists the places the text string is found.

  6. Click SELECT on Apply to add the new command to the Custom Commands scrolling list.

    To use the item, select the folders and files where you want to search for text, choose the String Search command from the Custom Commands submenu, and type the text string to search for in the window that is displayed. Press RETURN to quit or SELECT Quit from the output window.

Advanced Settings

You can change the way File Manager behaves and the way it presents certain information by changing controls in the Advanced Settings window. To display the Advanced Settings window, choose Advanced Settings from Category.

The File Manager Tool Properties window is shown in Figure 2-46.

Figure 2-46 Tool Properties Window

Graphic

Print Method

The Print Method text field allows you to specify a default UNIX print script for files that are printed from File Manager that do not have a print method defined in the Binder database. The print script shown in Figure 2-46 prints your files in landscape mode on your default printer, using the mp PostScript pretty printer. If you want to change the print script, make sure to type $FILE in the script where the file name should be inserted.

View Filter Pattern

The View Filter Pattern text field allows you to specify that only files of a certain type are displayed in the file pane of File Manager. In the example shown in Figure 2-47, the filter pattern *.rs shows only the raster files in a directory, even though other files are there. Note that the header of the window shows you what filter pattern is set.

Figure 2-47 File Pane with a *.rs Filter Pattern Set

Graphic

Default Editor

Update File System

You can set the number of seconds that File Manager checks to see if any items were added or deleted.

Follow Symbolic Links

If Symbolic Lines is set to No (the default), you see filenames just as you typed them. For example, in the Go To field. If Symbolic Links is set to Yes, you see links made across file systems.

Open File Manager Window

Automatically opens the CD window of the CD that has been inserted.

Use Generic Icons

When you insert a Floppy or CD, it can take some time for the icons to display. If it is not important to you what the icons look like, and/or if you want the them to display quickly, you can set Yes and a generic representation of the icon is displayed and is much quicker time.