Customize query result formats

In R3, query results windows were „generic“ and appeared the same regardless of the type of file you were searching for. This made little sense if you were hunting for, say, bookmark URLs, since the query would return the bookmark filenames without displaying the URLs you wanted to see unless you physically manipulated the Attributes menu.
R4 has much more intelligence in this department, and gives you 100% control over the appearance of query results windows for any given filetype. Take a look in ~/config/settings/Tracker and you’ll find a folder called DefaultQueryTemplates . Within this folder you’ll find a handful of folders named after common MIME types (but note that slashes have been replaced with underscores). Take for example the folder called application_x-person. Drop a copy of one of your Person files into this folder and manipulate its Attributes menu to display whichever attributes are most important to you, such as just the name and email address. Drag columns into whatever order you please.
Close the folder, then run a system search on Person files — the query results window will appear in the exact configuration you just established for that filetype. You can, of course, create a query template for any filetype on your system.
Note: You’ll find another template folder in this directory as well: DefaultFolderTemplate . Because all Tracker windows inherit their configuration and layout from their parent folders by default, this template is used only when a parent folder cannot be found. The best example of such an instance is when you create a new folder on the Desktop.

 

Comments

No comments so far.

(comments are closed)

Kategorien

 
 
Blogroll
Resources