Initial import of the CDE 2.1.30 sources from the Open Group.
[oweals/cde.git] / cde / doc / C / guides / usersGuide / ch05.sgm
1 <!-- $XConsortium: ch05.sgm /main/13 1996/11/11 20:12:59 cdedoc $ -->
2 <!-- (c) Copyright 1995 Digital Equipment Corporation. -->
3 <!-- (c) Copyright 1995 Hewlett-Packard Company. -->
4 <!-- (c) Copyright 1995 International Business Machines Corp. -->
5 <!-- (c) Copyright 1995 Sun Microsystems, Inc. -->
6 <!-- (c) Copyright 1995 Novell, Inc. -->
7 <!-- (c) Copyright 1995 FUJITSU LIMITED. -->
8 <!-- (c) Copyright 1995 Hitachi. -->
9 <chapter id="UG.FMgr.div.1">
10 <title id="UG.FMgr.mkr.1">Managing Files with File Manager</title>
11 <para id="UG.FMgr.mkr.2">Use File Manager to create, find, and use desktop
12 objects: files, folders, and applications. Each object is
13 represented by an icon in File Manager.</para>
14 <informaltable id="UG.FMgr.itbl.1" frame="All">
15 <tgroup cols="1">
16 <colspec colname="1" colwidth="4.0 in">
17 <tbody>
18 <row rowsep="1">
19 <entry><para><!--Original XRef content: 'Introducing the File Manager Window
20 and Desktop82'--><xref role="JumpText" linkend="UG.FMgr.mkr.3"></para></entry>
21 </row>
22 <row rowsep="1">
23 <entry><para><!--Original XRef content: 'Basic File System Concepts83'--><xref
24 role="JumpText" linkend="UG.FMgr.mkr.4"></para></entry></row>
25 <row rowsep="1">
26 <entry><para><!--Original XRef content: 'Basic File Management Skills86'--><xref
27 role="JumpText" linkend="UG.FMgr.mkr.5"></para></entry></row>
28 <row rowsep="1">
29 <entry><para><!--Original XRef content: 'Manipulating Files and Folders92'--><xref
30 role="JumpText" linkend="UG.FMgr.mkr.12"></para></entry></row>
31 <row rowsep="1">
32 <entry><para><!--Original XRef content: 'Navigating to Folders and Subfolders95'--><xref
33 role="JumpText" linkend="UG.FMgr.mkr.14"></para></entry></row>
34 <row rowsep="1">
35 <entry><para><!--Original XRef content: 'Deleting Objects to the Trash Can98'--><xref
36 role="JumpText" linkend="UG.FMgr.mkr.16"></para></entry></row>
37 <row rowsep="1">
38 <entry><para><!--Original XRef content: 'Using File Manager Objects on the
39 Desktop102'--><xref role="JumpText" linkend="UG.FMgr.mkr.19"></para></entry>
40 </row>
41 <row rowsep="1">
42 <entry><para><!--Original XRef content: 'Locating Files104'--><xref role="JumpText"
43 linkend="UG.FMgr.mkr.20"></para></entry></row>
44 <row rowsep="1">
45 <entry><para><!--Original XRef content: 'Customizing File Manager Views107'--><xref
46 role="JumpText" linkend="UG.FMgr.mkr.23"></para></entry></row></tbody></tgroup>
47 </informaltable>
48 <sect1 id="UG.FMgr.div.2" role="Procedure">
49 <title>To Open File Manager</title>
50 <orderedlist><listitem><para>Click the File Manager control in the Front Panel.<indexterm>
51 <primary>File Manager</primary><secondary>starting</secondary></indexterm><indexterm>
52 <primary>Front Panel</primary><secondary>File Manager control</secondary>
53 </indexterm><indexterm><primary>File Manager</primary><secondary>Front Panel
54 control</secondary></indexterm><indexterm><primary>starting</primary><secondary>File Manager</secondary></indexterm></para>
55 </listitem></orderedlist>
56 <graphic id="UG.FMgr.igrph.1" entityref="UG.FMgr.fig.1"></graphic>
57 </sect1>
58 <sect1 id="UG.FMgr.div.3">
59 <title id="UG.FMgr.mkr.3">Introducing the File Manager Window and Desktop</title>
60 <para><indexterm><primary>File Manager</primary><secondary>main window</secondary>
61 </indexterm>The File Manager main window is a view of a folder on your system.
62 The folder you are currently viewing is called the <emphasis>current folder</emphasis></para>
63 <graphic id="UG.FMgr.igrph.2" entityref="UG.FMgr.fig.2"></graphic>
64 <informaltable>
65 <tgroup cols="2" colsep="0" rowsep="0">
66 <?PubTbl tgroup dispwid="6.07in">
67 <colspec align="left" colwidth="148*">
68 <colspec align="left" colwidth="352*">
69 <tbody>
70 <row>
71 <entry align="left" valign="top"><para>Current folder path</para></entry>
72 <entry align="left" valign="top"><para>Displays the path to the current folder
73 </para></entry></row>
74 <row>
75 <entry align="left" valign="top"><para>Menu bar and menus</para></entry>
76 <entry align="left" valign="top"><para>Contain the commands available in File
77 Manager</para></entry></row>
78 <row>
79 <entry align="left" valign="top"><para>Object viewing area</para></entry>
80 <entry align="left" valign="top"><para>Shows the objects (files and folders)
81 in the current working folder</para></entry></row>
82 <row>
83 <entry align="left" valign="top"><para>Object icons</para></entry>
84 <entry align="left" valign="top"><para>Icons representing the files and folders
85 in the current folder</para></entry></row></tbody></tgroup></informaltable>
86 </sect1>
87 <sect1 id="UG.FMgr.div.4">
88 <title id="UG.FMgr.mkr.4">Basic File System Concepts</title>
89 <para>This section describes basic file system concepts.<indexterm><primary>hierarchical file system</primary></indexterm><indexterm><primary>file system</primary><secondary>concepts</secondary></indexterm><indexterm><primary>file system</primary><secondary>hierarchical</secondary></indexterm></para>
90 <sect2 id="UG.FMgr.div.5">
91 <title>Files</title>
92 <para>A <symbol role="Variable">file</symbol> is a container that holds information.
93 Most of the files you use contain information (data) in some particular format&mdash;a
94 document, a spreadsheet, a chart. The format is the particular way the data
95 is arranged inside the file. The format of a file is known as its <emphasis>data type</emphasis>.</para>
96 <para>When File Manager is in one of its icon-view modes, you can identify
97 the data type of a file by the icon used to represent the file. Each data
98 type has a different icon.</para>
99 <para>Most application programs understand a limited number of data types.
100 For example, a document editor probably cannot read a spreadsheet file. The
101 desktop helps you recognize different types of files using a data type database.
102 A data type identifies the files of a particular format and associates them
103 with the appropriate applications. These associations mean you don't have
104 to remember commands to accomplish frequent tasks. In most cases, when you
105 double-click a file, the desktop will automatically launch the application
106 that understands that file's data type.</para>
107 <para>The maximum allowable length of a file name varies from system to system.
108 Some operating systems do not allow file names longer than 14 characters.
109 If necessary, consult with your system administrator.</para>
110 </sect2>
111 <sect2 id="UG.FMgr.div.6">
112 <title>Folders<indexterm><primary>folders</primary><secondary>definition
113 of</secondary></indexterm><indexterm><primary>objects</primary><secondary>folder</secondary></indexterm></title>
114 <para><indexterm><primary>directories, &lt;Emphasis>See &lt;Default Para Font> folders &lt;$nopage></primary></indexterm>A <emphasis>folder</emphasis> is a container for files,
115 similar to a folder in a file cabinet. In fact, File Manager uses a folder
116 icon to represent a folder. A folder can contain other folders&mdash;sometimes
117 called subfolders. With folders and subfolders, you can create multiple layers
118 of organization that form a hierarchy. In other contexts, folders are often
119 referred to as directories.</para>
120 <para>If you drew a picture of the folder hierarchy with each subfolder underneath
121 the folder that contains it&mdash;its parent folder&mdash;and drew a line
122 from each folder to its parent, the picture would look like an upside-down
123 tree. Therefore, we often call the folder hierarchy a <emphasis>folder tree</emphasis>.<indexterm><primary>subdirectories</primary><secondary>definition
124 of</secondary></indexterm><indexterm><primary>subfolders</primary><secondary>definition of</secondary></indexterm></para>
125 <para>Within any single folder, each file name must be unique. However, files
126 in different folders may have the same name.</para>
127 <para>As you navigate from folder to folder, your current location is referred
128 to as the <emphasis>current folder<indexterm><primary>current folder</primary>
129 </indexterm></emphasis>.</para>
130 </sect2>
131 <sect2 id="UG.FMgr.div.7">
132 <title>Objects</title>
133 <para>Since files and folders are both represented in File Manager as icons,
134 the term <symbol role="Variable">object</symbol> is used to describe them
135 both. Objects are discrete things on the desktop that you can create and
136 manipulate.</para>
137 <para>On the desktop, applications can also be represented as objects. For
138 example, Application Manager contains objects representing the applications
139 available on your system.</para>
140 </sect2>
141 <sect2 id="UG.FMgr.div.8">
142 <title>Paths<indexterm><primary>file path</primary></indexterm><indexterm>
143 <primary>path</primary></indexterm><indexterm><primary>path</primary></indexterm></title>
144 <para>The location of a file is often specified by listing the folders and
145 subfolders that lead to the file&mdash;this list is called a <emphasis>path</emphasis>. A file's path is visible in two places in File Manager. First
146 it is shown in the iconic path as a string of folders. Second, it is shown
147 in a text form in the text path line above the view area. These two areas
148 can be turned off. (See <!--Original XRef content: '&xd2;To Configure the
149 Headers&xd3; on page&numsp;107'--><xref role="SecTitleAndPageNum" linkend="UG.FMgr.mkr.24">
150 for more information.)</para>
151 <sect3 id="UG.FMgr.div.9">
152 <title>Paths and Path Names</title>
153 <para>The path to an object is a way to specify where the object is located
154 in the file system. There are two ways to specify the path: absolute path
155 and relative path.</para>
156 </sect3>
157 <sect3 id="UG.FMgr.div.10">
158 <title>Absolute Paths</title>
159 <para>A path is an <emphasis>absolute path<indexterm><primary>absolute path</primary></indexterm></emphasis> if it begins at the root folder. The <emphasis>root folder</emphasis> is the single common folder on your system where the
160 hierarchy begins. If a path begins with a slash (/), it is an absolute path
161 specified from the root folder. For example, the following is an absolute
162 path to the file <computeroutput>letter:</computeroutput></para>
163 <programlisting>/usr/dt/config/letter</programlisting>
164 </sect3>
165 <sect3 id="UG.FMgr.div.11">
166 <title>Relative Paths</title>
167 <para>A path is <emphasis>relative<indexterm><primary>relative path</primary>
168 </indexterm></emphasis> if it describes the location of a file or folder as
169 it relates to the current folder. If you are in a folder and you want to
170 move down the folder tree, you don't need to type the absolute path name.
171 You can just type the path starting with the name of the next folder in the
172 path. If a path does not begin with a slash, it is a relative path. For example,
173 if the current folder is <filename>/usr/dt</filename> and you want to move
174 to the folder <filename>/usr/dt/config/letters</filename>, you would use
175 the following relative path:</para>
176 <programlisting>config/letters</programlisting>
177 <para>Two special folder names are useful when specifying relative paths.
178 The &ldquo;.&rdquo; folder (sometimes called &ldquo;dot&rdquo;) represents
179 the current folder. The &ldquo;..&rdquo; folder (sometimes called &ldquo;dot-dot&rdquo;)
180 represents the <symbol role="Variable">parent</symbol> folder&mdash;the folder
181 one level up in the folder hierarchy. For example, if your current folder
182 is <computeroutput>/usr/dt/config</computeroutput>, then the relative path
183 to the <computeroutput>Dtwm</computeroutput> file becomes:</para>
184 <programlisting>../app-defaults/<symbol role="Variable">language</symbol>/Dtwm
185 </programlisting>
186 <para>because the file is in the <computeroutput>/usr/dt/app-defaults/</computeroutput><symbol role="Variable">language</symbol> folder, one level above the current folder
187 and in the app-defaults/<symbol role="Variable">language</symbol> subfolder.
188 </para>
189 </sect3>
190 <sect3 id="UG.FMgr.div.12">
191 <title>See Also</title>
192 <itemizedlist remap="Bullet1"><listitem><para><!--Original XRef content: '&xd2;To
193 Change to Another Folder&xd3; on page&numsp;95'--><xref role="SecTitleAndPageNum"
194 linkend="UG.FMgr.mkr.15"></para>
195 </listitem><listitem><para><!--Original XRef content: '&xd2;To Find an Object
196 by Name&xd3; on page&numsp;105'--><xref role="SecTitleAndPageNum" linkend="UG.FMgr.mkr.21"></para>
197 </listitem><listitem><para><!--Original XRef content: '&xd2;To Find a File
198 by Contents&xd3; on page&numsp;106'--><xref role="SecTitleAndPageNum" linkend="UG.FMgr.mkr.22"></para>
199 </listitem></itemizedlist>
200 <para>If you still want to learn more about your computer's file system, refer
201 to the online help or documentation for your operating system. There are
202 also many commercial books available that cover the basics of file systems
203 and file management.</para>
204 </sect3>
205 </sect2>
206 </sect1>
207 <sect1 id="UG.FMgr.div.13">
208 <title id="UG.FMgr.mkr.5">Basic File Management Skills<indexterm><primary>basic file management skills</primary></indexterm><indexterm><primary>file
209 management, basic skills</primary></indexterm><indexterm><primary>managing
210 files</primary></indexterm></title>
211 <para>To get started using File Manager, you need to learn a few basic skills.
212 Each icon in File Manager represents an object that you can manipulate in
213 a variety of ways, including:</para>
214 <itemizedlist remap="Bullet1"><listitem><para>Object selection</para>
215 </listitem><listitem><para>Dragging and dropping</para>
216 </listitem><listitem><para>Using pop-up menus</para>
217 </listitem><listitem><para>Renaming objects</para>
218 </listitem><listitem><para>Getting online help on objects</para>
219 </listitem><listitem><para>Opening objects</para>
220 </listitem></itemizedlist>
221 <sect2 id="UG.FMgr.div.14" role="Procedure">
222 <title id="UG.FMgr.mkr.6">To Select a Single File or Folder<indexterm><primary>selecting</primary><secondary>files</secondary></indexterm><indexterm><primary>selecting</primary><secondary>folders</secondary></indexterm><indexterm>
223 <primary>selecting</primary><secondary>objects</secondary></indexterm><indexterm>
224 <primary>selecting</primary><secondary>icons</secondary></indexterm><indexterm>
225 <primary>objects</primary><secondary>selecting single</secondary></indexterm><indexterm>
226 <primary>files</primary><secondary>selecting single</secondary></indexterm><indexterm>
227 <primary>folders</primary><secondary>selecting single</secondary></indexterm><indexterm>
228 <primary>icons</primary><secondary>selecting single</secondary></indexterm></title>
229 <para>When you select the icon of a file or folder, its name is highlighted.
230 Many choices in File Manager's menus apply to the currently <emphasis>selected</emphasis> file or folder. You select an object so that you can use one
231 of the Selected menu choices on that object. The Selected menu contains choices
232 that affect only the currently selected objects. The contents of this menu
233 will change as you select different kinds of objects in the view area. These
234 choices will appear dimmed until you select an icon.</para>
235 <sect3 id="UG.FMgr.div.15">
236 <title>Mouse</title>
237 <orderedlist><listitem><para>Click once on the icon.</para>
238 </listitem></orderedlist>
239 </sect3>
240 <sect3 id="UG.FMgr.div.16">
241 <title>Keyboard</title>
242 <orderedlist><listitem><para>Use the Tab and arrow keys to move the highlight
243 to the icon you want to select.</para>
244 </listitem><listitem><para>Press the Spacebar.</para>
245 </listitem></orderedlist>
246 <para>To deselect a file or folder, select another icon or click an empty
247 area within the File Manager window.</para>
248 </sect3>
249 </sect2>
250 <sect2 id="UG.FMgr.div.17" role="Procedure">
251 <title id="UG.FMgr.mkr.7">To Select Multiple Files and Folders<indexterm>
252 <primary>selecting</primary><secondary>multiple files</secondary></indexterm><indexterm>
253 <primary>selecting</primary><secondary>multiple folders</secondary></indexterm><indexterm>
254 <primary>selecting</primary><secondary>multiple objects</secondary></indexterm><indexterm>
255 <primary>selecting</primary><secondary>multiple icons</secondary></indexterm><indexterm>
256 <primary>objects</primary><secondary>selecting multiple</secondary></indexterm><indexterm>
257 <primary>files</primary><secondary>selecting multiple</secondary></indexterm><indexterm>
258 <primary>folders</primary><secondary>selecting multiple</secondary></indexterm><indexterm>
259 <primary>icons</primary><secondary>selecting multiple</secondary></indexterm></title>
260 <para>You select multiple objects so that you can use one of the Selected
261 menu choices on these objects. Selecting multiple files is useful if you
262 want to delete several files at once, or move a group of files to a new folder.
263 However, when you select more than one object, the Actions portion of the
264 Selected menu will be empty.</para>
265 <para>When multiple icons are selected, dragging any one of the selected icons
266 drags the whole group. The Selected menu and various menu commands that apply
267 only to a single object are inactive.</para>
268 <sect3 id="UG.FMgr.div.18">
269 <title>Mouse</title>
270 <itemizedlist remap="Bullet1"><listitem><para>Press the left mouse button in a blank
271 area of the view, drag the mouse to draw a box around the icons you want
272 to select, then release the mouse button.</para>
273 <para><emphasis>Or,</emphasis> you can click the left mouse button to select the
274 first icon, then hold down the Control key and click the left mouse button to select
275 each additional icon. This method is useful when the icons you want to select
276 are not located next to each other.</para>
277 </listitem><listitem><para>To remove a single icon from a selected group,
278 hold the Control key down and click the icon you want to remove.</para>
279 </listitem></itemizedlist>
280 </sect3>
281 <sect3 id="UG.FMgr.div.19">
282 <title>Keyboard</title>
283 <orderedlist><listitem><para>Select the first file or folder icon by pressing
284 the Spacebar.</para>
285 </listitem><listitem><para>For each additional icon you want to select, move
286 the highlight to it, then press Control+Spacebar.</para>
287 </listitem></orderedlist>
288 </sect3>
289 </sect2>
290 <sect2 id="UG.FMgr.div.20" role="Procedure">
291 <title id="UG.FMgr.mkr.8">To Drag and Drop a File or Folder<indexterm><primary>dropping</primary><secondary>files</secondary></indexterm><indexterm><primary>dropping</primary><secondary>folders</secondary></indexterm><indexterm><primary>dropping</primary><secondary>objects</secondary></indexterm><indexterm><primary>objects</primary><secondary>dropping</secondary></indexterm><indexterm><primary>files</primary><secondary>dropping</secondary></indexterm><indexterm><primary>folders</primary><secondary>dropping</secondary></indexterm><indexterm><primary>canceling</primary><secondary>dragging</secondary></indexterm><indexterm>
292 <primary>dragging</primary><secondary>canceling</secondary></indexterm><indexterm>
293 <primary>dragging</primary><secondary>files</secondary></indexterm><indexterm>
294 <primary>dragging</primary><secondary>folders</secondary></indexterm><indexterm>
295 <primary>files</primary><secondary>dragging</secondary></indexterm><indexterm>
296 <primary>folders</primary><secondary>dragging</secondary></indexterm><indexterm>
297 <primary>objects</primary><secondary>dragging</secondary></indexterm><indexterm>
298 <primary>dragging</primary><secondary>objects</secondary></indexterm></title>
299 <orderedlist><listitem><para>Put the mouse pointer over the file or folder.
300 </para>
301 </listitem><listitem><para>Press <emphasis>and hold</emphasis> the left mouse button.</para>
302 </listitem><listitem><para>Drag the icon to where you want to drop it.</para>
303 </listitem><listitem><para>Release the mouse button.</para>
304 </listitem></orderedlist>
305 <para>So, the motion for dropping an object is <emphasis>press&hellip;drag&hellip;release</emphasis>.</para>
306 <para>To cancel a drag in progress, press Esc before releasing the mouse button.
307 </para>
308 <figure>
309 <title>Drag icon showing the object being dragged</title>
310 <graphic id="UG.FMgr.grph.1" entityref="UG.FMgr.fig.3"></graphic>
311 </figure>
312 <para>If more than one icon is selected, you drag the entire group by dragging
313 any of the selected icons.</para>
314 <note>
315 <para>You cannot drag and drop an object without a mouse or other pointing
316 device.</para>
317 </note>
318 <sect3 id="UG.FMgr.div.21">
319 <title>Basic Drag-and-Drop Tasks</title>
320 <itemizedlist remap="Bullet1"><listitem><para>To move a file to another folder,
321 drop the icon on the destination folder's icon. Or, if both the source and
322 destination folders are open, drag the icon from the source folder's view
323 window and drop it onto the background of the folder's view window.</para>
324 </listitem><listitem><para>To place an icon for a file or folder on the backdrop
325 of your current workspace, drop the file or folder icon outside of any window.
326 A desktop object is really just a <emphasis>reference</emphasis> to the real
327 object, which remains in the File Manager view, unchanged.</para>
328 </listitem><listitem><para>To print a file, drop the file icon onto the Printer
329 control in the Front Panel (or one of the printers in the Personal Printers
330 subpanel).</para>
331 </listitem><listitem><para>To delete a file or folder, drop the file or folder
332 icon onto the Trash Can control in the Front Panel.</para>
333 </listitem></itemizedlist>
334 <para>If you try to drop an icon in a location that does not support dropped
335 objects, the icon snaps back to its original location in File Manager or
336 on the desktop.</para>
337 </sect3>
338 </sect2>
339 <sect2 id="UG.FMgr.div.22" role="Procedure">
340 <title id="UG.FMgr.mkr.9">To Display a Pop-up Menu<indexterm><primary>pop-up
341 menus</primary><secondary>displaying</secondary></indexterm></title>
342 <para>Each object in File Manager has a pop-up menu. The File Manager window
343 itself has a pop-up menu viewable when the pointer is placed in a location
344 in the view window outside the boundaries of the individual file or folder
345 objects.</para>
346 <sect3 id="UG.FMgr.div.23">
347 <title>Mouse</title>
348 <orderedlist><listitem><para>Point to the icon whose pop-up menu you want
349 to display and press the right mouse button.</para>
350 <figure>
351 <title>Sample pop-up menu</title>
352 <graphic id="UG.FMgr.grph.2" entityref="UG.FMgr.fig.4"></graphic>
353 </figure>
354 </listitem>
355 <listitem><para>To choose a command from the menu, drag to the
356 command, then release. Or, click the command.</para>
357 </listitem></orderedlist>
358 </sect3>
359 <sect3 id="UG.FMgr.div.24">
360 <title>Keyboard</title>
361 <orderedlist><listitem><para>Using the Tab and direction keys, move the highlight
362 to the icon whose menu you want to display.</para>
363 </listitem><listitem><para>Press Shift+F10.</para>
364 </listitem><listitem><para>To choose a command from the menu, use the direction
365 keys to highlight the command, then press Return.</para>
366 </listitem><listitem><para>To cancel the menu without choosing a command,
367 press Esc.</para>
368 </listitem></orderedlist>
369 </sect3>
370 </sect2>
371 <sect2 id="UG.FMgr.div.25" role="Procedure">
372 <title id="UG.FMgr.mkr.10">To Rename a File or Folder<indexterm><primary>renaming</primary><secondary>objects</secondary></indexterm><indexterm><primary>objects</primary><secondary>renaming</secondary></indexterm><indexterm>
373 <primary>renaming</primary><secondary>files</secondary></indexterm><indexterm>
374 <primary>renaming</primary><secondary>folders</secondary></indexterm><indexterm>
375 <primary>objects</primary><secondary>renaming</secondary></indexterm><indexterm>
376 <primary>files</primary><secondary>renaming</secondary></indexterm><indexterm>
377 <primary>folders</primary><secondary>renaming</secondary></indexterm></title>
378 <note>
379 <para>You can rename only objects for which you have appropriate permissions.
380 Also, note that you cannot rename actions.</para>
381 </note>
382 <sect3 id="UG.FMgr.div.26">
383 <title>Mouse</title>
384 <orderedlist><listitem><para>Select the file or folder name by clicking the
385 name beneath its icon.</para>
386 </listitem><listitem><para>Type the new name.</para>
387 </listitem><listitem><para>Press Return. If you click outside the name without
388 first pressing Return, your changes will be lost.</para>
389 </listitem></orderedlist>
390 <para>To cancel a rename operation, press Esc.</para>
391 </sect3>
392 <sect3 id="UG.FMgr.div.27">
393 <title>Keyboard</title>
394 <orderedlist><listitem><para>Use the Tab and arrow keys to move to the icon
395 for the file or folder you want to rename.</para>
396 </listitem><listitem><para>Press the Spacebar to highlight (select) the icon
397 name.</para>
398 </listitem><listitem><para>Choose Rename from the Selected menu.</para>
399 </listitem><listitem><para>Type the new name.</para>
400 </listitem><listitem><para>Press Return.</para>
401 </listitem></orderedlist>
402 <para>To cancel a rename operation, press Esc.</para>
403 </sect3>
404 </sect2>
405 <sect2 id="UG.FMgr.div.28" role="Procedure">
406 <title id="UG.FMgr.mkr.11">To Get Help on a File or Folder<indexterm><primary>help</primary><secondary>on objects</secondary>
407 </indexterm><indexterm><primary>objects</primary><secondary>getting help
408 on</secondary></indexterm><indexterm><primary>help</primary><secondary>displaying
409 for file</secondary></indexterm><indexterm><primary>help</primary><secondary>displaying for folder</secondary></indexterm><indexterm><primary>objects</primary><secondary>getting help on</secondary></indexterm><indexterm><primary>files</primary><secondary>getting help on</secondary></indexterm><indexterm>
410 <primary>folders</primary><secondary>getting help on</secondary></indexterm><indexterm>
411 <primary>On Item help</primary></indexterm></title>
412 <para>The description displayed when you ask for help on an icon describes
413 the data type associated with the file or folder. The description is specified
414 in the object's data-type definition.</para>
415 <sect3 id="UG.FMgr.div.29">
416 <title>Mouse</title>
417 <itemizedlist remap="Bullet1"><listitem><para>Select the file or folder, then
418 press F1.</para>
419 </listitem><listitem><para><emphasis>Or,</emphasis> put the mouse pointer
420 on the object and select help from the object's pop-up menu (displayed by
421 pressing the right mouse button).</para>
422 </listitem><listitem><para><emphasis>Or,</emphasis> choose On Item from the
423 Help menu, then click the file or folder's icon.</para>
424 </listitem></itemizedlist>
425 </sect3>
426 <sect3 id="UG.FMgr.div.30">
427 <title>Keyboard</title>
428 <orderedlist><listitem><para>Use the Tab and arrow keys to move to the icon,
429 then press F1.</para>
430 </listitem></orderedlist>
431 </sect3>
432 <sect3 id="UG.FMgr.div.31">
433 <title>See Also</title>
434 <itemizedlist remap="Bullet1"><listitem><para>To find out more about how to
435 use Help, see <!--Original XRef content: 'Chapter&numsp;3, &xd2;Getting Help'--><xref
436 role="ChapNumAndTitle" linkend="UG.GHelp.mkr.1">.</para>
437 </listitem><listitem><para>For an introduction to creating data types and
438 actions, see <!--Original XRef content: '&xd2;Creating
439 Personal Actions and Data Types'--><xref role="SectionTitle" linkend="UG.UAppM.mkr.4">
440 in <!--Original XRef content: 'Chapter&numsp;6, &xd2;Running Applications
441 from the Desktop'--><xref role="ChapNumAndTitle" linkend="UG.UAppM.mkr.1">.
442 </para>
443 </listitem></itemizedlist>
444 </sect3>
445 </sect2>
446 <sect2 id="UG.FMgr.div.32">
447 <title>Opening a File or Folder<indexterm><primary>opening</primary><secondary>objects</secondary></indexterm><indexterm><primary>objects</primary><secondary>opening</secondary></indexterm></title>
448 <para>The most basic action you can perform on an object is to open it. &ldquo;Open&rdquo;
449 is a very general term, and the action taken depends on the type of object
450 you are opening. For example, opening a folder changes the File Manager view
451 to show the contents of that folder. Opening a data file usually starts the
452 application that created the file and loads the data file<indexterm><primary>opening</primary><secondary>files</secondary></indexterm><indexterm><primary>opening</primary><secondary>folders</secondary></indexterm><indexterm><primary>opening</primary><secondary>objects</secondary></indexterm><indexterm><primary>objects</primary><secondary>opening</secondary></indexterm><indexterm><primary>files</primary><secondary>opening</secondary></indexterm><indexterm><primary>folders</primary><secondary>opening</secondary></indexterm><indexterm><primary>Actions menu</primary></indexterm><indexterm><primary>double-clicking</primary>
453 <secondary>action performed</secondary></indexterm><indexterm><primary>actions</primary><secondary>double-clicking</secondary></indexterm></para>
454 <sect3 id="UG.FMgr.div.33" role="Procedure">
455 <title>To Open a File or Folder</title>
456 <itemizedlist remap="Bullet1"><listitem><para>Double-click the icon.</para>
457 <para>Double-clicking an icon executes the object's <symbol role="Variable">default action</symbol>, which is always the first action in the Actions
458 portion of the Selected menu. For most data files, the default action opens
459 the file by starting the appropriate application and loading the file.</para>
460 </listitem><listitem><para><emphasis>Or,</emphasis> select the icon, then
461 go to the menu bar and choose Open (or Open In Place or Open New View) from
462 the Selected menu.</para>
463 </listitem><listitem><para><emphasis>Or,</emphasis> choose an Open item from
464 the icon's pop-up menu (displayed by pressing Shift+F10 or the right mouse button).
465 </para>
466 </listitem></itemizedlist>
467 </sect3>
468 </sect2>
469 </sect1>
470 <sect1 id="UG.FMgr.div.34">
471 <title id="UG.FMgr.mkr.12">Manipulating Files and Folders<indexterm><primary>objects</primary><secondary>manipulating</secondary></indexterm></title>
472 <para>The major identifying features of a file or folder are:</para>
473 <itemizedlist remap="Bullet1"><listitem><para>Its name and location in the
474 folder hierarchy.</para>
475 </listitem><listitem><para>Its owner permissions (properties).</para>
476 <para>For more information on permissions and how to set them, see <!--Original
477 XRef content: '&xd2;To Change
478 the Permissions on a File or Folder&xd3; on page&numsp;101'--><xref role="SecTitleAndPageNum"
479 linkend="UG.FMgr.mkr.18">.</para>
480 </listitem><listitem><para>Whether it is linked to another file. A linked
481 file is a representation of another file. Linked files provide a way for
482 you to have one file that appears to exist in two or more folders.</para>
483 </listitem></itemizedlist>
484 <sect2 id="UG.FMgr.div.35" role="Procedure">
485 <title>To Create a New File or Folder<indexterm><primary>objects</primary>
486 <secondary>creating</secondary></indexterm><indexterm><primary>files</primary>
487 <secondary>creating</secondary></indexterm><indexterm><primary>folders</primary>
488 <secondary>creating</secondary></indexterm><indexterm><primary>creating</primary><secondary>objects</secondary></indexterm><indexterm><primary>creating</primary><secondary>files</secondary></indexterm><indexterm><primary>creating</primary><secondary>folders</secondary></indexterm><indexterm><primary>creating</primary><secondary>objects</secondary></indexterm><indexterm><primary>objects</primary><secondary>creating</secondary></indexterm><indexterm><primary>files</primary><secondary>creating</secondary></indexterm><indexterm><primary>folders</primary><secondary>creating</secondary></indexterm></title>
489 <orderedlist><listitem><para>Choose New File or New Folder from the File menu.
490 </para>
491 </listitem><listitem><para>Type the name into the New File or New Folder field.
492 </para>
493 </listitem><listitem><para>Click OK or press Return.</para>
494 </listitem></orderedlist>
495 <para>To close the New File or New Folder dialog box without creating a new
496 file or folder, click Cancel or press Esc.</para>
497 <sect3 id="UG.FMgr.div.36">
498 <title>Other Ways to Create Objects</title>
499 <itemizedlist remap="Bullet1"><listitem><para>Copy an existing object, then
500 rename the copy (see <!--Original XRef content: '&xd2;To Copy a File or
501 Folder&xd3; on page&numsp;93'--><xref role="SecTitleAndPageNum" linkend="UG.FMgr.mkr.13">).
502 </para>
503 </listitem><listitem><para>Create a new file within an application. For example,
504 Text Editor creates a new file when you save a new document.</para>
505 </listitem></itemizedlist>
506 </sect3>
507 </sect2>
508 <sect2 id="UG.FMgr.div.37" role="Procedure">
509 <title>To Move a File or Folder<indexterm><primary>moving</primary><secondary>objects</secondary></indexterm><indexterm><primary>objects</primary><secondary>moving</secondary></indexterm><indexterm><primary>moving</primary><secondary>files</secondary></indexterm><indexterm><primary>moving</primary><secondary>folders</secondary></indexterm><indexterm><primary>objects</primary><secondary>moving</secondary></indexterm><indexterm><primary>files</primary><secondary>moving</secondary></indexterm><indexterm><primary>folders</primary><secondary>moving</secondary></indexterm></title>
510 <note>
511 <para>If you attempt to move a file or subfolder from a folder where you do
512 not have permission to make changes, File Manager may create a copy of the
513 object, and display an error message indicating that you cannot delete the
514 original file.</para>
515 </note>
516 <sect3 id="UG.FMgr.div.38">
517 <title>Mouse</title>
518 <orderedlist><listitem><para>Make the source and destination folders visible:
519 </para>
520 <para>Open a File Manager view of the contents of the destination folder or
521 the icon of the closed destination folder.</para>
522 </listitem><listitem><para>Select the file or folder to be moved and drag
523 it to the destination folder.</para>
524 </listitem></orderedlist>
525 <para>If you move a folder, the entire folder and its contents are moved.
526 </para>
527 </sect3>
528 <sect3 id="UG.FMgr.div.39">
529 <title>Keyboard</title>
530 <orderedlist><listitem><para>Use the Tab and direction keys to move the highlight
531 to the file or folder to be moved.</para>
532 </listitem><listitem><para>Press the Spacebar to select the object.</para>
533 </listitem><listitem><para>Choose Move to from the Selected menu.</para>
534 </listitem><listitem><para>Type a name into the Destination Folder text field.
535 </para>
536 <para>For example, if you want to move the file <computeroutput>report</computeroutput>
537 into the folder <computeroutput>/u/john</computeroutput>, you would type
538 <filename>/u/john</filename></para>
539 </listitem><listitem><para>Click OK or press Return.</para>
540 </listitem></orderedlist>
541 <para>If you move a folder, the entire folder and its contents are moved.
542 </para>
543 </sect3>
544 </sect2>
545 <sect2 id="UG.FMgr.div.40" role="Procedure">
546 <title id="UG.FMgr.mkr.13">To Copy a File or Folder<indexterm><primary>copying</primary><secondary>objects</secondary></indexterm><indexterm><primary>copying</primary><secondary>files</secondary></indexterm><indexterm><primary>copying</primary><secondary>folders</secondary></indexterm><indexterm><primary>objects</primary><secondary>copying</secondary></indexterm><indexterm><primary>files</primary><secondary>copying</secondary></indexterm><indexterm><primary>folders</primary><secondary>copying</secondary></indexterm></title>
547 <sect3 id="UG.FMgr.div.41">
548 <title>Mouse</title>
549 <orderedlist><listitem><para>Make the source and destination folders visible:
550 </para>
551 <para>Open a File Manager view of the contents of the destination folder or
552 the icon of the closed destination folder.</para>
553 </listitem><listitem><para>Select the file or folder to be copied.</para>
554 </listitem><listitem><para>Press and hold the Control key.</para>
555 </listitem><listitem><para>Drag the file or folder and drop it onto the destination
556 folder.</para>
557 <para>Make sure that you release the mouse button before you release the Control
558 key. Otherwise, you will move instead of copy the file or folder.</para>
559 </listitem></orderedlist>
560 </sect3>
561 <sect3 id="UG.FMgr.div.42">
562 <title>Keyboard</title>
563 <orderedlist><listitem><para>Select the icon.</para>
564 </listitem><listitem><para>Choose Copy to from the Selected menu.</para>
565 </listitem><listitem><para>Type a name into the Destination Folder text field.
566 </para>
567 <para>Note that this must be the new full path name for the file. For example,
568 if you want to copy the file <computeroutput>report</computeroutput> into
569 the folder <filename>/u/jon</filename>, you would type <filename>/u/jon</filename>.
570 </para>
571 </listitem><listitem><para>Click OK or press Return.</para>
572 </listitem></orderedlist>
573 <para>To close the Copy File dialog box without copying a file, click Cancel
574 or press Esc.</para>
575 </sect3>
576 </sect2>
577 <sect2 id="UG.FMgr.div.43" role="Procedure">
578 <title>To Create a Symbolic Link<indexterm><primary>symbolic link, creating</primary></indexterm><indexterm><primary>link, creating symbolic</primary>
579 </indexterm></title>
580 <para>A link icon is a copy of an icon that points to the same file or folder
581 as the original icon. Any changes you make after opening the link icon will
582 also appear when you access the file or folder using the original icon.</para>
583 <sect3 id="UG.FMgr.div.44">
584 <title>Mouse</title>
585 <orderedlist><listitem><para>Make the source and destination folders visible:
586 </para>
587 <itemizedlist remap="Bullet2"><listitem><para>Open a File Manager view of
588 the contents of the destination folder.</para>
589 </listitem><listitem><para><emphasis>Or</emphasis>, open a File Manager view
590 that shows the icon of the closed destination folder.</para>
591 </listitem></itemizedlist>
592 </listitem><listitem><para>Select the file or folder to be copied.</para>
593 </listitem><listitem><para>Press <emphasis>and hold</emphasis> the Shift key
594 and the Control key while dragging and dropping the icon of a file or folder
595 onto the icon of a new folder.</para>
596 <para>When you drop the icon, File Manager creates symbolic link in the new
597 folder that points to the original file or folder. Make sure that you release
598 the mouse button before you release the Shift key and the Control key. Otherwise,
599 you will move instead of link the file or folder.</para>
600 </listitem></orderedlist>
601 </sect3>
602 <sect3 id="UG.FMgr.div.45">
603 <title>Keyboard</title>
604 <orderedlist><listitem><para>Use the Tab and arrow keys to move the highlight
605 to the icon of the file or folder to which you want to link.</para>
606 </listitem><listitem><para>Press the Spacebar to select the icon.</para>
607 </listitem><listitem><para>Choose Copy as Link from the Selected menu.</para>
608 </listitem><listitem><para>Type a name into the Destination Folder text field
609 including the path for the name of the folder where you want this link icon
610 to appear. If you want this link icon to have a different name that the original
611 icon, type a new name in the Name for copy text field.</para>
612 </listitem><listitem><para>Click OK or press Return.</para>
613 </listitem></orderedlist>
614 </sect3>
615 </sect2>
616 </sect1>
617 <sect1 id="UG.FMgr.div.46">
618 <title id="UG.FMgr.mkr.14">Navigating to Folders and Subfolders<indexterm>
619 <primary>folders</primary><secondary>changing</secondary></indexterm><indexterm>
620 <primary>file system</primary><secondary>moving through</secondary></indexterm><indexterm>
621 <primary>subdirectories</primary><secondary>changing to</secondary></indexterm><indexterm>
622 <primary>subfolders</primary><secondary>changing to</secondary></indexterm></title>
623 <para>Each File Manager window (also called a <emphasis>view</emphasis>) shows
624 the contents of a single folder.</para>
625 <para>If you are not familiar with hierarchical file systems, see <!--Original
626 XRef content: '&xd2;Basic File System
627 Concepts&xd3; on page&numsp;83'--><xref role="SecTitleAndPageNum" linkend="UG.FMgr.mkr.4">.
628 </para>
629 <sect2 id="UG.FMgr.div.47" role="Procedure">
630 <title id="UG.FMgr.mkr.15">To Change to Another Folder<indexterm><primary>folders</primary><secondary>changing to</secondary></indexterm></title>
631 <para>You can change to another folder in any of the following ways:</para>
632 <itemizedlist remap="Bullet1"><listitem><para>Double-click a folder icon.
633 </para>
634 </listitem><listitem><para>Select a folder icon and choose Open In Place from
635 the Selected menu to open the folder in the current window or Open New View
636 from the Selected menu to open it in a new window.</para>
637 </listitem><listitem><para>Choose the Open In Place or Open New View command
638 from the folder's pop-up menu (displayed by pressing Shift+F10 or the right
639 mouse button).</para>
640 </listitem><listitem><para>Double-click a folder in the iconic path to change
641 the view to that folder.</para>
642 </listitem><listitem><para>Select (click) the current folder line to change
643 it into a text field. Type the name of the path you want and then press Return.
644 </para>
645 </listitem><listitem><para>In the current folder line, double-click a segment
646 of the current path. For example, if the current folder is <computeroutput>/users/tom/.dt/types</computeroutput>, you can change to the <computeroutput>/users/tom</computeroutput> folder by double-clicking the word <computeroutput>tom</computeroutput>.</para>
647 </listitem></itemizedlist>
648 </sect2>
649 <sect2 id="UG.FMgr.div.48" role="Procedure">
650 <title>To Go to Your Home Folder</title>
651 <orderedlist><listitem><para><emphasis>C</emphasis>hoose Go Home from the
652 File menu.<indexterm><primary>navigating</primary><secondary>to home folder</secondary></indexterm><indexterm><primary>home
653 folder, navigating to</primary></indexterm></para>
654 </listitem></orderedlist>
655 </sect2>
656 <sect2 id="UG.FMgr.div.49" role="Procedure">
657 <title>To Change to the Parent Folder</title>
658 <itemizedlist remap="Bullet1"><listitem><para><emphasis>C</emphasis>hoose
659 Go Up from the File menu</para>
660 </listitem><listitem><para><emphasis>Or</emphasis>, double-click the .. (go
661 up) icon.<indexterm><primary>parent folder, navigating to</primary></indexterm></para>
662 </listitem></itemizedlist>
663 </sect2>
664 <sect2 id="UG.FMgr.div.50" role="Procedure">
665 <title>To Open a Terminal Window in the Current Folder<indexterm><primary>opening</primary><secondary>Terminal window in current directory</secondary>
666 </indexterm><indexterm><primary>Terminal window</primary><secondary>opening
667 in current directory from File Manager</secondary></indexterm></title>
668 <para>This procedure opens a terminal emulator window with the same current
669 folder as the File Manager window. This is a quick way to type a command
670 to affect the contents of the folder you are currently viewing.</para>
671 <orderedlist><listitem><para>Choose Open Terminal from the File menu.</para>
672 </listitem></orderedlist>
673 <note>
674 <para>You must have execute permission for a folder before you can open a
675 Terminal window from it.</para>
676 </note>
677 <para>To find out how to use terminal emulators, see <!--Original XRef content:
678 'Chapter&numsp;12, &xd2;Using Terminal'--><xref role="ChapNumAndTitle" linkend="UG.UTrmE.mkr.1">.
679 </para>
680 </sect2>
681 </sect1>
682 <sect1 id="UG.FMgr.div.51">
683 <title>Executing an Action for a File or Folder<indexterm><primary>objects</primary><secondary>executing action of</secondary></indexterm><indexterm>
684 <primary>actions</primary><secondary>executing</secondary></indexterm><indexterm>
685 <primary>executing actions</primary></indexterm></title>
686 <para>Actions act on objects, and are a basic part of working with them. For
687 example, printing the contents of an object uses the Print action. Starting
688 an application for a data file object uses an Open action, or some other
689 application action.</para>
690 <para>The Selected menu contains a list of commands followed by a list of
691 actions you can use with the selected icon. The contents of the actions portion
692 of the Selected menu change depending on the type of icon that is currently
693 selected.</para>
694 <graphic id="UG.FMgr.igrph.3" entityref="UG.FMgr.fig.5"></graphic>
695 <para>The action listed at the top of the action portion of the menu (the
696 default action) is the action that will be taken when you double-click a
697 file or folder. In the menu shown in the figure, the default action is Open
698 In Place.</para>
699 <sect2 id="UG.FMgr.div.52" role="Procedure">
700 <title>To Execute the Default Action</title>
701 <para>The default action is the first action listed in the actions portion
702 of the Selected menu.</para>
703 <orderedlist><listitem><para>Double-click the object's icon.<indexterm>
704 <primary>actions</primary><secondary>executing the default</secondary></indexterm><indexterm>
705 <primary>default actions</primary></indexterm></para>
706 </listitem></orderedlist>
707 </sect2>
708 <sect2 id="UG.FMgr.div.53" role="Procedure">
709 <title>To Execute Other Actions</title>
710 <orderedlist><listitem><para>Select the object's icon.</para>
711 </listitem><listitem><para>Choose the action you want to execute from the
712 Selected menu or from the object's pop-up menu.</para>
713 </listitem></orderedlist>
714 </sect2>
715 </sect1>
716 <sect1 id="UG.FMgr.div.54">
717 <title id="UG.FMgr.mkr.16">Deleting Objects to the Trash Can<indexterm><primary>Trash Can</primary><secondary>using</secondary></indexterm></title>
718 <para>The Trash Can collects the files and folders that you delete. They are
719 not actually removed from the file system until the trash is &ldquo;emptied.&rdquo;
720 You can only change your mind and <emphasis>restore</emphasis> a file you've
721 put in the Trash Can if the Trash Can hasn't been emptied.</para>
722 <sect2 id="UG.FMgr.div.55" role="Procedure">
723 <title>To Open the Trash Can Window<indexterm><primary>Trash Can</primary>
724 <secondary>opening</secondary></indexterm><indexterm><primary>Trash Can</primary>
725 <secondary>opening</secondary></indexterm></title>
726 <orderedlist><listitem><para>Click the Trash Can control in the Front Panel.
727 </para>
728 </listitem></orderedlist>
729 <graphic id="UG.FMgr.igrph.4" entityref="UG.FMgr.fig.6"></graphic>
730 </sect2>
731 <sect2 id="UG.FMgr.div.56" role="Procedure">
732 <title id="UG.FMgr.mkr.17">To Put an Object in the Trash Can</title>
733 <itemizedlist remap="Bullet1"><listitem><para>Choose Put in Trash from the
734 object's pop-up menu (displayed by pressing Shift+F10 or the right mouse button).
735 </para>
736 </listitem><listitem><para><emphasis>Or,</emphasis> select the object's icon,
737 then choose Put in Trash from the Selected menu.</para>
738 </listitem><listitem><para><emphasis>Or</emphasis>, drag and drop the object's
739 icon onto the Trash Can control in the Front Panel.</para>
740 </listitem><listitem><para><emphasis>Or</emphasis>, drag and drop
741 an object's icon to the open Trash Can window.</para>
742 </listitem></itemizedlist>
743 </sect2>
744 <sect2 id="UG.FMgr.div.57" role="Procedure">
745 <title>To Put Back a File or Folder from the Trash Can<indexterm><primary>Trash Can</primary><secondary>restoring objects from</secondary></indexterm><indexterm>
746 <primary>objects</primary><secondary>restoring from Trash Can</secondary>
747 </indexterm><indexterm><primary>restoring</primary><secondary>items in Trash
748 Can</secondary></indexterm><indexterm><primary>objects</primary><secondary>restoring from Trash Can</secondary></indexterm><indexterm><primary>files</primary><secondary>restoring from Trash Can</secondary></indexterm><indexterm>
749 <primary>folders</primary><secondary>restoring from Trash Can</secondary>
750 </indexterm></title>
751 <itemizedlist remap="Bullet1"><listitem><para>Drag the object from the Trash
752 Can window to File Manager.</para>
753 </listitem><listitem><para><emphasis>Or</emphasis>, in the Trash Can window,
754 select the object you want to restore and choose Put back from the File menu.
755 </para>
756 </listitem><listitem><para><emphasis>Or</emphasis>, choose Put back from the
757 object's pop-up menu (displayed by pressing Shift+F10 or the right
758 mouse button).
759 </para>
760 </listitem></itemizedlist>
761 </sect2>
762 <sect2 id="UG.FMgr.div.58" role="Procedure">
763 <title>To Delete a File or Folder Permanently<indexterm><primary>Trash Can</primary><secondary>emptying</secondary></indexterm><indexterm><primary>deleting</primary><secondary>files</secondary></indexterm><indexterm><primary>Trash Can</primary><secondary>emptying</secondary></indexterm></title>
764 <para>When you delete a file permanently, it cannot be recovered (unless you
765 have a backup mechanism.)</para>
766 <orderedlist><listitem><para>Open the Trash Can.<indexterm><primary>folders</primary><secondary>deleting</secondary></indexterm><indexterm><primary>deleting</primary><secondary>folders</secondary></indexterm></para>
767 </listitem><listitem><para>Select the objects you want to empty from the Trash
768 Can.</para>
769 <para>Select individual objects, or choose Select All from the File menu.
770 </para>
771 </listitem><listitem><para>Choose Shred from the File menu or from the object's
772 pop-up menu (displayed by pressing Shift+F10 or the right mouse button).</para>
773 </listitem><listitem><para>Click OK in the confirmation dialog box.</para>
774 </listitem></orderedlist>
775 <note>
776 <para>The Trash Can is automatically emptied when you log out of a session.
777 </para>
778 </note>
779 </sect2>
780 </sect1>
781 <sect1 id="UG.FMgr.div.59">
782 <title>File Ownership and Security</title>
783 <para>Three groups of users can access files: <emphasis>owner</emphasis>, <emphasis>group</emphasis>, and <emphasis>other</emphasis>. File access is divided
784 into three types of permissions: <emphasis>read</emphasis>, <emphasis>write</emphasis>, and <emphasis>execute</emphasis>.</para>
785 <sect2 id="UG.FMgr.div.60">
786 <title>Who Has Access?</title>
787 <para>The three basic classes of users are:</para>
788 <itemizedlist remap="Bullet1"><listitem><para><emphasis>Owner</emphasis> &ndash;
789 Usually the person who created the file.</para>
790 </listitem><listitem><para><emphasis>Group</emphasis> &ndash; Users that have
791 been grouped together by the system administrator. For example, the members
792 of a department might belong to the same <emphasis>group</emphasis>.</para>
793 </listitem><listitem><para><emphasis>Other</emphasis> &ndash; All other users
794 on the system.</para>
795 </listitem></itemizedlist>
796 </sect2>
797 <sect2 id="UG.FMgr.div.61">
798 <title>Types of Access Permissions</title>
799 <para>The access permissions on a files specify how that file can be accessed
800 by the owner, members of the group, and other users.</para>
801 <itemizedlist remap="Bullet1"><listitem><para><emphasis>Read Permission</emphasis>
802 &ndash; Allows access to retrieve, copy, or view the contents of the object.
803 </para>
804 </listitem><listitem><para><emphasis>Write Permission</emphasis> &ndash; Allows
805 access to change the contents of the object or remove the object.</para>
806 </listitem><listitem><para><emphasis>Execute Permission</emphasis> &ndash;
807 For a file, allows access to <emphasis>run</emphasis> the file (for executable
808 files, scripts, and actions). For a folder, allows access to run commands,
809 scripts, and actions within that folder.</para>
810 </listitem></itemizedlist>
811 <para>If you do not have permission to write inside a folder, the folder's icon
812 will look like this:</para>
813 <graphic id="UG.FMgr.igrph.5" entityref="UG.FMgr.fig.7"></graphic>
814 <para>If you do not have read or execute permission for a folder, the folder's icon
815 will look like this:</para>
816 <graphic id="UG.FMgr.igrph.6" entityref="UG.FMgr.fig.8"></graphic>
817 <sect3 id="UG.FMgr.div.62">
818 <title>Examples</title>
819 <para>To make a folder private:</para>
820 <itemizedlist remap="Bullet1"><listitem><para>Change the folder's properties,
821 giving yourself (the owner) read, write, and execute permission, but giving
822 no permissions for group and other. This means that only you and the root
823 user can view the contents of the folder.</para>
824 </listitem></itemizedlist>
825 <para>To make an object that you've created available for everyone to use
826 but protect it so it isn't inadvertently overwritten:</para>
827 <itemizedlist remap="Bullet1"><listitem><para>Change the file's properties,
828 giving read and execute permission to owner, group, and other. Don't give
829 anyone write permission.
830 </para>
831 </listitem></itemizedlist>
832 </sect3>
833 </sect2>
834 <sect2 id="UG.FMgr.div.63">
835 <title>Default Permissions</title>
836 <para>The default permissions used when you create a new file or folder may
837 be altered by your system administrator. To determine what your current defaults
838 are, create a new file or folder, then open the Permissions dialog box for
839 that file or folder.</para>
840 <para>Check with your system administrator regarding how to change your default
841 permissions.</para>
842 </sect2>
843 <sect2 id="UG.FMgr.div.64" role="Procedure">
844 <title>To Change the Owner of a File or Folder<indexterm><primary>objects</primary><secondary>changing ownership of</secondary></indexterm><indexterm>
845 <primary>ownership, changing in File Manager</primary></indexterm><indexterm>
846 <primary>changing</primary><secondary>properties of file</secondary></indexterm><indexterm>
847 <primary>changing</primary><secondary>properties of folder</secondary></indexterm><indexterm>
848 <primary>objects</primary><secondary>changing properties of</secondary></indexterm><indexterm>
849 <primary>files</primary><secondary>changing properties of</secondary></indexterm><indexterm>
850 <primary>folders</primary><secondary>changing properties of</secondary></indexterm><indexterm>
851 <primary>properties</primary><secondary>changing object</secondary></indexterm><indexterm>
852 <primary>properties</primary><secondary>changing file</secondary></indexterm><indexterm>
853 <primary>properties</primary><secondary>changing folder</secondary></indexterm></title>
854 <para>You must be the owner or the system administrator (root user) in order
855 to change the ownership of a file or folder.</para>
856 <orderedlist><listitem><para>Select the object's icon.</para>
857 </listitem><listitem><para>Choose Change Permissions from the Selected menu
858 or from the object's pop-up menu (displayed by pressing Shift+F10 or the
859 right mouse button).</para>
860 </listitem><listitem><para>Type the new owner's name into the Owner Name text
861 field.</para>
862 </listitem><listitem><para>Click OK or press Return.</para>
863 </listitem></orderedlist>
864 <note>
865 <para>If you give ownership of the file to another user, you may not be able
866 to change the permissions again unless that user returns ownership to you.
867 </para>
868 </note>
869 <para>If you do not have permission to change the properties, some of the
870 controls in the Permissions dialog box are unavailable.</para>
871 </sect2>
872 <sect2 id="UG.FMgr.div.65" role="Procedure">
873 <title id="UG.FMgr.mkr.18">To Change the Permissions on a File or Folder<indexterm>
874 <primary>objects</primary><secondary>changing permissions of</secondary></indexterm><indexterm>
875 <primary>permissions</primary><secondary>changing</secondary></indexterm><indexterm>
876 <primary>write permission, changing</primary></indexterm><indexterm><primary>read permission, changing</primary></indexterm><indexterm><primary>execute
877 permission, changing</primary></indexterm><indexterm><primary>changing</primary>
878 <secondary>properties of file</secondary></indexterm><indexterm><primary>changing</primary><secondary>properties of folder</secondary></indexterm><indexterm>
879 <primary>objects</primary><secondary>changing properties of</secondary></indexterm><indexterm>
880 <primary>files</primary><secondary>changing properties of</secondary></indexterm><indexterm>
881 <primary>folders</primary><secondary>changing properties of</secondary></indexterm><indexterm>
882 <primary>properties</primary><secondary>changing object</secondary></indexterm><indexterm>
883 <primary>properties</primary><secondary>changing file</secondary></indexterm><indexterm>
884 <primary>properties</primary><secondary>changing folder</secondary></indexterm></title>
885 <para>You must be the owner or the system administrator (root user) in order
886 to change the permissions of a file or folder.</para>
887 <orderedlist><listitem><para>Select the icon for the file or folder.</para>
888 </listitem><listitem><para>Choose Change Permissions from the Selected menu
889 or from the icon's pop- up menu (displayed by pressing Shift+F10 or the
890 right mouse button).</para>
891 </listitem><listitem><para>Select the permissions for the file or folder.
892 </para>
893 <para>The permissions selected in the Group row indicate the access privileges
894 for any user belonging to the named group. The permissions selected for the
895 Other row apply to all other users.</para>
896 <informaltable>
897 <tgroup cols="2" colsep="0" rowsep="0">
898 <colspec align="left" colwidth="73*">
899 <colspec align="left" colwidth="383*">
900 <tbody>
901 <row>
902 <entry align="left" valign="top"><para>Read</para></entry>
903 <entry align="left" valign="top"><para>The file can be read</para></entry>
904 </row>
905 <row>
906 <entry align="left" valign="top"><para>Write</para></entry>
907 <entry align="left" valign="top"><para>The file can be altered</para></entry>
908 </row>
909 <row>
910 <entry align="left" valign="top"><para>Execute</para></entry>
911 <entry align="left" valign="top"><para>The file can be run</para></entry>
912 </row></tbody></tgroup></informaltable>
913 <para>If you give ownership of the file to another user, you may not be able
914 to change the permissions again unless that user returns ownership to you.
915 If you do not have permission to change the properties, some of the controls
916 in the Permissions dialog box are unavailable.</para>
917 </listitem><listitem><para>Click OK or press Return.</para>
918 </listitem></orderedlist>
919 <note>
920 <para>The Group row of permissions shows the permissions for users who are
921 members of the group listed in the Group Name text field. You can specify
922 a different group by typing a new name in this field.</para>
923 </note>
924 </sect2>
925 </sect1>
926 <sect1 id="UG.FMgr.div.66">
927 <title id="UG.FMgr.mkr.19">Using File Manager Objects on the Desktop</title>
928 <para>The desktop lets you put any object directly on the backdrop
929 of the current workspace for quick access. Any icon you drop on the desktop
930 stays where you put it.</para>
931 <para>File Manager provides a way to view all the objects in your file system.
932 However, the object is only visible when you are viewing the folder it is
933 in.</para>
934 <para>To make an object more accessible, you can put it directly on the workspace
935 backdrop. The desktop is that area or surface on which windows appear to
936 lie. When an object is placed there, it is called a <emphasis>workspace object</emphasis>. There is a separate desktop for each workspace.</para>
937 <para>Placing an object on the workspace does not alter the original file
938 or folder. In fact, the icon that appears on the workspace is really just
939 a shortcut for accessing the real file or folder. Any operation you perform
940 on the workspace object is actually performed on the file or folder it represents.
941 </para>
942 <sect2 id="UG.FMgr.div.67">
943 <title>Workspaces in the Desktop</title>
944 <para>You can have several workspaces on your desktop, so you can set up your
945 working environment by putting the files and folders in the workspaces where
946 you use them most, or in more than one workspace, if needed.</para>
947 </sect2>
948 <sect2 id="UG.FMgr.div.68">
949 <title>Pop-up Menus<indexterm><primary>pop-up menus</primary><secondary>for objects</secondary></indexterm></title>
950 <para>Each workspace object has its own pop-up menu, displayed with the right
951 mouse button or by pressing Shift+F10 when the icon is selected. This menu
952 contains commands for manipulating the object, including all the actions that
953 appear in the File Manager's Selected menu when the object is selected. The
954 Workspace pop-up menu is similar to the pop-up menu available within File
955 Manager windows, but contains a few different commands.</para>
956 </sect2>
957 <sect2 id="UG.FMgr.div.69" role="Procedure">
958 <title>To Put a File or Folder on the Workspace Backdrop<indexterm><primary>objects</primary><secondary>putting on workspace backdrop</secondary></indexterm><indexterm>
959 <primary>files</primary><secondary>putting on workspace backdrop</secondary>
960 </indexterm><indexterm><primary>folders</primary><secondary>putting on workspace
961 backdrop</secondary></indexterm><indexterm><primary>workspace backdrop</primary>
962 <secondary>putting file or folder on</secondary></indexterm></title>
963 <para>This procedure creates a copy of the icon on the workspace backdrop.
964 Any changes you make to the copy on your workspace backdrop will also be
965 made to the original that is still in File Manager.</para>
966 <orderedlist><listitem><para>Switch to the workspace where you want to display
967 the object.</para>
968 </listitem><listitem><para>Then:</para>
969 <itemizedlist remap="Bullet2"><listitem><para>Drag and drop the object's icon
970 onto the workspace.</para>
971 </listitem><listitem><para><emphasis>Or,</emphasis> select the icon, then
972 choose the Put in Workspace command from the Selected menu or from the icon's
973 pop-up menu (displayed by pressing Shift+F10 or the right mouse button).</para>
974 </listitem></itemizedlist>
975 </listitem></orderedlist>
976 <para>You can repeat these steps to put an icon on the desktop in as many
977 workspaces as you want.</para>
978 </sect2>
979 <sect2 id="UG.FMgr.div.70" role="Procedure">
980 <title>To Display the Pop-up Menu for a Workspace Object<indexterm><primary>objects</primary><secondary>pop-up menu for</secondary></indexterm><indexterm>
981 <primary>pop-up menus</primary><secondary>for objects</secondary></indexterm></title>
982 <sect3 id="UG.FMgr.div.71">
983 <title>Mouse</title>
984 <orderedlist><listitem><para>Point to the object's icon.</para>
985 </listitem><listitem><para>Press the right mouse button.</para>
986 </listitem><listitem><para>Choose a command from the menu by dragging to the
987 command then releasing the mouse button.</para>
988 </listitem></orderedlist>
989 </sect3>
990 <sect3 id="UG.FMgr.div.72">
991 <title>Keyboard</title>
992 <orderedlist><listitem><para>Move the highlight to the object's icon using
993 Alt+Tab.</para>
994 </listitem><listitem><para>Press Shift+F10.</para>
995 </listitem><listitem><para>Choose a command from the menu by using the direction
996 keys to highlight the command, then press Return.</para>
997 </listitem></orderedlist>
998 <para>To cancel the menu without choosing a command, press Esc.</para>
999 </sect3>
1000 </sect2>
1001 <sect2 id="UG.FMgr.div.73" role="Procedure">
1002 <title>To Remove an Object from the Workspace<indexterm><primary>workspaces</primary><secondary>removing objects from</secondary></indexterm><indexterm>
1003 <primary>objects</primary><secondary>removing from workspace</secondary></indexterm><indexterm>
1004 <primary>removing</primary><secondary>files or folders from workspace</secondary>
1005 </indexterm><indexterm><primary>objects</primary><secondary>removing from
1006 workspace</secondary></indexterm><indexterm><primary>files</primary><secondary>removing from workspace</secondary></indexterm><indexterm><primary>folders</primary><secondary>removing from workspace</secondary></indexterm><indexterm>
1007 <primary>workspaces</primary><secondary>removing objects from</secondary>
1008 </indexterm><indexterm><primary>workspaces</primary><secondary>removing files
1009 or folders from</secondary></indexterm></title>
1010 <orderedlist><listitem><para>Switch to the workspace where the object resides.
1011 </para>
1012 </listitem><listitem><para>Locate the object's icon on the desktop</para>
1013 </listitem><listitem><para>Choose Remove From Workspace from the object's
1014 pop-up menu.</para>
1015 </listitem></orderedlist>
1016 <para>Removing an object from the workspace does not alter the original object.
1017 That is, the object still exists in File Manager.</para>
1018 </sect2>
1019 </sect1>
1020 <sect1 id="UG.FMgr.div.74">
1021 <title id="UG.FMgr.mkr.20">Locating Files<indexterm><primary>files</primary>
1022 <secondary>locating</secondary></indexterm><indexterm><primary>finding</primary>
1023 <secondary>objects</secondary></indexterm><indexterm><primary>finding</primary>
1024 <secondary>files</secondary></indexterm></title>
1025 <para>Keeping track of many files can quickly become difficult. File Manager
1026 helps by providing the ability to search for a file or folder by name. You
1027 can also search for files based on the contents of the file.</para>
1028 <sect2 id="UG.FMgr.div.75" role="Procedure">
1029 <title id="UG.FMgr.mkr.21">To Find an Object by Name<indexterm><primary>objects</primary><secondary>finding by name</secondary></indexterm><indexterm>
1030 <primary>files</primary><secondary>finding by name</secondary></indexterm><indexterm>
1031 <primary>name, finding file by</primary></indexterm></title>
1032 <orderedlist><listitem><para>Choose Find from the File menu.
1033 <graphic id="UG.FMgr.igrph.7" entityref="UG.FMgr.fig.9"></graphic>
1034 </para>
1035 </listitem>
1036 <listitem><para>Type the name of the file or folder you want
1037 to find into the File or Folder Name field.</para>
1038 <para>When you specify a file or folder name, you can include wildcard characters,
1039 such as asterisk (<filename>*</filename>) and question mark (<filename>?</filename>).
1040 The <filename>*</filename> matches any string of characters (including no
1041 characters), and <filename>?</filename> matches any single character.<indexterm>
1042 <primary>wildcards</primary><secondary>for finding files</secondary></indexterm><indexterm>
1043 <primary>finding</primary><secondary>objects using wildcards</secondary></indexterm> For
1044 example:</para>
1045 <informaltable>
1046 <tgroup cols="2" colsep="0" rowsep="0">
1047 <?PubTbl tgroup dispwid="5.85in">
1048 <colspec align="left" colwidth="74*">
1049 <colspec align="left" colwidth="408*">
1050 <tbody>
1051 <row>
1052 <entry align="left" valign="top"><para><filename>ba*</filename></para></entry>
1053 <entry align="left" valign="top"><para>Matches all names that begin with the
1054 string <filename moreinfo="RefEntry">ba</filename></para></entry></row>
1055 <row>
1056 <entry align="left" valign="top"><para><filename>ba?</filename></para></entry>
1057 <entry align="left" valign="top"><para>Matches all three-character names that
1058 begin with the string <filename moreinfo="RefEntry">ba</filename></para></entry>
1059 </row>
1060 <row>
1061 <entry align="left" valign="top"><para><filename>*.dt</filename></para></entry>
1062 <entry align="left" valign="top"><para>Matches all names that end with the
1063 <filename>.dt</filename> suffix</para></entry></row>
1064 <row>
1065 <entry align="left" valign="top"><para><filename>*.???</filename></para></entry>
1066 <entry align="left" valign="top"><para>Matches all names that have a three-character
1067 suffix</para></entry></row></tbody></tgroup></informaltable>
1068 <para>The file name and contents can be specified using the same <emphasis>regular expression</emphasis> syntax allowed by the <command>find</command>
1069 command. (Refer to the <filename moreinfo="RefEntry">find</filename> man page
1070 and <filename moreinfo="RefEntry">grep</filename> man page for more information.)
1071 </para>
1072 </listitem><listitem><para>Type the folder where you want the search to begin
1073 into the Search Folder field. (By default, this field contains the name of
1074 the current folder.)</para>
1075 <para>Find will search this folder and all of its subfolders.</para>
1076 </listitem><listitem><para>Click Start or press Return.</para>
1077 <para>File Manager begins searching the Search Folder and the folders it contains
1078 for files that match the name you provided. Matches that are found are listed
1079 in the Files Found list. Once you have found an object, you can select it
1080 and click Open Folder to open the folder it is in or click in Workspace to
1081 place its icon on the current backdrop.</para>
1082 <para>To stop the search, click the Stop button or press Return.</para>
1083 </listitem></orderedlist>
1084 </sect2>
1085 <sect2 id="UG.FMgr.div.76" role="Procedure">
1086 <title id="UG.FMgr.mkr.22">To Find a File by Contents<indexterm><primary>contents, finding file using</primary></indexterm><indexterm><primary>files</primary><secondary>finding by contents</secondary></indexterm></title>
1087 <orderedlist><listitem><para>Choose Find from the File menu.</para>
1088 </listitem><listitem><para><emphasis>Optional</emphasis>. You can use the
1089 File or Folder Name text field to narrow, and therefore speed up, the search.
1090 </para>
1091 <para>If you enter a partial name (using wildcards) File Manager examines
1092 only the files that match the File or Folder Name field. If you leave the
1093 File or Folder Name field empty, File Manager searches every file within
1094 the search folder. Names can be specified using the same <emphasis>regular
1095 expression</emphasis> syntax allowed by the <command>grep</command> command.
1096 (Refer to the <filename moreinfo="RefEntry">grep</filename> man page for more
1097 information.)</para>
1098 </listitem><listitem><para>Type the text string you want to search for into
1099 the File Contents field.</para>
1100 <para>Case is ignored for this string (upper- and lowercase letters are equivalent).
1101 You do not have to use complete words. For example, if you type <command>fi</command> it will find both &ldquo;fish&ldquo; and &ldquo;File.&ldquo;
1102 </para>
1103 <para>Contents can be specified using the same <emphasis>regular expression</emphasis> syntax allowed by the <command>grep</command> command. (Refer
1104 to the <filename moreinfo="RefEntry">grep</filename> man page for more information.)
1105 </para>
1106 </listitem><listitem><para>Type the name of the folder where you want the
1107 search to begin into the Search Folder field. (By default, this field contains
1108 the name of the current folder.)
1109 </para>
1110 </listitem><listitem><para>Click Start or press Return.</para>
1111 <para>File Manager begins searching the search folder and the folders it contains
1112 for files that contain the File Contents string. Matches that are found are
1113 listed in the Files Found list. Once you have found an object, you can select
1114 it in the list and then click Open Folder to open the folder it is in or
1115 Put In Workspace to place its icon on the current backdrop.</para>
1116 <para>To stop the search at any time, click the Stop button or press Return.
1117 </para>
1118 </listitem></orderedlist>
1119 </sect2>
1120 </sect1>
1121 <sect1 id="UG.FMgr.div.77">
1122 <title id="UG.FMgr.mkr.23">Customizing File Manager Views<indexterm><primary>File Manager views</primary><secondary>changing</secondary></indexterm><indexterm>
1123 <primary>File Manager views</primary><secondary>customizing &lt;$startrange></secondary></indexterm><indexterm>
1124 <primary>customizing</primary><secondary>File Manager views &lt;$startrange></secondary></indexterm><indexterm>
1125 <primary>views</primary><secondary>controlling File Manager</secondary></indexterm></title>
1126 <para>File Manager provides several ways to see the contents of folders. You
1127 can:</para>
1128 <itemizedlist remap="Bullet1"><listitem><para>Change the basic viewing structure
1129 from one folder at a time to seeing a tree view. See <!--Original XRef content:
1130 '&xd2;To Display the Tree View&xd3; on page&numsp;109'--><xref role="SecTitleAndPageNum"
1131 linkend="UG.FMgr.mkr.25">.</para>
1132 </listitem><listitem><para>Determine the sort order of objects. See <!--Original
1133 XRef content: '&xd2;To Change the Order Icons Are
1134 Sorted&xd3; on page&numsp;111'--><xref role="SecTitleAndPageNum" linkend="UG.FMgr.mkr.26">.
1135 </para>
1136 </listitem><listitem><para>Hide (filter) certain objects. See <!--Original
1137 XRef content: '&xd2;To Show or Hide Files and Folders&xd3; on
1138 page&numsp;113'--><xref role="SecTitleAndPageNum" linkend="UG.FMgr.mkr.28">.
1139 </para>
1140 </listitem><listitem><para>Change the style used for objects &ndash; names
1141 and small or large icons, names alone, or a long list of names plus properties.
1142 </para>
1143 </listitem></itemizedlist>
1144 <sect2 id="UG.FMgr.div.78" role="Procedure">
1145 <title id="UG.FMgr.mkr.24">To Configure the Headers</title>
1146 <orderedlist><listitem><para>Choose Set View Options from the View menu.</para>
1147 </listitem><listitem><para>Determine which headers to display:</para>
1148 <itemizedlist remap="Bullet2"><listitem><para>Select Iconic Path to show current
1149 folder path as a string of folder icons at the top of the window.</para>
1150 </listitem><listitem><para>Select Text Path to show the current folder's full
1151 path name in a text field above the view pane.</para>
1152 </listitem><listitem><para>Select Message Line to show a count of the number
1153 of files in the folder. The line will appear at the bottom of the window.
1154 </para>
1155 </listitem></itemizedlist>
1156 </listitem><listitem><para>To implement the chosen option and close the Set
1157 View Options dialog box, click OK.</para>
1158 <para>To implement the chosen option and leave the Set View Options dialog
1159 box open, click Apply.<indexterm><primary>File Manager</primary><secondary>determining headers for</secondary></indexterm></para>
1160 </listitem></orderedlist>
1161 </sect2>
1162 <sect2 id="UG.FMgr.div.79" role="Procedure">
1163 <title>To Configure How Icons are Placed</title>
1164 <orderedlist><listitem><para>Choose Set View Options from the View menu.<indexterm>
1165 <primary>icons</primary><secondary>arranging in File Manager view</secondary>
1166 </indexterm><indexterm><primary>File Manager views</primary><secondary>arranging
1167 icons in</secondary></indexterm></para>
1168 </listitem><listitem><para>Determine how you want to have the icons placed:
1169 </para>
1170 <itemizedlist remap="Bullet2"><listitem><para>Select As Placed to leave icons
1171 where they are dropped.</para>
1172 </listitem><listitem><para>Select Rows and Columns to automatically align
1173 the icons you drop into a grid.</para>
1174 </listitem></itemizedlist>
1175 </listitem><listitem><para>To implement the chosen option and close the Set
1176 View Options dialog box, click OK.</para>
1177 <para>To implement the chosen option and leave the Set View Options dialog
1178 box open, click Apply.<indexterm><primary>File Manager views</primary>
1179 <secondary>customizing &lt;$endrange></secondary></indexterm><indexterm><primary>customizing</primary><secondary>File Manager views &lt;$endrange></secondary></indexterm></para>
1180 </listitem></orderedlist>
1181 </sect2>
1182 <sect2 id="UG.FMgr.div.80">
1183 <title>Using the Tree View</title>
1184 <para><indexterm><primary>tree view, in File Manager &lt;$startrange></primary></indexterm><indexterm><primary>File Manager
1185 views</primary><secondary>tree &lt;$startrange></secondary></indexterm>The tree view resembles an outline. Files
1186 and folders contained in a folder are listed beneath that folder in an indented
1187 list</para>
1188 <figure>
1189 <title>File Manager tree view</title>
1190 <graphic id="UG.FMgr.grph.3" entityref="UG.FMgr.fig.10"></graphic>
1191 </figure>
1192 <para>In the tree view, a folder can have three states. The states are shown
1193 and changed using the buttons to the left of the folder. You can also open
1194 and close the tree branches by selecting a folder and then pressing the +
1195 and - keys on your keyboard (these are the keys in the center, not the numeric
1196 keypad):</para>
1197 <informaltable>
1198 <tgroup cols="2" colsep="0" rowsep="0">
1199 <?PubTbl tgroup dispwid="6.09in">
1200 <colspec align="left" colwidth="44*">
1201 <colspec align="left" colwidth="458*">
1202 <tbody>
1203 <row>
1204 <entry align="left" valign="top"><para>+</para></entry>
1205 <entry align="left" valign="top"><para>The folder is in its closed state.
1206 None of the folder's contents are shown. Clicking the button expands the
1207 folder partially or fully, depending on the tree view option currently in
1208 effect.</para></entry></row>
1209 <row>
1210 <entry align="left" valign="top"><para>-</para></entry>
1211 <entry align="left" valign="top"><para>The folder is in its fully expanded
1212 state. All objects in the folder are shown. Clicking the button fully closes
1213 the folder.</para></entry></row>
1214 <row>
1215 <entry align="left" valign="top"><para>+/-</para></entry>
1216 <entry align="left" valign="top"><para>The folder is in its partially expanded
1217 state. The only contents shown are the folders it contains. (This view is
1218 possible only when using the Folders, then Files tree view option.) Clicking
1219 the button expands the folder to show the filenames.</para></entry></row>
1220 </tbody></tgroup></informaltable>
1221 </sect2>
1222 <sect2 id="UG.FMgr.div.81" role="Procedure">
1223 <title id="UG.FMgr.mkr.25">To Display the Tree View</title>
1224 <para>The tree view will show a folder and the files and folders beneath it.
1225 </para>
1226 <orderedlist><listitem><para>Change to the folder where you want the tree
1227 view to start.</para>
1228 </listitem><listitem><para>Choose Set View Options from the View menu.</para>
1229 </listitem><listitem><para>Select By Tree in the Show box.</para>
1230 </listitem><listitem><para>Select one of the tree view options:</para>
1231 <informaltable>
1232 <tgroup cols="2" colsep="0" rowsep="0">
1233 <?PubTbl tgroup dispwid="6.14in">
1234 <colspec align="left" colwidth="128*">
1235 <colspec align="left" colwidth="378*">
1236 <tbody>
1237 <row>
1238 <entry align="left" valign="top"><para>Folders only</para></entry>
1239 <entry align="left" valign="top"><para>The tree shows folders only. To view
1240 files, double-click a folder name. This is the default view.</para></entry>
1241 </row>
1242 <row>
1243 <entry align="left" valign="top"><para>Folders, then Files</para></entry>
1244 <entry align="left" valign="top"><para>Folders only appear at first. Click
1245 the [+] button next to each folder to view its contents. First click shows
1246 subfolders. Second click shows files that are inside. When you click the
1247 button the third time, the folder contracts again.</para></entry></row>
1248 <row>
1249 <entry align="left" valign="top"><para>Folders and Files</para></entry>
1250 <entry align="left" valign="top"><para>The tree shows both folders and files
1251 automatically.</para></entry></row></tbody></tgroup></informaltable>
1252 </listitem><listitem><para>To implement the chosen options and close the Set
1253 View Options dialog box, click OK.</para>
1254 <para>To implement the chosen options and leave the Set View Options dialog
1255 box open, click Apply.</para>
1256 </listitem></orderedlist>
1257 <para>You can alter the appearance of files and folders in the tree view by
1258 changing the settings in the Show box in the Set View Options dialog box.
1259 Changes to the preferences are only for the current session. To make them
1260 permanent, see <!--Original XRef content: '&xd2;To Save the Current Preferences
1261 as Your Default&xd3; on page&numsp;112'--><xref role="SecTitleAndPageNum"
1262 linkend="UG.FMgr.mkr.27">.</para>
1263 <para>If you double-click a folder in tree view, a new view of that folder
1264 opens that is not in tree view mode.<indexterm><primary>tree view, in File
1265 Manager &lt;$endrange></primary>
1266 </indexterm><indexterm><primary>File Manager views</primary><secondary>tree &lt;$endrange></secondary></indexterm></para>
1267 </sect2>
1268 <sect2 id="UG.FMgr.div.82" role="Procedure">
1269 <title>To Display the Folder View</title>
1270 <para><indexterm><primary>folder view in File Manager</primary></indexterm><indexterm>
1271 <primary>File Manager views</primary><secondary>folder</secondary></indexterm>The
1272 folder view will show a folder and all the files and folders in that folder.
1273 </para>
1274 <orderedlist><listitem><para>Change to the folder that you want to view.
1275 </para>
1276 </listitem><listitem><para>Choose Set View Options from the View menu.</para>
1277 </listitem><listitem><para>Select By Single Folder in the Show box.</para>
1278 </listitem><listitem><para>To implement the chosen options and close the Set
1279 View Options dialog box, click OK.</para>
1280 <para>To implement the chosen options and leave the Set View Options dialog
1281 box open, click Apply.</para>
1282 </listitem></orderedlist>
1283 <para>You can alter the appearance of files and folders in the folder view
1284 by changing the settings in the Show box in the Set View Options dialog box.
1285 Changes to the preferences are only for the current session. To make them
1286 permanent, see <!--Original XRef content: '&xd2;To Save the Current Preferences
1287 as Your Default&xd3; on page&numsp;112'--><xref role="SecTitleAndPageNum"
1288 linkend="UG.FMgr.mkr.27">.</para>
1289 </sect2>
1290 <sect2 id="UG.FMgr.div.83" role="Procedure">
1291 <title>To Change How Objects Are Represented<indexterm><primary>objects</primary>
1292 <secondary>sort order in File Manager</secondary></indexterm><indexterm>
1293 <primary>sort order</primary><secondary>of objects</secondary></indexterm><indexterm>
1294 <primary>sort order</primary><secondary>changing File Manager</secondary>
1295 </indexterm><indexterm><primary>File Manager views</primary><secondary>changing
1296 sort order of</secondary></indexterm></title>
1297 <orderedlist><listitem><para>Choose Set View Options from the View menu.
1298 </para>
1299 </listitem><listitem><para>Select the representation you prefer from the Representation
1300 box.</para>
1301 <itemizedlist remap="Bullet2"><listitem><para>By Name Only: Icons will not
1302 be displayed in File Manager. File Manager indicates objects that are folders
1303 by adding a &ldquo;/&rdquo; after their names. Executable programs have
1304 a &ldquo;*&rdquo; after their name.</para>
1305 </listitem><listitem><para>By Large Icons: This is the default. The objects
1306 in File Manager will appear with their name and large icon.</para>
1307 </listitem><listitem><para>By Small Icons: The objects in File Manager will
1308 appear with their name and small icon.</para>
1309 </listitem><listitem><para>By Name, date, size, ...: The objects in File Manager
1310 will appear with their file date, size, and so on in addition to the file
1311 name and icon.</para>
1312 </listitem></itemizedlist>
1313 </listitem><listitem><para>Click OK or Apply.<indexterm><primary>Clean Up
1314 (command in View menu)</primary></indexterm></para>
1315 </listitem></orderedlist>
1316 </sect2>
1317 <sect2 id="UG.FMgr.div.84" role="Procedure">
1318 <title id="UG.FMgr.mkr.26">To Change the Order Icons Are Sorted<indexterm>
1319 <primary>objects</primary><secondary>sort order in File Manager</secondary>
1320 </indexterm><indexterm><primary>sort order</primary><secondary>of objects</secondary></indexterm><indexterm><primary>sort order</primary><secondary>changing File Manager</secondary></indexterm><indexterm><primary>File Manager
1321 views</primary><secondary>changing sort order of</secondary></indexterm></title>
1322 <orderedlist><listitem><para>Choose Set View Options from the View menu.
1323 </para>
1324 </listitem><listitem><para>Select the sort order you prefer from the Order
1325 box, and the direction from the Direction box.</para>
1326 <itemizedlist remap="Bullet2"><listitem><para>Alphabetically: A to Z (Ascending)
1327 or Z to A (Descending). Icons with names that start with capital letters
1328 appear first. Icons with names that start with lowercase letters are at the
1329 bottom.</para>
1330 </listitem><listitem><para>By File Type: By object type. For example, files,
1331 folders and actions are different types of objects. Within each group of
1332 the same type, the icons are sorted alphabetically (based on the order the
1333 data types are read into the database).</para>
1334 </listitem><listitem><para>By Date: By date the files were last modified,
1335 oldest to newest (Ascending) or newest to oldest (Descending).</para>
1336 </listitem><listitem><para>By Size: By file size, smallest to largest (Ascending)
1337 or largest to smallest (Descending).</para>
1338 </listitem></itemizedlist>
1339 </listitem><listitem><para>Click OK or Apply.<indexterm><primary>Clean Up
1340 (command in View menu)</primary></indexterm></para>
1341 </listitem></orderedlist>
1342 <para>If you have Placement set to As Placed, icons are sorted only when you
1343 choose Clean Up from the View menu or when you click Apply in the Set View
1344 Options dialog box. If Placement is set to Rows and Columns, the icons are
1345 sorted each time there's a change to the folder's contents, or when you choose
1346 Update from the View menu.</para>
1347 </sect2>
1348 <sect2 id="UG.FMgr.div.85" role="Procedure">
1349 <title>To Re-Sort (Clean Up) Objects<indexterm><primary>objects</primary>
1350 <secondary>sorting</secondary></indexterm><indexterm><primary>sorting</primary>
1351 <secondary>files and folders</secondary></indexterm><indexterm><primary>objects</primary><secondary>sorting</secondary></indexterm><indexterm><primary>files</primary><secondary>sorting</secondary></indexterm><indexterm><primary>folders</primary><secondary>sorting</secondary></indexterm><indexterm><primary>Clean Up (command in View menu)</primary></indexterm><indexterm><primary>objects</primary><secondary>aligning in File Manager view</secondary></indexterm><indexterm>
1352 <primary>icons</primary><secondary>aligning in File Manager view</secondary>
1353 </indexterm><indexterm><primary>File Manager views</primary><secondary>aligning
1354 icons in</secondary></indexterm></title>
1355 <para>The Clean Up command sorts the objects in the current view (according
1356 to the settings in the Set View Options dialog box) and lines them up in
1357 a grid pattern. The settings in other File Manager windows are not affected.
1358 </para>
1359 <orderedlist><listitem><para>Choose Clean Up from the View menu.</para>
1360 </listitem></orderedlist>
1361 <para>The Clean Up command is unavailable if you have the Placement preference
1362 set to Rows and Columns.</para>
1363 </sect2>
1364 <sect2 id="UG.FMgr.div.86" role="Procedure">
1365 <title id="UG.FMgr.mkr.27">To Save the Current Preferences as Your Default<indexterm>
1366 <primary>File Manager views</primary><secondary>saving</secondary></indexterm><indexterm>
1367 <primary>File Manager</primary><secondary>saving current preferences as default</secondary></indexterm><indexterm><primary>preferences, saving File Manager
1368 current</primary></indexterm><indexterm><primary>changing</primary><secondary>File Manager default preferences</secondary></indexterm></title>
1369 <para>When you apply changes using the Set Preference dialog box, the changes
1370 only apply to the current session. If you want to save the preferences so
1371 they will be used the next time you open File Manager:</para>
1372 <orderedlist><listitem><para>Set the preferences that you want and apply them
1373 (using Set View Options and Set Filter Options in the View menu).</para>
1374 </listitem><listitem><para>Choose Save As Default Options from the View menu.
1375 </para>
1376 </listitem><listitem><para>Click OK.</para>
1377 </listitem></orderedlist>
1378 <para>These changes to the default view will not take effect until the next
1379 time you click the File Manager control in the Front Panel.</para>
1380 <para>After saving the current preferences, all new File Manager views you
1381 open use the new preferences and filter list.</para>
1382 </sect2>
1383 <sect2 id="UG.FMgr.div.87">
1384 <title>Hiding Files and Folders</title>
1385 <para>Hidden files and folders are those whose file types are selected in
1386 the <emphasis>filter list</emphasis>.</para>
1387 <para>The criterion for hiding or showing a file or folder is based on its
1388 data type. Use the Set Filter Options command to change which data types
1389 are shown and hidden. (See <!--Original XRef content: '&xd2;To Specify Which
1390 Data Types Are Hidden'--><xref role="SectionTitle" linkend="UG.FMgr.mkr.29">
1391 below.) The default hidden data types are DOT_FILE, DOT_FOLDER, and CURRENT_FOLDER.
1392 </para>
1393 </sect2>
1394 <sect2 id="UG.FMgr.div.88" role="Procedure">
1395 <title id="UG.FMgr.mkr.28">To Show or Hide Files and Folders<indexterm><primary>hidden files</primary></indexterm><indexterm><primary>files</primary><secondary>hidden</secondary></indexterm><indexterm><primary>folders</primary><secondary>hidden</secondary></indexterm><indexterm><primary>dot files</primary></indexterm><indexterm>
1396 <primary>.. (parent directory)</primary></indexterm></title>
1397 <orderedlist><listitem><para>Choose Show Hidden Objects from the View menu.
1398 </para>
1399 </listitem></orderedlist>
1400 <para>Choosing the command a second time again reverses the toggle (from shown
1401 to hidden and back again).</para>
1402 <para>The criterion for hiding or showing a file or folder is based on its
1403 data type. Use the Set Filter Options command to change which data types
1404 are shown and hidden. (See <!--Original XRef content: '&xd2;To Specify Which
1405 Data Types Are Hidden'--><xref role="SectionTitle" linkend="UG.FMgr.mkr.29">
1406 below.) The default hidden data types are DOT_FILE, DOT_FOLDER, and CURRENT_FOLDER.
1407 </para>
1408 </sect2>
1409 <sect2 id="UG.FMgr.div.89" role="Procedure">
1410 <title id="UG.FMgr.mkr.29">To Specify Which Data Types Are Hidden<indexterm>
1411 <primary>hiding</primary><secondary>objects</secondary></indexterm><indexterm>
1412 <primary>objects</primary><secondary>hiding</secondary></indexterm><indexterm>
1413 <primary>hiding</primary><secondary>files</secondary></indexterm><indexterm>
1414 <primary>hiding</primary><secondary>folders</secondary></indexterm><indexterm>
1415 <primary>objects</primary><secondary>hiding</secondary></indexterm><indexterm>
1416 <primary>files</primary><secondary>hiding</secondary></indexterm><indexterm>
1417 <primary>folders</primary><secondary>hiding</secondary></indexterm></title>
1418 <orderedlist><listitem><para>Choose Set Filter Options from the View menu.
1419 </para>
1420 <para>Data types that have already been chosen to be hidden are highlighted.
1421 </para>
1422 </listitem><listitem><para>In the Select File Types to be Hidden box, select
1423 the data types you want to be hidden. File types that are already being hidden
1424 are highlighted.</para>
1425 <para><emphasis>Or</emphasis>, to reset the default filter list (DOT_FILE,
1426 DOT_FOLDER, and CURRENT_FOLDER), click Defaults.</para>
1427 </listitem><listitem><para><emphasis>Optional</emphasis>. Type a name pattern
1428 into the Also Hide (Optional) field specifying additional file and folder
1429 names to be hidden.</para>
1430 <para>The filter list specifies which files are <symbol role="Variable">not</symbol>
1431 to be displayed. If you select all object types or type * into
1432 the Filter String field <emphasis>no</emphasis> files are displayed. If you
1433 type <filename>*.txt</filename>, then any file whose name ends in
1434 <filename>.txt</filename> will be added to the filter list and not displayed.</para>
1435 <para>Advanced users: The Filter String may be any <emphasis>regular expression</emphasis>. Refer to the <filename moreinfo="RefEntry">regexp(5)</filename>
1436 man page for more information.</para>
1437 </listitem><listitem><para>Click OK.</para>
1438 </listitem></orderedlist>
1439 <para>If you want to view the results before closing the dialog box, click
1440 Apply.</para>
1441 <para>To reset to the default filter list, choose Defaults. This resets the
1442 default values but does not apply them until you click Apply or OK.</para>
1443 </sect2>
1444 <sect2 id="UG.FMgr.div.90">
1445 <title>Icon Browsing</title>
1446 <para><indexterm><primary>icons</primary><secondary>browsing in File Manager</secondary></indexterm><indexterm><primary>File Manager</primary><secondary>icon browsing in</secondary></indexterm>Files with names that end in
1447 <filename>.pm</filename> or .bm contain icons. These are the files that File Manager
1448 uses to build icons. By default, you must open these files to see the icons
1449 they contain. If you enable icon browsing, File Manager displays the contents
1450 of <filename>.pm</filename> or <filename>.bm</filename> files so you don't
1451 have to open them to see what they look like.</para>
1452 <figure>
1453 <title>Icon with icon browsing enabled (left) and disabled (right)</title>
1454 <graphic id="UG.FMgr.grph.4" entityref="UG.FMgr.fig.11"></graphic>
1455 </figure>
1456 <sect3 id="UG.FMgr.div.91" role="Procedure">
1457 <title>To Enable Icon Browsing</title>
1458 <orderedlist><listitem><para>Copy the file <computeroutput>/usr/dt/examples/types/</computeroutput> <symbol role="Variable">language</symbol> <computeroutput>/IconBrowse.dt</computeroutput> into your <computeroutput>/</computeroutput><symbol role="Variable">HomeDirectory</symbol><computeroutput>/.dt/types</computeroutput>
1459 folder.</para>
1460 </listitem><listitem><para>Open Application Manager and double-click Reload
1461 Actions in the Desktop_Tools application group.</para>
1462 </listitem>
1463 </orderedlist>
1464 <note>
1465 <para>The maximum default display area for icons is 38x38 pixels. So, if a
1466 picture file is larger than 38x38, the picture will be clipped and only the
1467 top left 38x38 pixels will be shown. You can increase the size of the display
1468 area for icons if you want larger images to be fully visible (see <!--Original
1469 XRef content: '&xd2;To Change the Icon
1470 Display Area Size'--><xref role="SectionTitle" linkend="UG.FMgr.mkr.30">).
1471 However, a larger display size area will slow down the opening of folders,
1472 and icons will be spread further apart in folder views.</para>
1473 </note>
1474 </sect3>
1475 <sect3 id="UG.FMgr.div.92" role="Procedure">
1476 <title>To Disable Icon Browsing</title>
1477 <orderedlist><listitem><para><indexterm><primary>icon browsing</primary></indexterm><indexterm>
1478 <primary>File Manager</primary><secondary>disabling icon browsing in</secondary>
1479 </indexterm>Remove your personal copy of the <computeroutput>IconBrowse.dt</computeroutput> file.</para>
1480 </listitem><listitem><para>Open Application Manager and double-click Reload
1481 Actions in the Desktop_Tools application group.</para>
1482 </listitem></orderedlist>
1483 </sect3>
1484 </sect2>
1485 <sect2 id="UG.FMgr.div.93" role="Procedure">
1486 <title id="UG.FMgr.mkr.30">To Change the Icon Display Area Size<indexterm>
1487 <primary>icons</primary><secondary>changing display area size in File Manager</secondary></indexterm><indexterm><primary>File Manager</primary><secondary>changing icon display area size in</secondary></indexterm></title>
1488 <orderedlist><listitem><para>Open a Terminal window and type <command>dtpad
1489 ~/.Xdefaults</command>.</para>
1490 </listitem><listitem><para>When the file is displayed, it may be empty or
1491 there may be text already in the file. In either case, add the following
1492 four lines of text to the file:</para>
1493 <programlisting>Dtfile*smallIconWidth:24
1494 Dtfile*smallIconHeight:24
1495 Dtfile*largeIconWidth:38
1496 Dtfile*largeIconHeight:38
1497 </programlisting>
1498 <para>When you type in these lines, replace the default numbers at the end
1499 of each line with the new display area size you want.</para>
1500 </listitem><listitem><para>Choose Save from the File menu.</para>
1501 </listitem><listitem><para>Choose Close from the File menu.</para>
1502 </listitem></orderedlist>
1503 <note>
1504 <para>The change will not take effect until you exit the desktop and log back
1505 in. If you should want to return to the default display area size, type the
1506 default sizes back in or just remove the four lines you added, and then exit
1507 and restart the desktop.</para>
1508 </note>
1509 </sect2>
1510 </sect1>
1511 </chapter>
1512 <!--fickle 1.14 mif-to-docbook 1.7 01/02/96 10:57:19-->
1513 <?Pub Caret>
1514 <?Pub *0000108527>