Nepomuk/kioslaves/tags

From KDE Wiki Sandbox
Note
This page documents the working of the tags kioslave, which is shipped with the KDE Workspace 4.10.


Tags KIOSlave

Introduction

Since its early days, KDE has allowed users to tag their files. The most common way this is achieved is through the Information Panel in Dolphin. However, there was never any convenient way to manage the tags. With KDE Workspace 4.10, the Nepomuk tags kioslave has been introduced.

Usage

The tags kioslave is currently not visible in Dolphin or any other KDE application. It has to be manually evoked by typing tags:/ in the location bar.

For convenient usage specific Tags may be dragged to the Places panel within Dolphin. The overarching 'tags:/' itself may be dragged from the location bar to the Places panel as well, after manually evoking it as above. A name for it may be assigned via its contextual menu once dragged onto the Places panel.

Listing all tags

By typing tags:/ in the location bar, one can list all the tags present in KDE. Each of these tags is presented as a folder which can be navigated into. Each tag also provides the following features -

  • Renaming - A tag can be renamed just like an ordinary file
  • Deletion - In order to delete a tag, just delete the tag folder. The tag will be removed.

Navigating into a TAG folder

Navigating into a TAG folder will list all the files which are tagged by that TAG. It will additionally also show a number of additional TAG folders which can be used to further refine the search. Navigating into these TAG folders, will results in the files being shown which has both the TAGs.

Insert Image over here?

Drag and Drop

The tag kioslave also supports copy/paste and drag and drop. File can be copied into a tag folder in order to acquire those tags.

URL structure

The tags kioslave has a URL structure as follows - tags:/Tag1/Tag2/Tag3. Where Tag1, Tag2 and Tag3 are individual tags. The folder will show all the files that contain all 3 tags.

The order of the tags in this URL does not matter. The same result can be achieved by typing tags:/Tag2/Tag1/Tag3.