TranslateProject/sources/tech/20221121.4 ⭐️⭐️ Using the Lesser Known File Tagging Feature in KDE’s Dolphin File Manager.md

10 KiB
Raw Permalink Blame History

Using the Lesser Known File Tagging Feature in KDEs Dolphin File Manager

Dolphin is the default file manager of the KDE Plasma Desktop Environment. It is considered as one of the most comprehensive and feature-rich file managers available for Linux distributions.

Yes. It has tons of features and you may not be aware of all of them. One such feature is file tagging.

File tagging is a way of organizing files or folder by applying tags to them. This tag can then be used to search for data, and sort the files accordingly. With this feature, you can tag files into categories irrespective of their location. This gives you a new way to organize your files.

While there are dedicated tools like Tagspaces for this purpose, this feature comes baked into KDEs Dolphin file manager.

In this tutorial, Ill show you how to use the file tagging feature in Dolphin.

Adding tags to files and folders in KDE

There are two ways you can add tags:

  • Through the right-click menu
  • Through the information panel

Lets see them one by one.

Method 1: Adding tags through right-click context menu

Select the file(s) and folders to which you want to add tags. Now press the right click.

You need to select the “Add Tags” option and here, you can add the name of the tag, by pressing Create New.

create tags on the go using right click context menu

You need to enter the name of the new tag and press OK.

provide the name of the tag you like to use and press ok to add the tag

Once created, the tag will be visible the next time you try to tag a file.

add an existing tag to a file using right click context menu

Also, you can toggle the check box according to your need to add or remove a file/folder from a particular tag.

Method 2: Adding tags through the information panel

Dolphin provides an information panel where you can view the details of a file/folder, including a small preview.

This is turned off by default. But you can enable it by going to Show Panel > Information from the top right hamburger menu.

enable information panel in dolphin

Once this is checked, you will notice the new panel on the right side. Here, you can see the tags listed as an entry.

add tags using information panel

First, select the file/folder to which you want to add tags and then press Add on the information panel. Now, you can either create a new tag or add an existing tag to the respective file/folder, as shown in the above screenshot. Press Save once you are done.

The same information panel will also show the tag information of the selected items if it has any.

Showing tag information of a file or folder

As I mentioned above, the information panel lists the tags attached to the file/folder under selection. But there are more ways to list the tags. Those methods are detailed below.

Method 1: Show the associated tags under file name

On the default Icon View in Dolphin, you can get the tags associated with each item just beneath the name of that item.

Select Show Additional Information > Tags from the hamburger menu in the top right corner.

showing assigned tags beneath each item

Once the box is checked, as shown in the above screenshot, you will notice that the tag information appears beneath the name of each item.

Method 2: Show associated tags in list view

Dolphin also provides a Detailed view. Here, the contents are listed with columns for each information.

By default, tag data column is not shown. To add that, you can right-click anywhere on the top column, as shown in the screenshot below. Now, check the tag box.

see tag information in dolphin detailed list view

You will notice a new column, with tags of individual entries, is appeared.

By clicking on the tag button (blue rectangle in the screenshot), you can sort the entries of the current location according to tags (alphabetical or reverse).

Listing all the files associated with a particular tag

If you have many tags, you may want to list all the files and folders associated with a particular tag.

For this, there is an entry called Tags on the sidebar. Clicking on this will list all the available tags that you have created.

all tags are listed on all tags section on side bar

Now, clicking on individual tag entries here will display the contents of that particular tag.

Even more simple is that the tags are placed as a list on the sidebar itself. You can click on the entries to go to that particular list.

Searching for files with specific tags

You can search by file names in Dolphin. Thats not new. But you may refine the search based on tags as well.

For this, first press the search button on top right side.

select search icon to start a search

You will get a view for entering your search term. Here you can search in the current directory or in all files.

Click on the dropdown on right as shown and select tags. Here you can filter your search by selecting the target tags.

perform searches using different crieteria and tags

Sorting items according to tags

In dolphin, you can start a sort operation based on tags (alphabetical or reverse). Also, you can sort the folders before files are mixed.

To do this, click on the hamburger menu and select sort by.

sort entries according to tag

Here, you can select the Tags check box to sort**.** As shown in the above screenshot, you can specify the criteria also for the sorting.

Changing emblems of tags

This is purely cosmetic and for those who have OCD about organizing files. You can change the emblem (icon) of a tag to be visually more distinguishable.

In the above screenshots, you may have noticed that each tag appearing in the sidebar has different emblems. Right click on the name of the tag in sidebar and select edit.

edit a tag to change emblems

You can press the image button in the new dialog box to change the icon as shown below.

change emblem of tags

Note that the emblems will appear only on the sidebar.

Removing tags

Dont need a tag anymore? You can easily remove it.

Note that removing tags does NOT remove the files associated with them.

To remove an existing tag, you can go to all tags in the sidebar. Right click on a tag and press delete.

delete a particular tag

That particular tag will be removed automatically from all the associated files/folders.

Buggy feature: Copy a tag as a directory

On the All tags page, you can right-click and copy a particular tag and paste it to a location you like. This will paste all the entries with that particular tag into a separate folder.

You should keep in mind that while copying, there will be some warning messages about missing files. You can skip them. Those warning messages are shown because a directory under the tag you copied may contain other files/directories, which essentially are not part of the tag you are copying.

warning message showing missing files

Here, some files inside the Folders-One directory are not part of the tag Tagger. So those files will not be copied.

Also, another glitch that I found was if the copied tag contains files, the same files will be duplicated inside the tag.

duplicate files inside the tag because of copying tags inside system folders

It is an issue only if you are copying the tag within your system directories and will not be an issue if you are copying a tag to an outside storage like an external hard disk or USB device.

Wrapping Up

Tags are indeed a great way to organize files, be they images or documents. Tagging feature can improve your productivity by enforcing neatness and order to your file storage and retrieval.

Its good to see KDE providing this as a built-in feature. I guess this is one of the many differences between KDE and GNOME.

I feel I bit a bit more in detail as I wanted to give you all the required details. I hope you find it useful.

If you know any other cool KDE features you love, do share them in the comments.


via: https://itsfoss.com/file-tagging-kde/

作者:Sreenath 选题:lkxed 译者:译者ID 校对:校对者ID

本文由 LCTT 原创编译,Linux中国 荣誉推出