<p>The Tracker is the graphical interface to all your files. It lets you create new files and folders or find, launch or rename as well as copy or delete existing ones.</p>
<p>Being an application like any other (the Desktop with its icons is really just a fullscreen window in the background), Tracker appears with its windows in the Deskbar and can be quit and restarted. The easiest way to quit and restart a crashed or frozen Tracker (or a wayward Deskbar) is to call the <ahref="teammonitor.html">Team Monitor</a>.</p>
<p>In order to access a harddisk, CD, USB stick etc., you first have to mount the volume, that is, let the system know it's there. This is done with a right-click on the Desktop or an already mounted volume (like the boot disk) and choosing the volume from the <spanclass="menu">Mount</span> submenu. You find the same <spanclass="menu">Mount</span> menu in the Deskbar.</p>
<p>There are also <spanclass="menu">Mount Settings</span> so you don't have to mount everything manually after every bootup.<br/>
The above settings will automatically mount any storage device you connect/insert and also mount all disks on bootup that were mounted previously.</p>
<divclass="box-warning">Before you disconnect e.g. a harddrive or USB stick, make sure you have successfully unmounted the volume. This guarantees that all data transfer has finished. Otherwise you may lose data or corrupt the disk!</div>
<p>By default, when you double-click a folder, Tracker opens a new window while leaving the parent window open. This can quickly lead to an overcrowded desktop.<br/>
You can prevent that by holding down the <spanclass="key">OPT</span> key, which automatically closes the parent window.<br/>
This is also true for keyboard navigation. For more on that, see topic <ahref="keyboard-shortcuts.html">Shortcuts and key combinations</a>.</p>
<p>Moving through your folders is one of Trackers main purposes, just like the file managers on other platforms. Haiku's Tracker has some unique features that will help you doing that efficiently.</p>
<h3>
<ahref="#"><imgsrc="../images/up.png"style="border:none;float:right"alt="index"/></a><aid="drill-down"name="drill-down">Drilling down the submenus</a></h3>
<p>Instead of double-clicking your way down folder after folder, there's a better way to drill down:</p>
<!-- screenshot needs updating to show /boot/system/documentation -->
<p>Right-click onto a folder, and at the top of the usual context menu you'll find a submenu of the current folder that let's you navigate down a level. Just move down the hierarchy until you find the file or folder you're looking for and click on it to open it. The above shows the contents of the folder <spanclass="path">/boot/home/config/</span>.<br/>
If you do the above while dragging a file with you, it will be moved to where you eventually drop it.</p>
<p>A similar method can be used from any Tracker window:</p>
<p>Click on the area in the lower left, where the number of items is listed, and you'll get submenus for every level above your current location. From there you can drill down through the folders as usual.</p>
<p>Note, that the Desktop is always the topmost level as that is where Tracker shows mounted volumes. So, if you want to go to another disk, you first have to navigate to the top (Desktop) and cross over to your other disk from there.</p><br/>
<p>You'll get the same submenu-navigating when you drag a file over a folder. After a short while of hovering, a submenu pops up and you can drill down to your destination. If you initiated the drag with the right mousebutton, you can choose between copying, moving or linking the file when you release the mouse.</p>
<aid="type-ahead"name="type-ahead">Jumping to files with type-ahead</a></h3>
<p>You may be familiar with the concept from file managers of other operating systems: typing the first few letters of a filename will jump to the first file matching these starting characters. Haiku took the idea a step further. If there isn't a file starting with those letters it will jump to the first file including the string anywhere in its name. And if there's nothing with the string in its filename, the attributes are searched next.</p>
<p>In the above example, there are many files starting with "Haiku logo", rendering simpler approaches to typing ahead quite useless. In Haiku however, typing "web" jumps right to its first occurence in "Haiku logo - website". The characters you enter appear in the bottom left corner where you normally find the item count of all files in the folder. A second after entering a character, the display jumps back to normal and you're ready for a new type ahead search.</p>
<p>Instead of jumping to a file while typing, there's also the option to filter out all files not matching your type-ahead string. This can improve clarity dramatically, especially when dealing with crowded folders. By using <spanclass="key">SHIFT</span><spanclass="key">SPACE</span> as delimiter, you can even filter on multiple strings.<br/>
Contrary to type-ahead jumping, the filtering will stick until you press <spanclass="key">ESC</span> or close the window (or leave the folder if you're using Single Window Navigation).<br/>
This type-ahead filtering is set in the <ahref="#tracker-preferences.html">Tracker preferences</a>.</p>
<p>Tracker windows offer three different viewing modes from the <spanclass="menu">Window</span> menu:</p>
<ul>
<li><p><b>Icon View</b> (<spanclass="key">ALT</span><spanclass="key">1</span>) - Big icons, you can change the size from the submenu or in/decrease their size with <spanclass="key">ALT</span><spanclass="key">+</span>/<spanclass="key">ALT</span><spanclass="key">-</span>.</p></li>
<li><p><b>Mini Icon View</b> (<spanclass="key">ALT</span><spanclass="key">2</span>) - Small icons.</p></li>
<li><p><b>List View</b> (<spanclass="key">ALT</span><spanclass="key">3</span>) - A detailed list of your files enabling you to show/hide available <i>attributes</i>. (See topic <ahref="attributes.html">Attributes</a>.)</p></li>
</ul>
<p>The <spanclass="menu">Window</span> menu offers a number of other functions:</p>
<ul>
<li><p><b>Resize Window</b> (<spanclass="key">ALT</span><spanclass="key">Y</span>) - Resizes the window to its ideal size.</p></li>
<li><p><b>Clean Up</b> (<spanclass="key">ALT</span><spanclass="key">K</span>) - Aligns all icons to an invisible grid. Hold down <spanclass="key">SHIFT</span> and the menu becomes <spanclass="menu">Clean Up All</span> which additionally sorts all icons alphabetically.</p></li>
<li><p><b>Select...</b> (<spanclass="key">SHIFT</span><spanclass="key">ALT</span><spanclass="key">A</span>) - Select files according to a <ahref="http://en.wikipedia.org/wiki/Regular_expression"class="external free"title="Wikipedia: Regular expression">regular expression</a>.</p></li>
<li><p><b>Close</b> (<spanclass="key">ALT</span><spanclass="key">W</span>) - Closes the window. Hold down <spanclass="key">SHIFT</span> and the menu becomes <spanclass="menu">Close All</span> which closes every Tracker window.</p></li>
<li><p><b>Close All in Workspace</b> (<spanclass="key">ALT</span><spanclass="key">Q</span>) - Closes every Tracker window in the current workspace. A useful shortcut if you forgot to hold the <spanclass="key">OPT</span> key while clicking through folders and all those still open Tracker windows clutter your workspace.</p></li>
</ul>
<p>Sometimes you just want to rearrange a few icons without doing a complete <spanclass="menu">Clean Up</span> (<spanclass="key">ALT</span><spanclass="key">K</span>). In that case, you select these icons and start to drag them to their new location. Before you drop them there, keep <spanclass="key">ALT</span> pressed. This will align the icons to the invisible grid.</p>
<p>The rest of the functions are pretty self-explanatory, leaving the Tracker preferences.</p>
<p><spanclass="menu">Window | Preferences...</span> opens a panel that offers a number of settings that, where not obvious, should become clear once tried out. Since all settings are applied live, you'll immediately see the changes.
<br/>So, in short, the not so obvious settings:</p>
<ul>
<li><p><b>Desktop</b> - Decide if all mounted disks appear directly on the Desktop or in a window after clicking a single Disk icon sitting on the Desktop.</p></li>
<li><p><b>Windows</b> - You can set <spanclass="menu">Single Window Navigation</span>, i.e. a double-clicked folder doesn't open in its own window, but inside the already open window instead, replacing the view of it's parent folder. This is not the same as clicking while holding the <spanclass="key">OPT</span> key, as described above, because you'll lose the per window saved position and size.
<p>Before you switch Tracker to Single Window Navigation mode, because that may feel more familiar to you, we recommend giving the menu based browsing a try first, as that may actually work much faster for you after getting used to. On the other hand, single window browsing offers a <i>Navigator</i> where you can enter or copy&paste a path name and use back, forward and up buttons.</p>
<p>Activating <spanclass="menu">Type-ahead filtering</span> will filter the contents of a Tracker window while you type to only display the files matching your string in their name or any currently displayed attribute. See <ahref="#type-ahead-filter">above</a>.</p></li>
<aid="working-with-files"name="working-with-files">Working with files</a></h2>
<p>When invoked on a selected file, most of the <spanclass="menu">File</span> menu commands are also offered in the context menu by right-clicking that file.</p>
<p>As usual the commands are pretty clear.</p>
<ul>
<li><p><b>Find...</b> - Find a file or folder. See topic <ahref="queries.html">Query</a> for more info.</p></li>
<li><p><b>New</b> - Create a new folder or any other file based on a <i>template</i>.
<p>Choosing <spanclass="menu">Edit Templates...</span> opens the folder <spanclass="path">/boot/home/config/settings/Tracker/Tracker New Templates</span>. Creating a file in that folder will offer its filetype with the file's name and other attributes as template in the <spanclass="menu">New</span> menu. Here, there's a file "Text" with the filetype <tt>text/plain</tt>. See topic <ahref="filetypes.html">Filetypes</a> for more info.</p></li>
<li><p><b>Open With...</b> - A submenu offers all applications that can handle this filetype.
<p>The preferred application that would open the file when double-clicked, is checkmarked. This submenu lists first those applications that can handle the exact filetype, in this case it's a text file, the type <tt>text/plain</tt>. Next come all applications that can handle that supertype in general, here <tt>text/*</tt>. Last in the list are those that can deal with any file. If you don't click on an app in the submenu, but on the <spanclass="menu">Open With...</span> entry instead, a panel opens:</p>
<p>Here you'll again find the programs that were listed in the submenu. By selecting one and clicking the <spanclass="button">Open and Make Preferred</span> button, you changed the preferred application for every file of that filetype, here <tt>text/plain</tt>.</p></li>
<p>The panel presents info on the selected file and lets you set the default application and, after you expanded that part of the panel, permissions and owner. Clicking on the path will open it in a Tracker window.</p></li>
<li><p><b>Edit Name</b>, <b>Duplicate</b> and <b>Move to Trash</b> - lets you rename or duplicate a file or put the selected file(s) to the trash.</p></li>
<li><p><b>Move to</b>, <b>Copy to</b> and <b>Create Link</b> - lets you move, copy or link the selected file(s) using the submenu navigating method. Holding <spanclass="key">SHIFT</span> while invoking the menu offers the option to create a relative link.</p></li>
<li><p><b>Cut</b>, <b>Copy</b> and <b>Paste</b> - lets you cut, copy and paste files using the clipboard. By holding <spanclass="key">SHIFT</span> while invoking the menu you can <b>Copy/Cut more</b> files, maybe from another folder that you can paste somewhere else later. Also, while holding <spanclass="key">SHIFT</span> you can paste the copied files in the clipboard as links.</p></li>
<li><p><b>Identify</b> - will sniff out and set the type of files if they didn't have one before, e.g. if you transferred a file with <spanclass="cli">wget</span> which doesn't set a filetype itself. Holding <spanclass="key">SHIFT</span> while invoking the menu changes the item to <b>Force Identify</b> which identifies the filetype and corrects it if it was false before.</p></li>
<li><p><b>Add-Ons</b> - offers you every generic Tracker add-on and those that can handle the selected file(s). See topic <ahref="tracker-add-ons.html">Tracker Add-ons</a> for more information.</p></li>
<p>When you copy, move or delete files, Tracker shows its progress with a status window. If you initiate more than one transaction, each job gets its own status display.</p>
<p>To the right are two buttons to pause or stop a transaction entirely. Sometimes it can be useful to temporarily pause a large transaction. For example, you may need to quickly launch a large application. Copying large amounts of data chokes your harddisk's IO bandwidth and thus delays your workflow.</p>