Using the Lesser Known File Tagging Feature in KDE's Dolphin File Manager

Want to organize files by tagging them? You don't need third party tools for that if you are using KDE. Here's how to use the built-in tagging feature in Dolphin file manager.
Warp Terminal

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 KDE’s Dolphin file manager.

In this tutorial, I’ll 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

Let’s 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
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
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
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
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
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
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
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
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. That’s 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
Select the 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
Perform searches using different criteria 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
Sort entries according to tag

Here, you can select the Tags check box to sortAs 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
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
Change the emblem of tags

Note that the emblems will appear only on the sidebar.

Removing tags

Don’t 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
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
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
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.

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

Some more Doplhin tweaks can be found here:

17 Dolphin File Manager Tweaks for KDE Users
Take full advantage of KDE’s customization ability. Tweak Dolphin file manager to your liking with these tips.

And something about customizing task switcher in KDE:

How to Customize the Task Switcher in KDE Plasma
It is often the little interactions with a desktop environment that makes up for a good user experience and task switcher is something that most of the users fiddle with. I’ve recently about customizing the task switching experience on GNOME but what about the most customizable desktop environm…

I feel I went a bit more into detail as I wanted to give you all the required information. I hope you find it useful.

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

About the author
Sreenath

Sreenath

Linux tinkerer by day, Lord of the Rings fanatic by night. When I'm not busy conquering the command line, you can find me kicking back and watching some football while quoting JRR Tolkien

Become a Better Linux User

With the FOSS Weekly Newsletter, you learn useful Linux tips, discover applications, explore new distros and stay updated with the latest from Linux world

itsfoss happy penguin

Great! You’ve successfully signed up.

Welcome back! You've successfully signed in.

You've successfully subscribed to It's FOSS.

Success! Check your email for magic link to sign-in.

Success! Your billing info has been updated.

Your billing was not updated.