1 <?xml version="1.0" standalone="no"?>
2 <?xml-stylesheet href="to_html.xsl" type="text/xml"?>
3 <!-- vim: set sw=1 sts=1 : -->
4 <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
5 "/usr/share/sgml/docbook/dtd/xml/4.1.2/docbookx.dtd">
11 <ulink url="http://rox.sourceforge.net"/>
14 <firstname>Thomas</firstname><surname>Leonard</surname>
16 <address><email>tal197 at users.sourceforge.net</email></address>
19 <copyright><year>2003</year><holder>Thomas Leonard</holder></copyright>
21 <title>Conditions</title>
23 This program is free software; you can redistribute it and/or modify
24 it under the terms of the GNU General Public License as published
25 by the Free Software Foundation; either version 2 of the License,
26 or (at your option) any later version.
28 This program is distributed in the hope that it will be useful, but
29 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
30 or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
33 You should have received a copy of the GNU General Public License
34 along with this program; if not, write to the Free Software Foundation,
35 Inc., 59 Temple Place, Suite 330, Boston, MA, 02111-1307, USA.
41 <application>ROX-Filer</application> is a graphical file manger for the X
42 Window System. Its user interface is based on the RISC OS filer and it
43 supports similar features such as application directories and drag-and-drop
44 loading and saving of files. The filer can also act as a pinboard, allowing
45 you to pin frequently used files onto the desktop background.
51 <title>Introduction</title>
53 <application>ROX-Filer</application> is a simple and easy to use graphical
54 file manager for X11 — the windowing system used on Unix and Unix-like
55 operating systems. It is also the core component of the ROX Desktop
56 <citation>ROX</citation>. Many of the filer's features were inspired by RISC
57 OS <citation>RISC OS</citation>. `ROX' stands for `RISC OS–On–X'.
61 <title>Features</title>
66 <varlistentry><term>XDND</term>
68 A common drag-and-drop protocol used, for example, by the GNOME
69 desktop<citation>GNOME</citation>. This allows data to be loaded into an
70 application by dragging it from a filer window to a program. The full
71 specification is given in <citation>DND</citation>.
72 </para></listitem></varlistentry>
74 <varlistentry><term>XDS</term>
76 An extension to XDND that allows applications to save data by
77 dragging an icon back to a filer window. The full specification is given in
78 <citation>XDS</citation>.
79 </para></listitem></varlistentry>
81 <varlistentry><term>Choices</term>
83 A simple, but flexible, system for managing user choices. See
84 <citation>Choices</citation> for details.
85 </para></listitem></varlistentry>
87 <varlistentry><term>Application directories</term>
89 Self contained relocatable applications, where installation is as simple as
90 copying it to where you want it and uninstalling it is just a matter of
91 deleting a directory. Described later in this documentation.
92 </para></listitem></varlistentry>
94 <varlistentry><term>Thumbnails</term>
96 The filer can be made to display image files by using the image itself for the
97 icon, instead of a generic `this-is-an-image' icon. Very useful for organising
98 a directory full of photos! See <citation>Thumbs</citation> for details
99 (spec is still in developement).
100 </para></listitem></varlistentry>
102 <varlistentry><term>Shared MIME Info Database</term>
104 In the past, each desktop had its own database of rules for determining the
105 type of files. The Shared MIME Info Database<citation>SharedMIME</citation>
106 unifies these into a single system shared by all desktops.
107 </para></listitem></varlistentry>
109 <varlistentry><term>Icon Themes</term>
111 Collections of file icons, called themes, can be installed (eg, to
112 <filename>~/.icons</filename>). You can switch between themes in
113 the Options box. Once other desktops support this fully, themes
114 will be sharable between desktops.
115 </para></listitem></varlistentry>
117 <varlistentry><term>DNotify support (Linux only)</term>
119 If used with a recent Linux kernel (2.4.x series), the filer will notice changes
120 to directories automatically. On other systems, directories will update when the
121 pointer is moved over them.
122 </para></listitem></varlistentry>
131 <chapter id="invoking">
132 <title>Invoking</title>
134 You should be able to start the filer by simply running the <userinput>rox</userinput>
135 command, by typing it at a shell prompt or otherwise. If the filer isn't installed yet,
136 consult <xref linkend="compiling"/>.
139 By default, <application>ROX-Filer</application> will start by displaying
140 the current directory. You can get it to display other directories instead
141 by listing them after the command:
143 <screen>$ rox /home /usr /usr/local</screen>
145 You can also use it to open files, like this:
147 <screen>$ rox README</screen>
149 The filer supports various options; use <option>-h</option> for a list.
150 All options have long and short forms (eg <option>-h</option> and
151 <option>--help</option>) — although on some systems you can only use the
154 Note that if the same version of the filer is already running on this
155 machine then, by default, it will be used to open the directories.
157 For a complete list of command-line options, see <xref linkend="manpage"/>
161 <title><anchor id="run_pin" xreflabel="Pinboard support"/>Pinboard support</title>
164 If you want the filer to manage your desktop background then you use
165 the <option>--pinboard</option> option and supply a name for the pinboard,
168 <screen>$ rox --pinboard=MyPinboard</screen>
170 The pinboard configuration is saved in
171 <filename><Choices>/ROX-Filer/pb_MyPinboard</filename>
172 as soon as you change it in some way (for example, by dropping a file
173 onto the background). You can have as many pinboards as you like and
174 switch between them by running rox again, eg:
176 <screen>$ rox --pinboard=MyOtherPinboard</screen>
178 To turn off the pinboard again, set the name to an empty string:
180 <screen>$ rox --pinboard=</screen>
182 See the <xref linkend="winman"/> if you have trouble getting the icons to
183 display correctly. The pinboard may also be turned on and off by locating
184 <filename>ROX-Filer</filename> in a filer window and choosing `Enable
185 pinboard' or `Disable pinboard' from the menu. </para>
189 <title><anchor id="run_pan" xreflabel="Panel support"/>Panels</title>
192 Panels work just like the pinboard. You can create a panel on any
193 side of the screen by using the options <option>--left</option>, <option>--right,</option>
194 <option>--top</option> and <option>--bottom</option>, depending on which side
195 of the screen the panel should appear on. On some systems, the short
196 (one letter) form of the options must be used. For example, to create
197 a panel along the bottom edge of the screen:
199 <screen>$ rox -b=MyPanel</screen>
201 The panel should be displayed in a window without a title bar. If
202 this does not work then see the <xref linkend="winman"/> for some ideas.
203 You can drag files onto either side of the panel to add them. Panel icons
204 can be repositioned by dragging them with the middle mouse button.
205 Changes to the panel are automatically saved to
206 <filename><Choices>/ROX-Filer/pan_MyPanel</filename>.
207 As with the pinboard, you can switch between panel configurations
208 simply by running rox again with a different panel name. Specify a
209 blank name to remove the panel.
211 <screen>$ rox --bottom=MyOtherPanel
212 $ rox --bottom=</screen>
217 <title><anchor id="winman" xreflabel="window manager notes"/>Window manager notes</title>
219 You may have to play around with your window manager a bit to get
220 the pinboard icons and panels to display correctly (eg, without borders
221 and underneath all other windows). In particular, try setting the
222 stacking level / depth to low (or a negative value). Make sure any
223 'Keep transients above other windows' type options are turned off!
226 <sect2><title>Sawfish / sawmill</title>
228 Sawfish tries to guess whether you are using GNOME at start-up and only
229 provides support if so. You may need to add the line
230 <programlisting>(require 'gnome)</programlisting>
231 to your <filename>.sawfishrc</filename> file (see the sawfish manual
236 <sect2><title>IceWM</title>
239 Paste these configuration settings into
240 <filename>~/.icewm/preferences</filename>:
243 # Manage root window (EXPERIMENTAL - normally enabled!)
244 GrabRootWindow=1 # 0/1
245 # Bitmask of root window button click to use in window manager
246 UseRootButtons=3 # [0-255]
247 # Desktop mouse-button click to show the menu
248 DesktopWinMenuButton=1 # [0-20]
249 # Desktop mouse-button click to show the window list
250 DesktopWinListButton=2 # [0-5]
251 # Desktop mouse-button click to show the window list menu
252 DesktopMenuButton=0 # [0-20]</programlisting>
253 Paste these into <filename>~/.icewm/winoptions</filename>:
256 # ROX-Filer pinboard and panel
257 ROX-Filer.icon: folder
258 ROX-Panel.layer: Dock
259 ROX-Panel.doNotCover: 1
260 ROX-Panel.ignoreWinList: 1
261 ROX-Panel.ignoreTaskBar: 1
262 ROX-Panel.ignoreQuickSwitch: 1
263 ROX-Pinboard.layer: Below
264 ROX-Pinboard.ignoreWinList: 1
265 ROX-Pinboard.ignoreTaskBar: 1
266 ROX-Pinboard.ignoreQuickSwitch: 1
267 ROX-Filer.layer: Normal</programlisting>
268 Restart IceWM and the filer for the new settings to take effect.
273 <sect2><title>Window Maker</title>
275 <step><para>Run the filer using <userinput>rox -p=Default</userinput>.</para></step>
277 Press <keycap>Control</keycap>+<keycap>Escape</keycap>, or
278 [RightButtonDown] on any window's titlebar.
279 Choose <guimenuitem>Attributes...</guimenuitem> from the menu.
283 The Attributes Inspector window appears. From the pulldown menu
284 at the top, choose <guimenuitem>Window Specification</guimenuitem>
289 Press the <guibutton>Select window</guibutton> button.
290 The cursor changes to a double crosshair. Select one of the
291 <application>ROX-Filer</application> pinboard icons. The radio buttons
292 in the <guilabel>Window Specification</guilabel> frame should change
293 their labels to include <userinput>ROX-Pinboard.ROX-Filer</userinput>
294 as the first item. Select that radio button.
298 Choose <guimenuitem>Window Attributes</guimenuitem> from the pulldown
299 menu. In the <guilabel>Attributes</guilabel> frame, choose the
300 features you want the pinboard icons to have; I recommend the
303 <listitem><para>Disable titlebar</para></listitem>
304 <listitem><para>Disable resizebar</para></listitem>
305 <listitem><para>Disable close button</para></listitem>
306 <listitem><para>Disable miniaturize button</para></listitem>
307 <listitem><para>Keep at bottom (sunken)</para></listitem>
308 <listitem><para>Omnipresent</para></listitem>
314 Choose <guimenuitem>Advanced Options</guimenuitem> from the pulldown
315 menu. In the <guilabel>Advanced</guilabel> frame, choose the advanced
316 features you wish; I recommend the following:
319 <listitem><para>Do not show in the window list</para></listitem>
320 <listitem><para>Ignore 'Hide Others'</para></listitem>
321 <listitem><para>Ignore 'Save Session' (possibly)</para></listitem>
326 When you're finished selecting window attributes, press the
327 <guibutton>Save</guibutton> button, and then close the Attributes
328 Inspector window using the <guibutton>X</guibutton> button in the titlebar.
333 <sect2><title>Others</title>
335 If all else fails, try the Compatibility section of the Options window.
341 <title>Running as root</title>
344 If you run the filer as the `root' user then the filer will display
345 a message at the top of each window to remind you. The root user has
346 permission to access or change any file in the system, so be very
347 careful when using the filer like this.
349 Normally, you should log in as an ordinary user and only change to
350 root when you need to. If you have <command>sudo</command> installed
351 and set up then you can run the filer like this:
353 <screen>$ sudo rox</screen>
355 Remember, any file operations you perform and any programs you run from
356 these windows will run as root too! Be careful!
358 You may find that the X server won't allow root (or other users) to
359 connect. Reading the manual pages for <command>xauth</command> and
360 <command>xhost</command> may give you some hints, but it varies
361 between systems (which is why this isn't built in to the filer!).
368 <chapter id="keys" xreflabel="mouse and key bindings">
369 <title>Mouse button and key bindings</title>
371 <itemizedlist><title>Quick start:</title>
373 <listitem><para>Click the left
374 <footnote><para>This documentation assumes that button–1 is the left
375 button, button–2 is the middle button and button–3 is the
376 right button. This is not always the case — for example, in a
377 left-handed setup.</para></footnote> mouse button to open files and
378 directories.</para></listitem>
381 Click the right button to get a menu. Click over a file to perform an action on that file.
385 Drag files between windows with the left button to copy, move or link them
386 (choose from a menu). Linking creates a shortcut to the original file.
392 By default, the mouse button bindings are designed to fit in with X
393 conventions. However, the behaviour is highly configurable — have a play in
394 the Options window if you don't like the normal settings. The normal settings
400 <thead><row><entry>Key or mouse button</entry><entry>Action</entry></row></thead>
404 <row><entry>Left button click</entry><entry>
405 Open the file or directory clicked on. Hold down <keycap>Control</keycap>
406 to select things instead of opening them. Hold down <keycap>Shift</keycap>
407 to look inside applications, treat files as text, follow symlinks, or
408 get more control over mount points (see <xref linkend="media"/>).
411 <row><entry>Middle button click</entry><entry>
412 Same as left click, but open a directory in a new window or close the viewer
416 <row><entry>Right button click</entry><entry>
417 Open the main menu. Hold down <keycap>Control</keycap> while clicking to go
418 directly to the Selection submenu. Hold down <keycap>Shift</keycap> to get the
419 <guimenu>Send To</guimenu> menu (see the <xref linkend="SendTo"/> section).
422 <row><entry>Drag an item (left mouse button)</entry><entry>
423 Show a menu of possible actions. There is an option to disable this menu,
424 in which case this gesture will copy the file(s) to the destination (an
425 application or another filer window). Hold down <keycap>Shift</keycap>
426 to move the file, <keycap>Control</keycap>+<keycap>Shift</keycap> to
427 create a symbolic link, or <keycap>Alt</keycap> to get the menu of
431 <row><entry>Drag an item (middle mouse button)</entry><entry>
432 When you let go, display a menu of possible actions.
433 There is an option to make this move the files rather than open the menu.
436 <row><entry>Drag (not over an item)</entry><entry>
437 Select a group of items by dragging a box around them. With the left
438 mouse button, only the files in the box will be selected. If you hold
439 down <keycap>Control</keycap> then the boxed items are added to the selection.
440 If you use the middle button then the boxed items switch between being selected
444 <row><entry>Double-click background</entry><entry>
445 Resize the window to a sensible size.
448 <row><entry><keycap>Backspace</keycap></entry><entry>
449 Change to viewing the parent directory.
452 <row><entry>Cursor keys</entry><entry>
453 Move the cursor around.
457 <keycap>Page Up</keycap>, <keycap>Page Down</keycap></entry><entry>
458 Move the cursor up and down a page at a time.
461 <row><entry><keycap>Home</keycap>, <keycap>End</keycap></entry><entry>
462 Move to the first/last entry in the directory.
465 <row><entry><keycap>Return</keycap></entry><entry>
466 Acts like clicking on the file. You may hold down Shift for other
467 effects, as with clicking. Holding down Alt works like clicking with
468 the middle button; directories open in a new window and opening files
469 closes the directory at the same time.
472 <row><entry><keycap>Spacebar</keycap></entry><entry>
473 Toggles the item under the cursor between being selected and unselected,
474 and moves to the next item.
477 <row><entry><keycap>Tab</keycap>, <keycap>Shift</keycap>+<keycap>Tab</keycap></entry><entry>
478 Moves the cursor to the next/previous selected item.
481 <row><entry>Hold mouse over an item</entry><entry>
482 Shows a tooltip containing a brief description of an application (if
483 available), the target of a symbolic link, and the full name of a file,
484 if it's too long to show in the main window.
487 </tbody></tgroup></informaltable>
490 If you have user-defineable key-bindings enabled, then other keys can easily
491 be set by opening the menu, moving the pointer over the item you want to use
492 and pressing a key. The key will appear in the menu and can be used from
493 then on. Key bindings are automatically saved when the filer quits.
494 You can use an XSettings manager, such as ROX-Session, to turn this feature
495 on for all Gtk+-2.0 applications.
499 <chapter id="selection">
500 <title>The selection and file groups</title>
502 When you select items in a <application>ROX-Filer</application> window,
503 the filer takes the <emphasis>primary selection</emphasis>. You can then paste
504 into another window to get the pathnames of the selected files.
508 <title>Example: loading a file into an application that doesn't support
509 drag-and-drop:</title>
511 <step><para>Open the application's Open dialog box.</para></step>
514 <keycap>Control</keycap>-click on the file in
515 <application>ROX-Filer</application> to select it.</para></step>
518 Click the middle button in the filename box in the application to paste the
524 Note that clicking the middle mouse button in the main area of most web-browsers
525 will open the selected file.
527 If you select something else (eg, some text in another program), the selected
528 items in the filer window will be shown shaded (the filer no longer has the
529 primary selection). Clicking on one of the shaded items will cause the
530 filer to regain the primary selection.
533 <sect1><title>Saving and restoring the selection</title>
535 It is sometimes useful to save the current selection for later. You can
536 save the current selection to one of ten numbered groups by pressing
537 <keycap>Control</keycap>+<keycap><number></keycap>.
538 You can restore a saved group by pressing the group number on its own. You
539 can do this from a different directory, or even a different filer window.
541 Saving is also useful even if there is no selection, since it still saves
542 the current directory.
544 <procedure><title>Example: saving a directory and returning to it later:</title>
545 <step><para>You are looking at a directory, and wish to remember it.
546 Press <keycap>Control</keycap>+<keycap>1</keycap>.</para></step>
547 <step><para>Move to another directory, or close the window, etc.</para></step>
548 <step><para>Press <keycap>1</keycap> in any filer window to return
549 to the first directory.</para></step> </procedure>
550 <para>The groups are saved automatically for next time the filer is loaded.
554 <chapter id="toolbar">
555 <title><anchor id="Toolbar" xreflabel="Toolbar"/>The toolbar</title>
558 By default, each window has a toolbar along the top. You can disable
559 this (or make it larger) from the Options window, as well as set which
560 tools appear on the toolbar. Normally, you should click with the left
561 mouse button (1). However, many tools can perform a related function
562 if clicked on with buttons 2 or 3 (middle or right).
565 <informaltable><tgroup cols="3">
570 Mouse button 1</entry><entry>
579 Close the window</entry><entry>
581 </entry></row><row><entry>
582 Up arrow</entry><entry>
583 Change to parent directory</entry><entry>
584 Show parent in a new window <xref linkend="newwin_fn"/>
585 </entry></row><row><entry>
587 Change to home directory</entry><entry>
588 Show home in a new window <xref linkend="newwin_fn"/>
589 </entry></row><row><entry>
590 Jump to point</entry><entry>
591 Open the <xref linkend="bookmarks"/>
594 </entry></row><row><entry>
595 Looping arrows</entry><entry>
596 Reread the directory contents</entry><entry>
598 </entry></row><row><entry>
599 Magnifying glass (+)</entry><entry>
600 Select a larger icon size.</entry><entry>
601 Select a smaller icon size.
602 </entry></row><row><entry>
603 Magnifying glass (fit)</entry><entry>
604 Set Automatic sizing mode and resize the window.</entry><entry>
606 </entry></row><row><entry>
608 Hide or show extra details</entry><entry>
610 </entry></row><row><entry>
612 Step forward through the different sort types.</entry><entry>
613 Step backward through the sort types.
614 </entry></row><row><entry>
616 Toggle the display of hidden files (those with names starting with a dot)</entry><entry>
618 </entry></row><row><entry>
619 List with selections</entry><entry>
620 Select All.</entry><entry>
622 </entry></row><row><entry>
623 Life-belt</entry><entry>
624 Show <application>ROX-Filer</application>'s help files</entry><entry>
627 </tbody></tgroup></informaltable>
630 <anchor id="newwin_fn" xreflabel="[1]"/>[1]
631 If the 'New window on button 1' option is turned on
632 then the default is to open a new window — clicking with the other
633 button reuses the same window instead.
637 Dragging files to the Up or Home icons acts just like dragging them
638 into the directory which the button leads to. Dragging to the Bookmarks button
639 will add the directory as a bookmark.
642 The toolbar can also show the number of files in the directory, and
643 information about the selection. This can be turned on or off in the
649 <title>The menus</title>
651 By default, you can open a menu by right clicking over a pinboard, panel or
654 In filer windows, you may also press <keycap>\</keycap> to open the menu. As
655 a shortcut, you can open the File submenu directly by holding down the
656 <keycap>Control</keycap> key when opening the menu. Here is a full
657 description of each menu item:
659 <informaltable><tgroup cols="2">
661 <thead><row><entry>Entry</entry><entry>Action</entry></row></thead>
664 <row><entry><guimenuitem>Display</guimenuitem></entry><entry>
665 Change the display settings.
668 <row><entry><guimenuitem>File</guimenuitem></entry><entry>
669 Operations on the selected items.
672 <row><entry><guimenuitem>Select</guimenuitem></entry><entry>
673 Control which items are selected.
676 <row><entry><guimenuitem>Options...</guimenuitem></entry><entry>
677 Configure <application>ROX-Filer</application>.
680 <row><entry><guimenuitem>New</guimenuitem></entry><entry>
681 Create a new file or subdirectory inside this directory.
684 <row><entry><guimenuitem>Window</guimenuitem></entry><entry>
685 Operations on the window as a whole.
688 <row><entry><guimenuitem>Help</guimenuitem></entry><entry>
689 Information about the filer.
692 </tbody></tgroup></informaltable>
697 <title>The display menu</title>
700 <informaltable><tgroup cols="2">
702 <thead><row><entry>Entry</entry><entry>Action</entry></row></thead>
705 <row><entry><guimenuitem>Icons View</guimenuitem></entry><entry>
706 Files are displayed as rows of icons.
709 <row><entry><guimenuitem>Icons, With...</guimenuitem></entry><entry>
710 Files are displayed as rows of icons with additional details
711 (chosen from the submenu). To see fuller information about each file
712 use the List View instead.
715 <row><entry><guimenuitem>List View</guimenuitem></entry><entry>
716 Show files in a list along with their details. Click on a column heading
717 to sort by that column.
720 <row><entry><guimenuitem>Bigger Icons</guimenuitem></entry><entry>
721 Increase the size of the icons. Turns off Automatic mode.
724 <row><entry><guimenuitem>Smaller Icons</guimenuitem></entry><entry>
725 Reduce the size of the icons. Turns off Automatic mode.
728 <row><entry><guimenuitem>Automatic</guimenuitem></entry><entry>
729 Select a sensbile icon size automatically now and when changing
733 <row><entry><guimenuitem>Sort by XXX</guimenuitem></entry><entry>
734 Set the sort mode. In List View you can also set the sort type by
735 clicking on the column headings.
738 <row><entry><guimenuitem>Reversed</guimenuitem></entry><entry>
739 Sort in reverse order (newest to oldest, largest to smallest, etc).
742 <row><entry><guimenuitem>Show Hidden</guimenuitem></entry><entry>
743 If on, files beginning with a dot are shown, otherwise they are hidden.
744 The titlebar shows <guilabel>(All)</guilabel> when this is on.
747 <row><entry><guimenuitem>Show Thumbnails</guimenuitem></entry><entry>
748 When on, the filer tries to load every image file and use that
749 image as the file's icon. Useful if you have a directory full of
750 photos and can't remember which is which!
751 See the <xref linkend="thumbnails"/> section for details.
754 <row><entry><guimenuitem>Refresh</guimenuitem></entry><entry>
755 Rereads the contents of the directory and details of all the files
756 in it. Use this if the display becomes out-of-date.
758 </tbody></tgroup></informaltable>
762 <sect2><title><anchor id="Permissions" xreflabel="Permissions"/>
767 The permissions field, when shown, is made up of four groups of three
768 flags. Each flag is displayed as a letter if it is on and a dash (–)
769 if not. The first three characters show the permissions for the owner
770 of the file, the second for other members of the file's group and
771 the third for everyone else. Whichever group applies to the
772 <application>ROX-Filer</application> process itself is shown underlined.
773 The fourth group shows any special flags.
775 The meanings of the characters are:
779 <listitem><para><computeroutput>r</computeroutput> —
780 Permission to read the contents of a file, or the names of files
781 in a directory.</para></listitem>
783 <listitem><para><computeroutput>w</computeroutput> —
784 Permission to alter the contents of a file, or change which names
785 appear in a directory.</para></listitem>
787 <listitem><para><computeroutput>x</computeroutput> —
788 Permission to run the file as a program, or refer to the files
789 listed within the directory.</para></listitem>
791 <listitem><para><computeroutput>U</computeroutput> —
792 This program executes with the <emphasis>effective user ID</emphasis> of its
793 owner rather than the person who ran it.</para></listitem>
795 <listitem><para><computeroutput>G</computeroutput> —
796 This program executes with the <emphasis>effective group ID</emphasis> of its
797 group, regardless of who ran it.</para></listitem>
799 <listitem><para><computeroutput>T</computeroutput> —
800 Entries in this directory can only be altered or removed by the
801 people who own the files even if they have write permission on the
802 directory itself.</para></listitem>
807 <emphasis role="underline">rwx</emphasis>,rwx,r-x/---</programlisting>
808 means that the owner of the file is the same as the effective user of
809 <application>ROX-Filer</application> (basically, you own the file), you and
810 members of the file's group have read, write and execute permission and other
811 people have only read and execute permission. There are no special flags set.
813 The rules which determine which permissions apply may vary slightly between
814 operating systems, but a rough guide is:
818 <listitem><para>If the <emphasis>effective user ID</emphasis> of the
819 process is equal to the file's owner, then the owner permissions apply.
822 <listitem><para>Otherwise, if the <emphasis>effective group ID</emphasis>
823 of the process is equal to the file's group OR the file's group is one
824 of the process's <emphasis>supplemental groups</emphasis> then the
825 group permissions apply.
828 <listitem><para>Otherwise, the `other' permissions apply. The
829 <emphasis>real user ID</emphasis> and <emphasis>real group
830 ID</emphasis> have no effect (except that a process may set its real
831 IDs to its effective IDs).
841 <title>The file menu</title>
843 All of these work in the same way — if you open the menu with some
844 items selected then the operation applies to those items. If you open
845 then menu over an item while there is no selection then that item
846 is temporarily selected.
848 If you choose one of these while there is no selection at all then the
849 window goes into `target mode'; the operation happens to the next item you
850 click on. Click on the window background, press <keycap>Escape</keycap>, or
851 click with the right mouse button to cancel target mode. Target mode is
852 mainly useful with the <guilabel>Single-click navigation</guilabel> option
853 and keys bound to the various menu entries. </para><para>
854 Note that individual applications may add extra menu items to the
855 top of this submenu when you click over them — see
856 <xref linkend="AppDir"/> for details. There may also be any number of
857 user-defined actions at the top, which depend on the type of file
858 clicked on. You can add programs here by choosing the
859 <guimenuitem>Customise Menu</guimenuitem> item. For example, you could
860 make <application>The Gimp</application> appear on the menu for images, and
861 <application>FreeFS</application> appear for mount points.
863 <informaltable><tgroup cols="2">
864 <thead><row><entry>Entry</entry><entry>Action</entry></row></thead>
868 <guimenuitem>Copy...</guimenuitem></entry><entry>
869 Make a copy of this object.
873 <guimenuitem>Rename...</guimenuitem></entry><entry>
874 Change the name used for this object, or move it between directories.
878 <guimenuitem>Link...</guimenuitem></entry><entry>
879 Create a symbolic link to this name.
883 <guimenuitem>Delete</guimenuitem></entry><entry>
884 Remove all the selected entries from the directory. Subdirectories
885 will have their contents deleted first. Deleting symlinks only removes
886 the link, not the thing it points to.
890 <guimenuitem>Shift Open</guimenuitem></entry><entry>
891 Opens applications as directories, files as text/plain, and
892 symlinks by opening the directory containing the thing they point to.
893 It also has interesting effects on mount points (see <xref linkend="media"/>).
894 This is the same effect as clicking with <keycap>Shift</keycap> held
895 down. The text of the menu entry changes to show which action will be
900 <guimenuitem>Open AVFS</guimenuitem></entry><entry>
901 Open the file as if it was a directory — see the
902 <xref linkend="vfs"/> section.
906 <guimenuitem>Send To...</guimenuitem></entry><entry>
907 Opens the `Send To' menu, allowing you to send the selected files
908 to one of a list of applications. See the
909 <xref linkend="SendTo"/> section.
913 <guimenuitem>Set Run Action...</guimenuitem></entry><entry>
914 Allows you to set the default program to use when opening files of
915 this type. See <xref linkend="RunAction"/> section for details.
919 <guimenuitem>Set Icon...</guimenuitem></entry><entry>
920 You can give each file or directory its own special icon using this
921 feature — simply drag a suitable image onto <xref linkend="SetIcon"/>.
925 <guimenuitem>Info</guimenuitem></entry><entry>
926 Display extra information about this object. You can also change
927 the access permissions from here (<guimenuitem>Permissions</guimenuitem>
928 below allows you to change many files at once).
932 <guimenuitem>Count</guimenuitem></entry><entry>
933 Count the sizes of all the selected items. Directories also have their
934 contents counted. Symlinks count themselves, not the things they point
939 <guimenuitem>Permissions</guimenuitem></entry><entry>
940 Allows you to change the permissions for the selected files.
941 If only one file is to be changed, you can use
942 <guimenuitem>Info</guimenuitem> instead for a simpler interface.
946 <guimenuitem>Find</guimenuitem></entry><entry>
947 Search for files by specifying various conditions — see the
948 <xref linkend="Searching"/> section.
951 </tbody></tgroup></informaltable>
954 <formalpara><title>Note about symlinks:</title>
956 A symbolic link stores the <emphasis>location</emphasis>
957 of another file. Deleting the symlink doesn't affect the other file.
958 Deleting the other file means that the symlink won't work. There are
959 two types of symbolic link — Relative and Absolute. An absolute
960 link stores the path from the root directory to the target file (eg
961 <filename>/home/fred/MyFile</filename>).
963 A relative path stores the path from the symlink
964 to the target (eg <filename>../fred/MyFile</filename>).
965 If the target file is never going to move then you want an absolute link,
966 but if the target may move (and the symlink will be moved with it) then
967 you want a relative link.
973 <title>The select menu</title>
975 This menu allows you to select and unselect files in various ways. See the
976 <xref linkend="keys"/> section for other ways to select files.
978 <informaltable><tgroup cols="2">
979 <thead><row><entry>Entry</entry><entry>Action</entry></row></thead>
982 <guimenuitem>Select All</guimenuitem></entry><entry>
983 Select every item in this window.
986 <row><entry><guimenuitem>Clear Selection</guimenuitem></entry><entry>
987 Unselect every item in this window.
990 <row><entry><guimenuitem>Invert Selection</guimenuitem></entry><entry>
991 Every selected file becomes unselected, and every unselected file
996 <guimenuitem>Select If...</guimenuitem></entry><entry>
997 Select just those files that match the given pattern —
998 see the <xref linkend="SelectIf"/> section.
1001 </tbody></tgroup></informaltable>
1007 <title>The new menu</title>
1010 Each entry in this submenu opens a savebox for creating a new file or
1011 directory. There are two standard entries; the others are the contents of
1012 your <filename><Choices>/Templates</filename> directory, if it
1016 <informaltable><tgroup cols="2">
1017 <thead><row><entry>Entry</entry><entry>Action</entry></row></thead>
1020 Directory</entry><entry>
1021 Create a new directory.
1022 </entry></row><row><entry>
1024 Create a blank file.
1025 </entry></row><row><entry>
1026 <user entries></entry><entry>
1027 Copy a file from your Templates directory.
1029 </tbody></tgroup></informaltable>
1032 To add your own entries, create a new directory called
1033 <filename>~/Choices/Templates</filename>
1034 (if you have the default <envar>CHOICESPATH</envar>) and put any files you
1035 want in there. Each file in the directory will appear on the menu and the
1036 box that appears will copy it. For example, you could create a blank
1042 <title>My Page</title>
1047 </html></programlisting>
1049 Save this as <filename>index.html</filename> inside the
1050 <filename>Templates</filename> directory and you can easily create new
1051 HTML files. You can also save blank documents from various applications
1052 into here (eg, a blank spreadsheet, a blank letter, etc).
1054 Note that you cannot set keyboard shortcuts for these user-defined
1061 <title>The window menu</title>
1065 <informaltable><tgroup cols="2">
1066 <thead><row><entry>Entry</entry><entry>Action</entry></row></thead>
1069 <guimenuitem>Parent, New Window</guimenuitem></entry><entry>
1070 Open a new window displaying this window's parent.
1074 <guimenuitem>Parent, Same Window</guimenuitem></entry><entry>
1075 As above, but reuse this window.
1079 <guimenuitem>New Window</guimenuitem></entry><entry>
1080 Open another window onto this directory.
1084 <guimenuitem>Home Directory</guimenuitem></entry><entry>
1085 Change to your home directory.
1089 <guimenuitem>Show Bookmarks</guimenuitem></entry><entry>
1090 Open the bookmarks menu (see <xref linkend="bookmarks"/>).
1094 <guimenuitem>Follow Symbolic Links</guimenuitem></entry><entry>
1095 Converts the path shown in the window's titlebar to its canonical form.
1096 For example, if <filename>/home/fred/link</filename> is a symlink
1097 pointing to <filename>/usr/share/doc/</filename> then clicking on the symlink
1098 will take you to that directory and going `up' will take you back to
1099 <filename>/home/fred</filename>.
1100 If you'd used <guimenuitem>Follow Symbolic Links</guimenuitem>, you would
1101 have ended up in <filename>/usr/share</filename> instead.
1105 <guimenuitem>Resize Window</guimenuitem></entry><entry>
1106 Set the window to a sensible size for its contents.
1110 <guimenuitem>Close Window</guimenuitem></entry><entry>
1115 <guimenuitem>Enter Path...</guimenuitem></entry><entry>
1116 Open the path-entry box (see the the <xref linkend="mini"/> section).
1120 <guimenuitem>Shell Command...</guimenuitem></entry><entry>
1121 Open the shell command box (see the <xref linkend="mini"/> section).
1124 <row><entry><guimenuitem>Xterm Here</guimenuitem></entry><entry>
1125 Open an xterm with its current directory set to this directory.
1128 <row><entry><guimenuitem>Switch to xterm</guimenuitem></entry><entry>
1129 Open an xterm with its current directory set to this directory, and close the
1130 filer window at the same time.
1133 </tbody></tgroup></informaltable>
1140 <title>The help menu</title>
1143 <informaltable><tgroup cols="2">
1144 <thead><row><entry>Entry</entry><entry>Action</entry></row></thead>
1147 <guimenuitem>About ROX-Filer...</guimenuitem></entry><entry>
1148 Display information about the file. This is the same as locating ROX-Filer
1149 itself in a filer window and selecting <guimenuitem>Info</guimenuitem> from
1154 <guimenuitem>Show Help Files</guimenuitem></entry><entry>
1155 Same as selecting ROX-Filer and choosing
1156 <guimenuitem>Help</guimenuitem> from the file menu.
1160 <guimenuitem>Manual</guimenuitem></entry><entry>
1161 Opens the HTML manual for your language, or the English version if there
1165 </tbody></tgroup></informaltable>
1171 <title><anchor id="SendTo" xreflabel="Send To menu"/>The send to menu</title>
1174 The `Send To' menu provides a quick way to send some files to an application.
1175 The filer scans all the <filename>SendTo</filename> directories in your
1176 <envar>CHOICESPATH</envar> and lists the contents on this menu.
1178 To change which applications appear here you should choose the
1179 <guimenuitem>Customise</guimenuitem> item from the bottom
1180 of the menu to create and open your own <filename>SendTo</filename>
1181 directory. Applications can be symlinked into this directory by dragging
1182 them in and choosing <guimenuitem>Link</guimenuitem> from the menu.
1184 Opening the Send To menu via the main menu is rather slow, so it is
1185 normally opened by clicking the Menu mouse button over a file while
1186 holding the <keycap>Shift</keycap> key down.
1189 <title>Showing different applications for different types</title>
1191 You may want to set things up so that, for example, the Gimp is
1192 only shown when an image is selected. To do this, create a
1193 hidden directory inside <filename>SendTo</filename> called
1194 <filename>.image</filename>, or whatever type you want to use.
1195 You can use either the complete type (eg <filename>.image_png</filename>)
1196 or just the media type. Use <guimenuitem>Info</guimenuitem> over a file to
1197 find out its MIME type.
1200 Entries in these hidden directories are shown only for files of
1201 the appropriate type. If multiple files are selected, the
1202 <filename>.group</filename> directory is used instead.
1208 <title><anchor id="bookmarks" xreflabel="Bookmarks menu"/>The bookmarks menu</title>
1210 The bookmarks menu can be used to store a list of frequently used directories.
1211 You can also open the menu from the main popup menu (in the <guimenuitem>Window</guimenuitem> submenu)
1212 and you can use this to bind a shortcut key to it. From the bookmarks menu
1213 you can add the currently shown directory to the list, jump to one of the
1214 stored directories, or open a dialog letting you edit the list. In the dialog
1215 box, you can remove entries, rearrange them (using the arrows or by
1216 dragging) and edit the pathnames directly, if required.
1219 The <guimenuitem>Recently Visited</guimenuitem> submenu shows the last few directories
1220 viewed. Choosing one will switch to that directory. The current directory is shown
1221 shaded, since you are already there.
1227 <chapter id="icons">
1228 <title>The pinboard and panels</title>
1231 The <xref linkend="run_pin"/> and <xref linkend="run_pan"/> sections explain
1232 how to turn the pinboard and panels on. Once on, you may drop items from filer
1233 windows onto the them to pin them up. Clicking on a pinned item acts just like
1234 clicking on it in a filer window. You can drag pinned icons just like normal
1235 icons and you can right-click on one to see the popup menu.
1237 Drag panel icons with the middle mouse button to move them around.
1238 In previous versions of the filer, pinboard icons were also moved using the
1239 middle mouse button, but this is no longer supported (as the middle button
1240 is reserved for the window manager's use).
1242 You can assign keyboard shortcuts to pinboard and panel icons. These can be
1243 used to open directories, files or applications quickly, even if another
1244 window has the focus.
1246 Changes to the pinboard and panel are automatically saved. Clicking on pinned
1247 icons with <keycap>Control</keycap> held down selects and unselects them.
1248 Click on the background to unselect them all.
1252 Pinning a file does <emphasis>not</emphasis> copy it, it merely
1253 creates a shortcut to the original file. If you delete the file, then
1254 you've lost it! Removing a pinned file from its pinboard or panel
1255 only removes the link. This is different to most other filers...
1259 <title>The pinboard and panel menus</title>
1262 <informaltable><tgroup cols="2">
1263 <thead><row><entry>Entry</entry><entry>Action</entry></row></thead>
1267 <guimenuitem>ROX-Filer</guimenuitem></entry><entry>
1268 Show the filer's help, edit the options or open your home directory.
1272 <guimenuitem>File `file'</guimenuitem></entry><entry>
1273 Offers a smaller version of the filer's submenu of the same name.
1277 <guimenuitem>Edit Item</guimenuitem></entry><entry>
1278 Change the name displayed under the icon, or the pathname the item
1279 points to. You can also set a keyboard shortcut for the icon here.
1283 <guimenuitem>Show Location</guimenuitem></entry><entry>
1284 Open a directory viewer showing where the file is stored.
1288 <guimenuitem>Remove Item(s)</guimenuitem></entry><entry>
1289 Remove the selected items from the pinboard or panel.
1293 <guimenuitem>Backdrop...</guimenuitem></entry><entry>
1294 Set the desktop backdrop image (see below). Only available from
1298 </tbody></tgroup></informaltable>
1301 If you are setting up the defaults for multiple users and
1302 you wish to create a `Home' icon that leads to each user's home directory
1303 then you should first create a new icon and then use
1304 <guimenuitem>Edit Icon</guimenuitem> to change the location to
1305 <filename>~</filename> and the name to `Home'.
1307 Note that individual applications may add extra menu items to the
1308 top of this menu when you click over them — see <xref linkend="AppDir"/>
1314 <title>Panel applets</title>
1317 <application>ROX-Filer</application> allows you to run small programs
1318 inside the panel — such programs are called
1319 <emphasis>applets</emphasis>. To run an applet, drag it onto the panel from
1320 a filer window and instead of the applet's icon being shown, the applet
1324 <procedure><title>To create your own applets (programmers only!):</title>
1327 Create a directory for the applet (eg <filename>MyApplet</filename>).
1331 Use the <guimenuitem>Set Icon...</guimenuitem> feature to create an icon
1332 called <filename>.DirIcon</filename> inside it (so the directory appears
1337 Make a <filename>Help</filename> directory inside it for when the user
1338 chooses <guimenuitem>Help</guimenuitem> from the menu.
1342 Create an executable file called <filename>AppletRun</filename>. This will be
1343 passed the XID of the panel socket window when the directory is dragged
1344 onto the panel. You can use this to create a GtkPlug widget. An
1345 example applet (written in python) is available at
1346 <ulink url="http://rox.sourceforge.net/applets.html"/>
1353 <title><anchor id="iconify" xreflabel="Iconified windows"/>Iconified windows on the pinboard</title>
1355 When the pinboard is in use, ROX-Filer can be used to display an icon for each iconified
1356 (or 'minimised') window. You can turn this on or off from the Options box. Iconified window icons
1357 have a semi-transparent background slab effect, and can be dragged around.
1358 Clicking on one will expand it back into the window it represents. Some
1359 older window managers do not support this, and no icons will be shown.
1364 <title><anchor id="backdropapp" xreflabel="Backdrop applications"/>The pinboard backdrop image</title>
1366 You can set any image for the backdrop by choosing <guimenuitem>Backdrop...</guimenuitem>
1367 from the pinboard menu (right-click over the desktop background when the pinboard is turned on).
1370 To set an image, select <guilabel>Centre</guilabel>, <guilabel>Scale</guilabel>,
1371 <guilabel>Stretch</guilabel> or <guilabel>Tile</guilabel> to set the style,
1372 and then drag an image onto the marked area. To return to a solid colour
1373 backdrop (as set in the Options box), click on <guibutton>Clear</guibutton>.
1375 The Wallpaper<citation>Wallpaper</citation> application can be used for more complicated
1376 effects, such as choosing a new random image each hour, or rendering an image of the Earth
1377 as it is currently lit by the sun.
1379 <formalpara><title>For programmers...</title>
1381 If you want to create an application to set the backdrop (eg, to choose a
1382 random image, or a slideshow) you need to first create an application directory
1383 (see <xref linkend="AppDir"/>).
1386 When run without arguments, the application should invoke the
1387 <function>SetBackdropApp</function> SOAP method (see <xref
1388 linkend="soap"/>). The filer will immediately run the application again,
1389 this time with the <option>--backdrop</option> option.
1391 When run with <option>--backdrop</option>, the program should write the style and name of
1392 the image file to display to its standard output stream, eg:
1393 <screen>tile /tmp/image.png</screen>
1394 <userinput>centre</userinput> and <userinput>scale</userinput> are the other possible
1395 styles. The filer will then load this image and display it. The application does not
1396 set the backdrop itself, it only tells the filer what to display.
1398 In the case of a random backdrop chooser, the program may then quit immediately. If
1399 the application created a temporary image then it should read the line "ok\n" from its
1400 standard input before deleting the image.
1402 If the application wishes to show a sequence of images it should still read "ok\n",
1403 then wait until it's time to display the next image and then write that filename, and
1406 The filer will indicate that the program should stop running by closing the two
1407 streams. The program should clean up and exit at this point. Be sure to catch
1408 SIGPIPE when writing to standard output if you need to delete any temporary files.
1410 See the Wallpaper<citation>Wallpaper</citation> application for a complete example application
1411 (written in python).
1418 <anchor id="media" xreflabel="Removable devices"/>Removable devices
1421 Using removable devices, such as floppy disks and CDROMs under ROX-Filer is quite
1422 simple. However, it is important to understand about <emphasis>mounting</emphasis> and
1423 <emphasis>unmounting</emphasis> devices.
1426 Mounting a device causes its contents to appear in the filesystem. On a typical setup,
1427 the directory <filename>/floppy</filename> is an empty directory on the hard disk.
1428 The floppy device is then mounted onto this directory, causing its contents to appear
1429 inside. For example, a file called <filename>Letter</filename> on the floppy disk will
1430 appear as <filename>/floppy/Letter</filename>.
1433 Devices must be unmounted before the disk is removed. Unmounting causes the system to
1434 write any buffered data to the disk. If you remove a disk without unmounting
1435 it, it will probably be corrupted. CD and Zip drives often lock the tray while the
1436 device is mounted so you can't remove it accidentally.
1439 So that you don't have to specify which device should be mounted at which point in the
1440 filesystem every time you want to use a disk, a preset list is usually found in the
1441 file <filename>/etc/fstab</filename>. ROX-Filer shows mount points (such as
1442 <filename>/floppy</filename>) which are listed here but not mounted with transparent
1443 grey circles overlayed on their icons.
1446 Clicking on one of these mount points will mount the device for you. The circle turns
1447 green to indicate that the device is now mounted. Do <emphasis>not</emphasis> remove
1448 the device while the circle is lit! You can unmount the device by clicking
1449 while holding down <keycap>Shift</keycap> on the <filename>/floppy</filename>
1453 You can also unmount a device by closing its directory window (eg, closing
1454 the view of <filename>/floppy</filename>) and choosing Unmount when prompted. The
1455 filer will only offer to unmount devices this way if they were mounted by
1456 the filer in the first place.
1459 If you want to open a directory without mounting anything (eg, if you want to
1460 see the contents of <filename>/floppy</filename> on the hard disk), you can
1461 click on the unmounted mount point with <keycap>Shift</keycap> held down.
1462 This isn't usually useful, as these directories are typically empty.
1467 <title><anchor id="thumbnails" xreflabel="Thumbnails"/>File thumbnails</title>
1469 When thumbnailing is turned on, the filer tries to load every image file
1470 and use that image as the file's icon. Useful if you have a directory full
1471 of photos and can't remember which is which! You can turn it on for
1472 a single directory by choosing <guimenuitem>Show Thumbnails</guimenuitem>
1473 from the <guimenu>Display</guimenu> menu. You can set it as the default
1474 from the Options box.
1475 The titlebar shows <guilabel>(Thumbs)</guilabel> when thumbnailing is on.
1478 The thumbnails are saved in <filename>~/.thumbnails</filename> for
1479 quick loading next time.
1480 While loading thumbnails, a progress bar appears at the bottom of
1481 the window. Clicking on the <guibutton>Cancel</guibutton> button
1482 beside the bar stops the scan.
1483 It is also possible to thumbnail other types of file, such as videos
1484 (eg, by showing the first frame), with a suitable helper program.
1486 <sect1><title>Technical details</title>
1488 When in thumbnail mode <application>ROX-Filer</application> checks the
1489 thumbnail directory (<filename>~/.thumbs/normal</filename>) for a
1490 thumbnail for each file it scans. If a thumbnail exists it loads it and
1491 continues on to the next file.
1493 To generate a thumbnail for a given file of type media/subtype the filer looks
1494 for a program <filename><Choices>/MIME-thumb/media_subtype</filename>,
1495 falling back to <filename><Choices>/MIME-thumb/media</filename> if one
1496 cannot be found (this duplicates how run actions for files are looked up). If
1497 neither file can be found and the file is of type image/* then the internal
1498 routines are used. If the file is not of type image/* then no thumbnail is
1501 If the generator program is found, is executed with the parameters
1502 <screen>thumbnailer /path/to/source/file /path/to/thumbnail pixel_size</screen>
1504 Once the child program exits, it attempts to load
1505 <filename>/path/to/thumbnail</filename>. If that fails no thumbnail is
1508 Note that because of the order it does things ROX-Filer will happily
1509 use any pre-existing thumbnail even if it has no idea how it was
1516 <chapter id="virtual">
1518 <anchor id="vfs" xreflabel="Virtual file systems"/>Virtual file systems
1521 Some types of file can be represented as a directory. A typical example
1522 is a zip file, which contains an entire directory structure in compressed
1523 form. It is often useful to be able to open up such a file as if it
1524 was a real directory, and the VFS system allows you to do this.
1526 To use this feature you must have a system such as
1527 AVFS<citation>AVFS</citation> installed, which causes the kernel to support
1528 various Virtual File Systems directly.
1533 <chapter id="minibuffer">
1534 <title><anchor id="mini" xreflabel="Minibuffer"/>The mini-buffer</title>
1537 The mini-buffer is a white bar that appears along the bottom of the
1538 window and allows you to enter some text. Press <keycap>Escape</keycap> to
1539 get rid of it again. It behaves in different ways depending on how you
1544 <title>The path-entry box</title>
1547 This allows you to type in a path directly. As you type the display
1548 is updated to show the item entered visually. The main use is to find
1549 a file in a large directory quickly, but you can also use it for navigating
1550 between directories, or for selecting a full pathname from somewhere
1551 else and pasting it directly into the path-entry box.
1554 <informaltable><tgroup cols="2">
1555 <thead><row><entry>Key</entry><entry>Action</entry></row></thead>
1559 <keycap>Return</keycap></entry><entry>
1560 Open the currently selected item.
1564 <keycap>Tab</keycap></entry><entry>
1565 Shell-style tab completion.
1569 <keycap>Up</keycap>, <keycap>Down</keycap></entry><entry>
1570 Select the previous/next matching entry.
1572 </tbody></tgroup></informaltable>
1577 If you start entering a name beginning with a `.' then the `Show Hidden'
1578 feature is temporarily turned on so that the file can be shown.
1582 Tab completion tries to fill in as many characters for you as it can.
1583 For example, if there are two files in a directory called
1584 <filename>save-mail-nov-1999</filename> and
1585 <filename>save-mail-dec-1999</filename> then typing
1586 <userinput>save</userinput> and pressing <keycap>Tab</keycap> will expand
1587 <userinput>save</userinput> to <userinput>save-mail-</userinput> and beep
1588 to indicate that the match is not complete. If you use tab completion on a
1589 directory and it is unique then the filer will automatically change into
1590 the directory. This behavior should be familiar to shell users.
1593 <informalexample><para>
1594 Let's say you want to locate the documentation for Wine in the directory
1595 <filename>/usr/share/doc</filename> (which is usually very large).
1596 Here's how you could do it:
1601 Open the minibuffer by choosing <guimenuitem>Enter
1602 Path...</guimenuitem> from the <guimenu>Window</guimenu> menu, or
1603 by pressing the slash (<keycap>/</keycap>) key.
1607 Press <keycap>CTRL</keycap>+<keycap>A</keycap> to select the existing
1613 <userinput>u<Tab>sh<Tab>do<Tab>wi<Tab></userinput>.
1614 As you type, the cursor will move to the correct subdirectory.
1615 If it beeps when you press <keycap>Tab</keycap> then you need to supply
1616 more letters, or press <keycap>Return</keycap>.
1621 </para></informalexample>
1625 <title>The shell command box</title>
1628 This provides a quick way of entering shell commands if you don't
1629 want to open an xterm. If you don't know what shell commands are,
1632 Just type in the command and press <keycap>Return</keycap> to execute it.
1633 <keycap>Up</keycap> and <keycap>Down</keycap> arrows move through previously
1635 <keycap>Tab</keycap> does shell-style completion.
1636 Clicking on an item inserts its name into the minibuffer.
1637 If some items are selected then they are assigned to the positional
1638 parameters <userinput>$1</userinput>, <userinput>$2</userinput>, etc.
1640 Opening the minibuffer with a selection adds <computeroutput>"$@"</computeroutput>
1641 to the end of the command — this expands to all the selected files.
1644 <informalexample><para>Examples:
1646 <orderedlist><title>To untar a <filename>.tgz</filename> archive:</title>
1649 Open the minibuffer by choosing <guimenuitem>Shell Command...</guimenuitem> from
1650 the <guimenu>Window</guimenu> menu.
1651 I usually bind this to the bang (<keycap>!</keycap>) key.
1655 Type <userinput>tar xzf</userinput> and click on the file.
1656 The leading space is automatically inserted.
1660 Press <keycap>Return</keycap> to execute it.
1665 <orderedlist><title>To print all the selected files:</title>
1668 Open the shell command minibuffer.
1672 Type <userinput>lpr</userinput> at the beginning of the line and press
1673 <keycap>Return</keycap>.
1678 </para></informalexample>
1680 <itemizedlist><title>Notes</title>
1683 Be careful; you will not be asked to confirm! If in doubt, start the
1684 command with <userinput>xmessage</userinput> so that it will be displayed
1685 rather than executed.
1689 <citerefentry><refentrytitle>sh</refentrytitle></citerefentry>
1690 is always used as the name of the shell to run (mainly because
1691 <citerefentry><refentrytitle>bash</refentrytitle></citerefentry> and
1692 <citerefentry><refentrytitle>csh</refentrytitle></citerefentry> treat
1693 positional parameters differently).
1694 However, <envar>PATH</envar> is searched to find it so you can still use
1695 another shell if you want by naming it sh and putting it in your path.
1699 Commands execute in the background, so you can say:
1701 <command>sleep 240; xmessage Time to go!</command>
1708 <title><anchor id="SelectIf" xreflabel="Select If"/>The conditional
1709 selection box</title> <para>
1711 Use this if you want to automatically select all files in the directory
1712 which match a condition.
1714 <orderedlist><title>For example, to select all files larger than 5Mb:</title>
1717 Open the Select If minibuffer.
1721 Type <userinput>Size > 5Mb</userinput> and press <keycap>Return</keycap>.
1726 Just those files over 5 Mb in size will be selected. The expressions
1727 you can enter are in the same form as described in the
1728 <xref linkend="Searching"/> section, except that
1729 <userinput>prune</userinput> has no effect since the contents of
1730 directories are never checked anyway. You can press <keycap>Tab</keycap>
1731 to jump to each selected file in turn.
1737 <chapter id="actions">
1738 <title>Action windows</title>
1740 Action windows are those boxes that appear while you're doing a
1741 Copy/Move/Link/etc operation. The status line at the top of the window shows
1742 the current directory or object that the window is processing. The scrolling
1743 area below is the log area — it shows what has been done, and questions
1744 may be displayed here.
1747 <imagedata align="center" format="PNG" fileref="../Action.png"/>
1751 Below this are four buttons and some options. All windows have the
1752 <guilabel>Quiet</guilabel> option. When this is on the filer will only
1753 confirm some operations (such as deleting a non-writeable file). Otherwise,
1754 all operations are confirmed.
1756 The buttons work as follows:
1760 <varlistentry><term><guibutton>Yes</guibutton></term><listitem><para>
1761 answers yes to the question displayed in the log area.
1762 </para></listitem></varlistentry>
1764 <varlistentry><term><guibutton>No</guibutton></term><listitem><para>
1765 answers no to the question displayed in the log area.
1766 </para></listitem></varlistentry>
1768 <varlistentry><term><guibutton>Cancel</guibutton></term><listitem><para>
1769 kills the current operation (if any) and closes the action
1771 </para></listitem></varlistentry>
1773 <varlistentry><term><guibutton>Quiet</guibutton></term><listitem><para>
1774 is a quick way to turn <guilabel>Quiet</guilabel> on and click
1775 <guibutton>Yes</guibutton>.
1776 </para></listitem></varlistentry>
1781 You can control which actions get started automatically (without you
1782 having to click on <guibutton>Quiet</guibutton> at the start) from the
1787 <title>Action window options</title>
1790 Some actions have options, which appear as option boxes at the bottom
1791 of the window. They are:
1796 <guilabel>Force</guilabel> means that the filer won't treat non-writeable
1797 files as special. Normally, it confirms the deletion even if
1798 <guibutton>Quiet</guibutton> is pressed.
1799 Note that you still can't remove files from non-writeable directories because
1800 in that case you really don't have permission.
1804 <guilabel>Brief</guilabel> prevents the filer logging a message every time it
1805 does something. Use this to speed things up if large numbers of messages are
1810 <guilabel>Recurse</guilabel> means that doing something to a directory will
1811 also do the same thing to all its contents, and the contents of any
1812 subdirectories, and so on.
1816 <guilabel>Newer</guilabel> will automatically copy a file over an existing one
1817 if the file is newer than the one it replaces (later modification time).
1823 You can set the defaults for these options from the Options box.
1828 <chapter id="searching">
1829 <title><anchor id="Searching" xreflabel="Searching"/>Searching</title>
1831 The Find feature looks through all the selected files and directories
1832 and any subdirectories (recursively) looking for items that match
1833 a particular expression.
1835 Choose <guimenuitem>Find</guimenuitem> from the <guimenu>File</guimenu>
1836 submenu to search all the selected objects. If you want to select all the
1837 files within a single directory which meet certain criteria, use
1838 <guimenuitem>Select</guimenuitem> -> <guimenuitem>Select If...</guimenuitem>
1841 If you know the name of a file then just enter it in the `Expression:'
1842 box, enclosed in single quotes. For example, to find a file called
1843 <filename>log</filename> you would enter <userinput>'log'</userinput>.
1845 Remember to use normal quotes, not double quotes (") or back-quotes (`).
1847 As the filer finds matching files they are added to the results list.
1848 Double-clicking on an entry in the list opens a viewer showing that file.
1849 The filer will use the same window to view other results (so, if you want
1850 the results shown in separate windows you must explicitly create a new
1851 window from the <guimenu>Window</guimenu> menu).
1855 <title>Wildcards</title>
1858 You can also put shell-style wildcard characters inside the quotes,
1863 <member><command>'*.html'</command></member>
1864 <member><command>'Report.*'</command></member>
1865 <member><command>'Draft[1-5]'</command></member>
1866 <member><command>'main.[ch]'</command></member>
1871 <citerefentry><refentrytitle>glob</refentrytitle>
1872 <manvolnum>7</manvolnum></citerefentry>
1873 manpage if you want to know more about shell wildcards.
1875 If the pattern you enter contains a slash (`/') character then the
1876 pattern is matched against the file's full path, otherwise only the
1877 leafname is used. That is, <userinput>'*tmp*'</userinput> will find
1878 <filename>tmp</filename> and <filename>tmpfile</filename> but not
1879 <filename>/tmp/file</filename> — <userinput>'/*tmp*'</userinput> will find
1885 <title>Simple tests</title>
1887 As well as finding files by their names you can also find them by
1888 various other attributes. Note that <emphasis>file</emphasis> is used here to
1889 mean anything that can appear in the filesystem — including directories,
1892 You can also use a short form for each test; these are shown in brackets.
1893 You can combine multiple tests — `<userinput>-rw</userinput>' is
1894 the same as `<userinput>IsReadable and IsWriteable</userinput>'.
1897 <itemizedlist><title>These look at the type of the item being checked:</title>
1900 <userinput>IsReg (-f)</userinput> matches any regular (ie, normal) file.
1904 <userinput>IsLink (-l)</userinput> matches symlinks.
1908 <userinput>IsDir (-d)</userinput> matches directories.
1912 <userinput>IsChar (-c)</userinput> matches character device files.
1916 <userinput>IsBlock (-b)</userinput> matches block device files.
1920 <userinput>IsDev (-D)</userinput> matches block or character device files.
1924 <userinput>IsPipe (-p)</userinput> matches pipes.
1928 <userinput>IsSocket (-S)</userinput> matches sockets.
1933 <itemizedlist><title>These look at the permissions set on the file —
1934 see the <xref linkend="Permissions"/> section.</title>
1937 <userinput>IsSUID (-u)</userinput> matches files which have the Set-UID
1938 bit set.</para></listitem>
1941 <userinput>IsSGID (-g)</userinput> matches files which have the Set-GID
1942 bit set.</para></listitem>
1945 <userinput>IsSticky (-k)</userinput> matches files with the sticky bit
1946 set.</para></listitem>
1949 <userinput>IsReadable (-r)</userinput> matches files which you can read
1950 from.</para></listitem>
1953 <userinput>IsWriteable (-w)</userinput> matches files which you can write to.
1957 <userinput>IsExecutable (-x)</userinput> matches files which you can execute.
1962 <itemizedlist><title>And a couple of other useful ones:</title>
1965 <userinput>IsEmpty (-z)</userinput> finds empty files (ie, those whose
1970 <userinput>IsMine (-o)</userinput> finds files which you own.
1978 <title>Logic operators</title>
1980 You can combine the above tests in various ways to perform more advanced
1982 An expression is actually made up of a list of <emphasis>cases</emphasis>,
1983 separated by commas. The filer will try to match each case in turn
1984 until one matches or there are no more cases left. For example, to
1985 search for files with several possible endings:
1987 <screen>'*.gif', '*.htm', '*.html'</screen>
1989 Further, each of the cases is actually a list of conditions. The case
1990 only matches if all of its conditions are met. So, to find a directory
1991 called <filename>lib</filename> or a regular file ending in
1992 <filename>.so</filename>:
1994 <screen>IsDir 'lib', IsReg '*.so'</screen>
1996 You can negate a condition by putting a <userinput>!</userinput> in front
1997 of it and you can use a sub-expression as a condition by bracketing it,
2005 Not isdir and not isreg
2008 All four do the same thing.
2013 <title>Comparisons</title>
2015 You can also compare various values using the operators
2016 <userinput><</userinput>,
2017 <userinput><=</userinput>,
2018 <userinput>=</userinput>,
2019 <userinput>!=</userinput>,
2020 <userinput>></userinput>, and
2021 <userinput>>=</userinput>
2022 (for less-than, less-than-or-equal-to, equal-to,
2023 not-equal-to, greater-than and greater-than-or-equal-to).
2025 When comparing times, you may find it helpful to use
2026 <userinput>after</userinput> and <userinput>before</userinput> instead of
2027 <userinput>></userinput> and <userinput><</userinput> to make things
2031 <itemizedlist><title>
2032 The following are read from the file being checked and may be used
2033 for the values being compared:
2037 <userinput>atime</userinput> The time that the file was last accessed.
2041 <userinput>ctime</userinput> The time that the file's status was last changed.
2045 <userinput>mtime</userinput> The time that the file's contents were last modified.
2049 <userinput>size</userinput> The size of the file.
2053 <userinput>inode</userinput> The file's inode (index) number.
2057 <userinput>nlinks</userinput> The number of links to this file. That is,
2058 the number of directory entries which refer to this file. Note that
2059 symlinks don't count as references.
2063 <userinput>uid</userinput> The User ID of the file.
2067 <userinput>gid</userinput> The Group ID of the file.
2071 <userinput>blocks</userinput> The number of disk blocks being used by the file.
2077 Times are measured as seconds since the Unix Epoch (00:00:00 UTC,
2078 January 1, 1970). Sizes are in bytes. When specifying constants to
2079 compare these values with you may use various keywords to scale the
2085 <userinput>Byte(s)</userinput> has no effect, but looks better.
2089 <userinput>Kb</userinput> multiplies by 1024, so 2Kb is the same as 2048.
2093 <userinput>Mb</userinput> multiplies by 1024<superscript>2</superscript>,
2098 <userinput>Sec(s)</userinput> has no effect, but looks nice.
2102 <userinput>Min(s)</userinput> multiplies by 60 to get minutes.
2106 <userinput>Hour(s), Day(s), Week(s), Year(s)</userinput> likewise
2107 convert to the relevant unit.
2111 <userinput>Ago</userinput> makes the time in the past relative to when
2116 <userinput>Hence</userinput> makes the time in the future.
2120 <userinput>Now</userinput> is short for <userinput>0 Secs Hence</userinput>.
2125 Some examples should make this all a bit clearer!
2128 mtime after 1 day ago
2132 IsReg and nlinks > 1</screen>
2133 The first finds files modified within the last 24 hours. You could
2134 use <userinput>></userinput> instead of <userinput>after</userinput>,
2135 but it's not so clear what is meant.
2137 The second finds files larger than 10 Mb. The last finds regular files with
2138 more than one directory entry.
2140 Be careful though — the filer doesn't check the context of the
2141 modifiers, so <userinput>size > 1 day ago</userinput> is allowed,
2142 although it doesn't make much sense!
2144 Also, forgetting to use <userinput>ago</userinput> or
2145 <userinput>hence</userinput> will cause odd effects (the time will be
2146 measured relative to the Epoch rather than the current time).
2147 Finally, don't use <userinput>=</userinput> with times —
2148 <userinput>atime = 1 day ago</userinput> looks for a file accessed
2149 <emphasis>exactly</emphasis> 86400 seconds ago...
2155 <title>Specials</title>
2161 <userinput>System(Command)</userinput> executes `Command' on the file.
2162 The test succeeds if the command returns an exit status of zero. A `%'
2163 character in `Command' is replaced by the full path of the file being
2164 checked. <userinput>System</userinput> is a very slow test to perform,
2165 so do it last if possible. For example, if you're looking for a
2166 <filename>.c</filename> file containing the word `main', do:
2168 <screen>'*.c' system(grep -q main "%")</screen>
2169 so that the grep is only performed for files ending in <filename>.c</filename>
2170 (as opposed to only checking that the file ends in <filename>.c</filename> if
2171 it contains the word `main').
2175 <userinput>Prune</userinput> Always fails!
2176 <footnote><para>Note that this is the opposite of the
2177 <citerefentry><refentrytitle>find</refentrytitle><manvolnum>1</manvolnum>
2178 </citerefentry> command.</para></footnote>
2180 However, if it gets evaluated at all then it prevents the filer
2181 from checking inside the current directory. Remember the order in which
2182 the filer checks the expression!
2190 '*.old' system(rm '%')
2192 'src' prune, '*.c'</screen>
2193 The first deletes each file ending in <filename>.old</filename>.
2194 The second looks for <filename>.c</filename> files, but does not bother
2195 checking inside directories called <filename>src</filename>.
2196 The expression is evaluated like this:
2198 If file is named <filename>src</filename> then `Prune'.
2199 Either way, check if it ends in <filename>.c</filename> and include
2200 it in the results if so.
2205 <chapter id="options">
2206 <title>Options</title>
2209 You can configure various aspects of <application>ROX-Filer</application>
2210 from the Options box.
2211 Choose <guimenuitem>Options...</guimenuitem> from a filer window menu to
2212 open it. The list on the left of the window lists the various sections —
2213 click on one to see its options.
2215 At the bottom of the window are two buttons:
2220 <guibutton>OK</guibutton>
2221 saves the current choices into your Choices directory for next time
2222 <application>ROX-Filer</application> is loaded, if anything changed.
2223 Exactly where choices are loaded from and saved to is controlled by the
2224 <envar>CHOICESPATH</envar> environment variable — see
2225 <citation>Choices</citation> for details.
2226 Changes made in the Options box take effect instantly, so you don't need to
2227 click on <guibutton>OK</guibutton> just to try them out.
2231 <guibutton>Revert</guibutton>
2232 Restores all choices to how they were when the options box was opened.
2233 This button is shown shaded if you haven't made any changes.
2234 The Options window is not closed when this is used.
2239 The options in the Options window have tooltips explaining the use of each
2240 option — hold the mouse pointer over an option to find out what it
2246 <chapter id="types">
2247 <title>Filetypes</title>
2250 All files have a MIME type in the form <emphasis>text/plain</emphasis>. Here,
2251 <emphasis>text</emphasis> is the <emphasis>media type</emphasis> and
2252 <emphasis>plain</emphasis> is the <emphasis>sub-type</emphasis>.
2254 <application>ROX-Filer</application> uses a file's name to decide what its MIME
2255 type is, and then uses the MIME type to decide what icon to give it and what
2256 program to use when you open the file.
2260 <title><anchor id="RunAction" xreflabel="the Set Run Action box"/>
2261 The Set Run Action box
2264 This box appears when you choose <guimenuitem>Set Run Action...</guimenuitem>
2265 from the File menu, and is used to set which application is loaded when you click
2268 For example, let's say you want to set things up so that opening a
2269 <filename>.gif</filename> file loads it into the Gimp.
2270 First, right-click over a gif image to open the menu and choose
2271 <guimenuitem>Set Run Action...</guimenuitem> from the
2272 <guimenuitem>File</guimenuitem> submenu.
2273 Then, you have a choice of two methods to set the run action:
2276 <sect2><title>Setting the run action by drag-and-drop</title>
2278 Drag the Gimp (from a filer window, a panel or the pinboard) onto
2279 the area marked <guilabel>Drop a suitable application here</guilabel>.
2280 From now on, clicking on a GIF file will load it into the Gimp.
2284 <sect2><title>Setting the run action by entering a shell command</title>
2286 Type: <userinput>gimp "$@"</userinput>
2287 into the box labelled <guilabel>Enter a shell command</guilabel> and press
2288 <keycap>Return</keycap>. <userinput>$@</userinput>
2289 will be replaced by the name of the file you click on when this command
2290 is used. As before, clicking on any GIF image will now load it into
2295 <sect2><title>Setting the default media-type handlers</title>
2297 Whichever method you use to set the action you have the choice of
2298 setting the run action just for that type, or setting the default
2299 for all files with that media-type which don't already have a specific
2302 Since the Gimp can load many types of image, it makes sense
2303 to select the <guilabel>Set default for all `image/<anything>'</guilabel>
2304 option so you don't have to do it again for image/jpeg files and so on. However,
2305 this only affects types that don't already have a specific action
2306 (ie, those that would have brought up an error box if you tried to
2313 <title><anchor id="SetIcon" xreflabel="the Set Icon box"/>
2318 This box appears when you choose <guimenuitem>Set Icon...</guimenuitem>
2319 from the File menu, and is used to set which image to use to represent
2322 It works much like the Set Run Action box described above, except that
2323 you may specifiy an icon for one file individually (by name) as well as
2324 for all files of a particular type. When setting the icon for a single
2325 file, the filer stores the name of the file and the name of the icon inside
2326 your Choices directory. If either moves, the icon won't be displayed.
2328 When setting the icon for a directory, you have the additional option of
2329 storing the image inside the directory itself as a hidden file. This means
2330 that other users will see the icon too, and you can safely delete the original
2331 image after the copy (note that the image is scaled down if needed, and converted
2334 The directory icon inside the <guilabel>Drop an icon here</guilabel>
2335 area allows you to quickly get to a directory from which you are already
2336 using one or more icons.
2341 <title>How filetypes are stored</title>
2344 <application>ROX-Filer</application> uses two sub-directories in your Choices
2345 directory for filetypes:
2349 <varlistentry><term><filename>MIME-types</filename></term><listitem><para>
2350 contains symlinks, one for each MIME type, which point
2351 to programs that can handle files of that type. To set what program
2352 is run when you click on the file you should normally use the <guimenuitem>Set
2353 Run Action...</guimenuitem> feature (see the <xref linkend="RunAction"/> section).
2354 However, you can also set the actions manually — for example, to make
2355 opening an HTML file load it into Netscape:
2359 Find the Netscape application and go to <guimenuitem>Link...</guimenuitem>
2364 Enter <userinput>text_html</userinput> as the name for the link and drag the
2365 icon from the Link box into the <filename>MIME-types</filename> directory.
2370 You can also put actual programs in here as well as links if you want
2372 </para></listitem></varlistentry>
2374 <varlistentry><term><filename>MIME-icons</filename></term><listitem><para>
2375 contains the images used to display each type of file.
2376 So the filer will try to display an HTML file using the icon
2377 <filename>MIME-icons/text_html.png</filename>.
2378 </para></listitem></varlistentry>
2382 In both <filename>MIME-types</filename> and <filename>MIME-icons</filename>
2383 directories you can also provide default actions/images for each media type.
2384 For example, if <filename>text_html</filename> isn't found then the filer
2385 will try simply using <filename>text</filename>.
2389 The filer works out the type for a file from its name. The rules come from
2390 various <filename>globs</filename> files — see
2391 <citation>SharedMIME</citation> for details.</para>
2395 <chapter id="appdirs">
2396 <title><anchor id="AppDir" xreflabel="Application directories"/>
2397 Application directories
2400 An application directory is a directory which can be run as an application.
2401 It contains all the resources of an application — source code, binaries,
2402 documentation and so on. Keeping everything in one place make installation
2403 and uninstallation much easier for users. You can also keep multiple
2404 versions of a program by simply having several application directories.
2405 You may move and rename them as you please. Application directories
2406 make programs easier to use and install.
2408 They're more secure too, because you can compile an application as a user and
2409 then simply copy it as root. Since you don't have to run an install script
2410 you are free from the danger of running untrusted code as root. All you have
2411 to watch out for is setuid binaries.
2414 The following files are treated as special by
2415 <application>ROX-Filer</application>:
2420 <filename>AppRun</filename>
2421 is executed when you click on the directory — make sure
2422 it is executable (use the Permissions box)!
2426 <filename>.DirIcon</filename>
2427 is the image used to represent the directory (this works even if
2428 there is no <filename>AppRun</filename>).
2432 <filename>Help</filename>
2433 is the directory to be opened when you choose <guimenuitem>Help</guimenuitem>
2438 <filename>AppInfo.xml</filename>
2439 contains extra information about an application (see below).
2443 <filename>AppIcon.xpm</filename>
2444 is used if <filename>.DirIcon</filename> is missing (for backwards
2445 compatibility; not to be used anymore).
2450 Have a look at the <filename>ROX-Filer</filename> application directory for a
2455 <note><para>For security reasons, an application directory must have the
2456 same owner as the <filename>AppRun</filename> file inside.</para></note>
2459 <title>The AppInfo file</title>
2462 <filename>AppInfo.xml</filename> is an XML file with the following structure
2463 (any elements may be omitted, and the file itself is optional):
2466 <?xml version="1.0"?>
2468 <Summary xml:lang="en">A graphical file manager</Summary>
2469 <Summary xml:lang="de">Ein grafische Datei-Manager</Summary>
2470 <Summary xml:lang="nl">Een grafisch bestandsbeheerprogramma</Summary>
2471 <Summary xml:lang="es">Un manejador de archivos gráafico</Summary>
2472 <About xml:lang="en">
2473 <Purpose>File manager</Purpose>
2474 <Version>1.3.5 PREVIEW</Version>
2475 <Authors>Thomas Leonard and others</Authors>
2476 <License>GNU General Public License</License>
2477 <Homepage>http://rox.sourceforge.net</Homepage>
2479 <About xml:lang="es">
2480 <Purpose>Manejador de Archivos</Purpose>
2481 <Authors>Thomas Leonard y otros</Authors>
2484 <Item option="-p=Default">
2485 <Label>Enable pinboard</Label>
2486 <Label xml:lang="es">Habilitar el pinboard</Label>
2488 <Item option="-p=">
2489 <Label>Disable pinboard</Label>
2490 <Label xml:lang="es">Deshabilitar el pinboard</Label>
2499 <userinput>Summary</userinput>
2500 is displayed in a tooltip when the mouse is held over the application.
2504 <userinput>About</userinput>
2505 contains a list of fields which are shown in the `File Info'
2506 box for the application (any element names may be used, but the above
2511 <userinput>AppMenu</userinput>
2512 is a list of extra menu items to display for the application.
2513 When one is chosen, <filename>AppRun</filename> is called with
2514 <userinput>option</userinput> as its only argument. You can nest
2515 AppMenus inside other AppMenus to create submenus, provided they have
2516 <Label> elements.
2526 <title>Internationalisation</title>
2532 <title><anchor id="LANG" xreflabel="Translations"/>
2533 Selecting a translation
2537 <application>ROX-Filer</application> is able to translate many of its messages,
2538 provided suitable translation files are provided:
2541 <listitem><para>Open the Options box from the menu,</para></listitem>
2542 <listitem><para>Select a language from the menu at the top,</para></listitem>
2543 <listitem><para>Click on <guibutton>Save</guibutton> and restart the filer
2544 for the new setting to take full effect.</para></listitem>
2551 <title>Creating a new translation</title>
2555 <listitem><para>Go into the <filename>src</filename> directory and create
2556 the file <filename>messages.pot</filename>:
2560 $ make messages.pot</screen>
2564 <listitem><para>Copy the file into the <filename>po</filename>
2565 subdirectory under <filename>src</filename> as
2566 <filename><name>.po</filename>. Eg, if your
2567 language is referred to as `ml' (`my language'):
2569 <screen>$ cp messages.pot po/ml.po</screen>
2572 <listitem><para>Load the copy into a text editor.</para></listitem>
2574 <listitem><para>Fill in the translations, which are all blank to start with.
2577 <listitem><para>Run the <filename>make-mo</filename> script to create the
2578 binary file which <application>ROX-Filer</application> can use.
2579 You will need the GNU gettext package for this.
2580 If you don't have it then just send me the <filename>.po</filename> file
2581 and I'll convert it for you.
2584 $ cd ROX-Filer/src/po
2586 Created file ../../Messages/ml.gmo OK</screen>
2589 <listitem><para>Edit <filename>ROX-Filer/Options.xml</filename> so that
2590 your language is listed, restart the filer and select it from the Options box
2591 (see the <xref linkend="LANG"/> section).
2594 <listitem><para>Submit the <filename>.po</filename> file to me so that I
2595 can include it in future releases of the filer.
2603 <title>Updating an existing translation</title>
2607 <listitem><para>Go into the directory containing the <filename>.po</filename>
2608 files and run the <filename>update-po</filename> script.
2609 This checks the source code for new and changed strings and updates all
2610 the translation files.
2613 $ cd ROX-Filer/src/po
2614 $ ./update-po</screen>
2617 <listitem><para>Edit the file by hand as before, filling in the new blanks
2618 and updating out-of-date translations.
2619 Look out for <computeroutput>fuzzy</computeroutput> entries where
2620 <command>update-po</command> has made a guess; check it's correct and
2621 remove the <computeroutput>fuzzy</computeroutput> line.
2624 <listitem><para>Run <command>make-mo</command> as before.</para></listitem>
2626 <listitem><para>Submit the updated file to me.</para></listitem>
2630 See the <command>gettext</command> info page for more instructions on creating
2637 <chapter id="hacking">
2638 <title>Hacking</title>
2640 This is a quick start guide for people who want to modify the source
2641 code. If you make useful changes or fix bugs, please send patches
2642 to me or to the mailing list. Tell me which version you're using!
2646 <title>Compiling</title>
2648 The first time you compile the program you need to do <command>AppRun
2649 --compile</command>, but in future you only need to run <command>make</command>
2650 in the <filename>src</filename> directory when you change the
2651 <filename>.c</filename> and <filename>.h</filename> files.
2652 You might want to run <command>make depend</command> too.
2657 <title>Creating and applying patches</title>
2659 When people make small modifications to the sources they will often
2660 distribute them as <emphasis>patch files</emphasis> — usually on the
2663 To apply a patch, go into the <filename>src</filename> directory and run
2664 <command>patch</command> with the patch file. Then recompile, like this:
2668 $ patch < patchfile
2669 $ ../AppRun --compile</screen>
2671 You can remove the patch by simply repeating the above sequence —
2672 <command>patch</command> will detect that the patch is already applied
2673 and offer to remove it.
2675 To create a patch you should first get the latest version of the filer
2676 from CVS (instructions on using CVS can be found on the web-site).
2677 Modify the program as you please. Create the patch using
2678 <command>cvs diff</command> from the appropriate directory:
2680 <screen>$ cvs diff -u > my_patch</screen>
2682 This creates a human– and machine-readable patch file. Submit this
2683 to the mailing list. The are many reasons for posting patches rather
2684 that the modified files:
2687 <listitem><para>They are smaller, and hence shouldn't bounce.
2688 They are also quicker to download for people with slow connections.
2691 <listitem><para>People can see what they're getting into before applying them!
2694 <listitem><para>Patches can (usually) be applied to slightly modified
2695 versions of the sources. This means that people can apply several patches
2696 without each new one overwriting the others.
2705 <title>Autoconf</title>
2707 Here's a quick explanation of the autoconf system in case you haven't
2708 used it before. See <command>info autoconf</command> for full details.
2710 There's a file called <filename>configure.in</filename> which contains
2711 various tests (<command>info autoconf</command>).
2712 You run <command>autoconf</command> and it reads through the file
2713 and generates a shell script to perform the tests, saving it as
2714 <filename>configure</filename>.
2715 <filename>configure</filename> is normally distributed with the program because
2716 not everyone has autoconf.
2718 You then run <filename>configure</filename> (in fact, let the
2719 <filename>AppRun</filename> script do it because
2720 it passes it some arguments), which performs all the tests. It reads
2721 in <filename>Makefile.in</filename> and <filename>config.h.in</filename>
2722 and fills in the missing values with the test results to produce
2723 <filename>Makefile</filename> and <filename>config.h</filename>.
2725 You run <command>make</command>, which creates <filename>.o</filename>
2726 files from the <filename>.c</filename> files and links to produce
2727 <filename>ROX-Filer</filename>.
2731 <sect1><title>Data-structures</title>
2733 The <filename>global.h</filename> file lists each major data-structure used
2734 in the filer and explains its purpose. This is a good place to start reading
2735 if you want to know how the filer works.
2740 <appendix id="compiling">
2741 <title>Compiling</title>
2744 If you've just got hold of the filer by downloading the source archive
2745 then you'll need to compile it before you can use it. If you downloaded
2746 and installed a binary package, or if <application>ROX-Filer</application>
2747 was included with your system, then you can skip this section. If you got
2748 here by clicking on the lifebelt symbol in a filer window, or if typing
2749 <command>rox</command> at a shell prompt works, then you don't need to
2752 <itemizedlist><title>To compile, you will need the following:</title>
2755 Unix or Linux (root access is not required),
2759 The X Window system (supplied as standard on all modern systems),
2763 GTK+ 2.0.1 or later (libraries and headers) — get the latest version
2764 from <citation>GTK+</citation>,
2768 LibXML 2.0.0 or later (libraries and headers) — get the latest
2769 version from <citation>libxml</citation>,
2773 A C compiler, such as `gcc' (standard on most systems).
2778 All of the above are standard on most modern Linux distributions.
2779 To check which version of GTK+ you have installed, run the
2780 <command>pkg-config</command> command, like this
2781 (<prompt>$</prompt> is the shell prompt):
2783 <screen>$ pkg-config --modversion gtk+-2.0
2787 <procedure><title>To compile:</title>
2790 The filer now uses the Shared MIME Database<citation>SharedMIME</citation>
2791 to work out the types of files. You need to install this before the
2792 filer will work properly (ROX-Filer will warn you if it's not installed
2797 Change to the directory containing the ROX-Filer subdirectory.
2801 Run the <command>install.sh</command> script, like this:
2803 <screen>$ ./install.sh</screen>
2808 <application>ROX-Filer</application> will perform various checks to find
2809 out what kind of system it is being run on and will then compile. If it
2810 doesn't work then please e-mail me and complain! Tell me what kind of
2811 system you have and what errors were reported. If you manage to fix the
2812 problem yourself then please e-mail me the fix.
2814 The executable file is stored inside the ROX-Filer directory in a
2815 different subdirectory for each platform. Therefore, you can compile
2816 the same application on several different types of machine and then
2817 run it from any of them using the <filename>AppRun</filename> script.
2818 This is particularly useful in a network environment.
2822 Once the filer has compiled you will be asked where you want to install
2823 it. If you want to do a system-wide installation as root, you may
2824 want to stop here, <command>su</command> to root and rerun the install
2827 If you don't have the root password then don't worry — just follow
2828 the instructions for installing into your home directory.
2833 You can now run the filer by running the <command>rox</command> script
2834 without any options, like this:
2836 <screen>$ rox</screen>
2838 A window should appear and display the contents of the current directory.
2840 If you installed the script into your home directory then you may
2841 need to set your <envar>PATH</envar> environment variable so that the shell can
2842 find it. For example, if you installed it into a directory called
2843 <filename>bin</filename> in your home directory, use this:
2845 <screen>$ PATH=$HOME/bin:$PATH; export PATH</screen>
2847 or (if you are using the <citerefentry><refentrytitle>csh</refentrytitle>
2848 <manvolnum>1</manvolnum></citerefentry> shell):
2850 <screen>$ setenv PATH $HOME/bin:$PATH
2857 <appendix id="manpage"><title>Manual page</title>
2862 <refentrytitle>ROX</refentrytitle>
2863 <manvolnum>1</manvolnum>
2867 <refname>ROX-Filer</refname>
2868 <refpurpose>a simple graphical file manager</refpurpose>
2873 <command>rox</command>
2874 <arg choice="opt" rep="repeat"><option>OPTION</option></arg>
2875 <arg choice="opt" rep="repeat">FILE</arg>
2879 <refsect1><title>DESCRIPTION</title>
2881 ROX-Filer is a simple and easy to use graphical file manager for X11, the
2882 windowing system used on Unix and Unix-like operating systems.
2884 It is also the core component of the ROX Desktop:
2885 <ulink url="http://rox.sourceforge.net"/>
2887 Invoking <command>rox</command> opens each directory or file listed,
2888 or the current working directory if no arguments are given.
2892 <refsect1><title>COMMAND-LINE OPTIONS</title>
2896 <varlistentry><term><option>-b</option></term><term><option>--bottom=PANEL</option></term>
2897 <listitem><para>open PANEL as a bottom-edge panel.
2898 </para></listitem></varlistentry>
2900 <varlistentry><term><option>-c</option></term><term><option>--client-id=ID</option></term>
2901 <listitem><para>used for session management.
2902 </para></listitem></varlistentry>
2904 <varlistentry><term><option>-d</option></term><term><option>--dir=DIR</option></term>
2905 <listitem><para>open DIR as directory (not as an application, even if it looks like one).
2906 </para></listitem></varlistentry>
2908 <varlistentry><term><option>-D</option></term><term><option>--close=DIR</option></term>
2909 <listitem><para>close DIR and all its subdirectories.
2910 </para></listitem></varlistentry>
2912 <varlistentry><term><option>-h</option></term><term><option>--help</option></term>
2913 <listitem><para>display help about the various options.
2914 </para></listitem></varlistentry>
2916 <varlistentry><term><option>-l</option></term><term><option>--left=PANEL</option></term>
2917 <listitem><para>open PANEL as a left-edge panel.
2918 </para></listitem></varlistentry>
2920 <varlistentry><term><option>-m</option></term><term><option>--mime-type=FILE</option></term>
2921 <listitem><para>print MIME type of FILE and exit.
2922 </para></listitem></varlistentry>
2924 <varlistentry><term><option>-n</option></term><term><option>--new</option></term>
2925 <listitem><para>start a new filer, even if one already seems to be
2926 running. This also prevents the filer from forking (running in the
2927 background). This option is mainly useful for debugging.
2928 </para></listitem></varlistentry>
2930 <varlistentry><term><option>-p</option></term><term><option>--pinboard=PIN</option></term>
2931 <listitem><para>use pinboard PIN as the pinboard.
2932 </para></listitem></varlistentry>
2934 <varlistentry><term><option>-r</option></term><term><option>--right=PANEL</option></term>
2935 <listitem><para>open PANEL as a right-edge panel.
2936 </para></listitem></varlistentry>
2938 <varlistentry><term><option>-R</option></term><term><option>--RPC</option></term>
2939 <listitem><para>read and invoke SOAP RPC from standard input (see <xref linkend="soap"/>).
2940 </para></listitem></varlistentry>
2942 <varlistentry><term><option>-s</option></term><term><option>--show=FILE</option></term>
2943 <listitem><para>open a directory showing FILE.
2944 </para></listitem></varlistentry>
2946 <varlistentry><term><option>-t</option></term><term><option>--top=PANEL</option></term>
2947 <listitem><para>open PANEL as a top-edge panel.
2948 </para></listitem></varlistentry>
2950 <varlistentry><term><option>-u</option></term><term><option>--user</option></term>
2951 <listitem><para>show user name in each window.
2952 </para></listitem></varlistentry>
2954 <varlistentry><term><option>-v</option></term><term><option>--version</option></term>
2955 <listitem><para>display the version information and exit.
2956 </para></listitem></varlistentry>
2958 <varlistentry><term><option>-x</option></term><term><option>--examine=FILE</option></term>
2959 <listitem><para>FILE has changed; re-examine it.
2960 </para></listitem></varlistentry>
2966 <refsect1><title>NOTES</title>
2968 The main documentation for ROX-Filer is available by choosing
2969 <guimenuitem>Show Help Files</guimenuitem> from the
2970 popup menu, or by clicking on the right-most toolbar icon.
2974 <refsect1><title>LICENSE</title>
2975 <para>Copyright (C) 2003 Thomas Leonard.
2977 You may redistribute copies of ROX-Filer under the terms of the GNU General
2982 <refsect1><title>BUGS</title>
2984 Please report bugs to the developer mailing list: <ulink url="http://rox.sourceforge.net/contact.html"/>.
2988 <refsect1><title>AUTHORS</title>
2990 ROX-Filer was created by Thomas Leonard, with help from:
2992 <simplelist columns='3'>
2993 <member>Michael Adams</member>
2994 <member>Christopher Arndt</member>
2995 <member>Jens Askengren</member>
2996 <member>Liav Asseraf</member>
2997 <member>Wilbert Berendsen</member>
2998 <member>Francesco Bochicchio</member>
2999 <member>Yuri Bongiorno</member>
3000 <member>Andrzej Borsuk</member>
3001 <member>Richard Boulton</member>
3002 <member>Simon Britnell</member>
3003 <member>Arnaud Calvo</member>
3004 <member>Babyfai Cheung</member>
3005 <member>Andrew Clover</member>
3006 <member>Fabien Coutant</member>
3007 <member>Couderc Damien</member>
3008 <member>Andreas Dehmel</member>
3009 <member>Micah Dowty</member>
3010 <member>Dmitry Elfimov</member>
3011 <member>Mattias Engdegard</member>
3012 <member>Andrew Flegg</member>
3013 <member>Olivier Fourdan</member>
3014 <member>Eric Gillespie</member>
3015 <member>Thierry Godefroy</member>
3016 <member>Olli Helenius</member>
3017 <member>Alex Holden</member>
3018 <member>Jasper Huijsmans</member>
3019 <member>Sigve Indregard</member>
3020 <member>Bernard Jungen</member>
3021 <member>Marcin Juszkiewicz</member>
3022 <member>James Kermode</member>
3023 <member>Jim Knoble</member>
3024 <member>Krzysztof Krzyzaniak</member>
3025 <member>Aaron Kurtz</member>
3026 <member>Vincent Ledda</member>
3027 <member>Vincent Lefevre</member>
3028 <member>Victor Liu See-le</member>
3029 <member>Alexey Lubimov</member>
3030 <member>Krzysztof Luks</member>
3031 <member>Marcus Lundblad</member>
3032 <member>Anders Lundmark</member>
3033 <member>Jose Romildo Malaquias</member>
3034 <member>Denis Manente</member>
3035 <member>Brendan McCarthy</member>
3036 <member>Andras Mohari</member>
3037 <member>Christiansen Merel</member>
3038 <member>Jimmy Olgeni</member>
3039 <member>Richard Olsson</member>
3040 <member>Matthew O'Phinney</member>
3041 <member>Daniele Peri</member>
3042 <member>Andy Piper</member>
3043 <member>Marcelo Ramos</member>
3044 <member>Michel Alexandre Salim</member>
3045 <member>Adam Sampson</member>
3046 <member>Chris Sawer</member>
3047 <member>Christian Storgaard</member>
3048 <member>Taras</member>
3049 <member>Simon Truss</member>
3050 <member>Hirosi Utumi</member>
3051 <member>Jan Wagemakers</member>
3052 <member>Keith Warno</member>
3053 <member>Götz Waschk</member>
3054 <member>Stephen Watson</member>
3055 <member>Andre Wyrwa</member>
3056 <member>Geoff Youngs</member>
3057 <member>Diego Zamboni</member>
3060 and many others; the <filename>Changes</filename> file contains more
3061 detailed information!
3068 <appendix id="soap"><title>SOAP RPC</title>
3070 <para>When the filer starts you can use command-line options to control its behaviour.
3071 As an alternative to this, the filer allows you to specify an operation with a
3072 <citation>SOAP</citation> RPC format message. In fact, if you use the command-line options,
3073 the filer converts to SOAP RPC internally.
3076 <para>All SOAP RPC messages are passed on standard input, like this:
3079 $ rox --RPC << EOF
3080 <?xml version="1.0"?>
3081 <env:Envelope xmlns:env="http://www.w3.org/2001/12/soap-envelope">
3082 <env:Body xmlns="http://rox.sourceforge.net/SOAP/ROX-Filer">
3084 <Name>Default</Name>
3085 <Side>Bottom</Side>
3088 </env:Envelope>
3091 The following methods are recognised:</para>
3095 <listitem><para><function>Version</function>()
3096 Returns the filer's version.
3099 <listitem><para><function>CloseDir</function>(<parameter>Filename</parameter>)
3100 Close directory <parameter>Filename</parameter> and all its subdirectories.
3103 <listitem><para><function>Examine</function>(<parameter>Filename</parameter>)
3104 <parameter>Filename</parameter> may have changed — check it and
3108 <listitem><para><function>OpenDir</function>(<parameter>Filename</parameter>,
3109 [<parameter>Style</parameter>, <parameter>Details</parameter>, <parameter>Sort</parameter>,
3110 <parameter>Class</parameter>, <parameter>ID</parameter>])
3111 Open a window showing directory <parameter>Filename</parameter>.
3112 <parameter>Style</parameter> is one of <userinput>Large</userinput>, <userinput>Small</userinput>, <userinput>Huge</userinput>
3113 or <userinput>Automatic</userinput>.
3114 <parameter>Details</parameter> is one of <userinput>None</userinput>, <userinput>ListView</userinput>, <userinput>Size</userinput>, <userinput>Type</userinput>, <userinput>Times</userinput> or <userinput>Permissions</userinput>.
3115 <parameter>Sort</parameter> is one of <userinput>Name</userinput>, <userinput>Type</userinput>, <userinput>Date</userinput>, <userinput>Size</userinput>,
3116 <userinput>Owner</userinput> or <userinput>Group</userinput>.
3117 If any of these three option parameters are missing, the default is used.
3118 <parameter>Class</parameter> can be used to set the WM_CLASS property on the new window. You can
3119 use this to get your window manager to treat the window
3121 <parameter>ID</parameter> is a string used to identify the
3122 opened window. If a window with this ID already exists, it is changed to the
3123 given directory. Otherwise, a new window is created and given this ID.
3124 If used from a program, ensure the IDs you generate are unique, for example
3125 by including your process name, PID and a timestamp in the ID.
3128 <listitem><para><function>Panel</function>(<parameter>Side</parameter>,
3129 [<parameter>Name</parameter>])
3130 Open the panel named <parameter>Name</parameter> on screen side
3131 <parameter>Side</parameter> (<userinput>Top</userinput>|<userinput>Bottom</userinput>|<userinput>Left</userinput>|<userinput>Right</userinput>).
3132 <parameter>Name</parameter> can be a name in Choices (eg,
3133 <userinput>MyPanel</userinput>) or a full pathname.
3134 If not given, the panel on that side is turned off.
3137 <listitem><para><function>PanelAdd</function>(<parameter>Side</parameter>,
3138 <parameter>Path</parameter>, [<parameter>Label</parameter>,
3139 <parameter>After</parameter>])
3140 Add <parameter>Path</parameter> to the panel on side <parameter>Side</parameter>,
3141 with label <parameter>Label</parameter>. If <parameter>After</parameter> is
3142 <userinput>true</userinput> the icon goes on the right/bottom side of the panel,
3143 otherwise on the left/top side.
3146 <listitem><para><function>Pinboard</function>([<parameter>Name</parameter>])
3147 Display pinboard <parameter>Name</parameter> on the desktop background.
3148 <parameter>Name</parameter> can be a name in Choices (eg,
3149 <userinput>MyPinboard</userinput>) or a full pathname.
3150 If not given, the pinboard is turned off.
3153 <listitem><para><function>PinboardAdd</function>(<parameter>Path</parameter>,
3154 <parameter>X</parameter>, <parameter>Y</parameter>, [<parameter>Label</parameter>])
3155 Add <parameter>Path</parameter> to the pinboard at position
3156 (<parameter>X</parameter>, <parameter>Y</parameter>), giving it the label
3157 <parameter>Label</parameter>.
3160 <listitem><para><function>SetBackdropApp</function>(<parameter>App</parameter>)
3161 Make <parameter>App</parameter> (an application directory) the new handler
3162 for the current pinboard's backdrop.
3163 The <filename>AppInfo.xml</filename> file inside <parameter>App</parameter>
3164 must contain the CanSetBackdrop element, eg:
3166 <?xml version="1.0"?>
3168 <ROX:CanSetBackdrop xmlns:ROX="http://rox.sourceforge.net/SOAP/ROX-Filer"/>
3169 </AppInfo></programlisting>
3170 The application will be run with the <option>--backdrop</option> option
3171 as it's only argument after invoking this method, and whenever the pinboard is
3172 reloaded. DO NOT use this method if invoked with <option>--backdrop</option> or
3173 you will get stuck in an infinite loop!
3174 See <xref linkend="backdropapp"/> for a guide to writing backdrop applications.
3177 <listitem><para><function>SetBackdrop</function>(<parameter>Filename</parameter>,
3178 <parameter>Style</parameter>)
3179 Set the backdrop image to a given file. If you want to regenerate the image next
3180 time the user logs in, or you want to change it automatically from time to time,
3181 use <function>SetBackdropApp</function> above instead.
3184 <listitem><para><function>Run</function>(<parameter>Filename</parameter>)
3185 Run <parameter>Filename</parameter> as if it was clicked on in the filer.
3188 <listitem><para><function>Show</function>(<parameter>Directory</parameter>,
3189 <parameter>Leafname</parameter>)
3190 Open <parameter>Directory</parameter> and flash the file
3191 <parameter>Leafname</parameter> inside it.
3194 <listitem><para><function>FileType</function>(<parameter>Filename</parameter>)
3195 Returns the MIME-type of <parameter>Filename</parameter> (by writing the
3196 SOAP response to standard output).
3201 The following calls can be used to start new file actions.
3202 <parameter>Quiet</parameter> can be <userinput>true</userinput> if the
3203 operation should start immediately, instead of waiting for the user to
3204 confirm. If <userinput>false</userinput>, the user must always confirm. If
3205 not given, the default setting is used.
3209 <listitem><para><function>Copy</function>(<parameter>From</parameter>,
3210 <parameter>To</parameter>, [<parameter>Leafname</parameter>,
3211 <parameter>Quiet</parameter>])
3212 Copy each file in the array <parameter>From</parameter> to the directory
3213 <parameter>To</parameter>. If <parameter>Leafname</parameter> is given
3214 then <parameter>From</parameter> should contain a single entry only;
3215 <parameter>Leafname </parameter> gives the new leafname.
3218 <listitem><para><function>Move</function>(<parameter>From</parameter>,
3219 <parameter>To</parameter>, [<parameter>Leafname</parameter>,
3220 <parameter>Quiet</parameter>])
3221 Move each file in the array <parameter>From</parameter> to the directory
3222 <parameter>To</parameter>. If <parameter>Leafname</parameter> is given
3223 then <parameter>From</parameter> should contain a single entry only;
3224 <parameter>Leafname</parameter> gives the new leafname.
3227 <listitem><para><function>Link</function>(<parameter>From</parameter>,
3228 <parameter>To</parameter>, [<parameter>Leafname</parameter>])
3229 Symlink each file in the array <parameter>From</parameter> to the
3230 directory <parameter>To</parameter>. If <parameter>Leafname</parameter> is
3231 given then <parameter>From</parameter> should contain a single entry only;
3232 <parameter>Leafname</parameter> gives the new leafname.
3235 <listitem><para><function>Mount</function>(<parameter>MountPoints</parameter>,
3236 [<parameter>OpenDir</parameter>, <parameter>Quiet</parameter>])
3237 Mount each directory in the list <parameter>MountPoints</parameter>. If
3238 <userinput>true</userinput>, <parameter>OpenDir</parameter> causes each
3239 directory to be opened once it is mounted.
3247 <title>References</title>
3250 <abbrev>ROX</abbrev><citetitle>The ROX desktop,
3251 <ulink url="http://rox.sourceforge.net"/></citetitle>
3255 <abbrev>RISC OS</abbrev><citetitle>RISC OS,
3256 <ulink url="http://www.riscos.com"/></citetitle>
3260 <abbrev>GTK+</abbrev><citetitle>GTK+ Toolkit,
3261 <ulink url="http://www.gtk.org"/></citetitle>
3265 <abbrev>libxml</abbrev><citetitle>The XML C library for Gnome
3266 <ulink url="http://www.xmlsoft.org"/></citetitle>
3270 <abbrev>GNOME</abbrev><citetitle>The GNOME desktop,
3271 <ulink url="http://www.gnome.org"/></citetitle>
3275 <abbrev>DND</abbrev><citetitle>The Drag and Drop protocol,
3276 <ulink url="http://www.newplanetsoftware.com/xdnd/"/></citetitle>
3280 <abbrev>XDS</abbrev><citetitle>The X Direct Save protocol,
3281 <ulink url="http://www.newplanetsoftware.com/xds/"/></citetitle>
3285 <abbrev>Choices</abbrev><citetitle>The ROX Choices system,
3286 <ulink url="http://rox.sourceforge.net/choices.html"/></citetitle>
3290 <abbrev>AVFS</abbrev><citetitle>AVFS - A Virtual File System,
3291 <ulink url="http://sourceforge.net/projects/avf/"/></citetitle>
3295 <abbrev>SOAP</abbrev><citetitle>Simple Object Access Protocol (SOAP) 1.2
3296 <ulink url="http://www.w3.org/TR/SOAP/"/></citetitle>
3300 <abbrev>Thumbs</abbrev><citetitle>Thumbnail Managing Standard (Version 0.5)
3301 <ulink url="http://triq.net/~jens/thumbnail-spec/"/></citetitle>
3305 <abbrev>Wallpaper</abbrev><citetitle>Wallpaper backdrop control application
3306 <ulink url="http://rox.sf.net/wallpaper.html"/></citetitle>
3310 <abbrev>SharedMIME</abbrev><citetitle>Shared MIME-info Database (Version 0.8)
3311 <ulink url="http://www.freedesktop.org/standards/shared-mime-info-spec/"/></citetitle>