mirror of
https://github.com/LCTT/TranslateProject.git
synced 2024-12-29 21:41:00 +08:00
212 lines
10 KiB
Markdown
212 lines
10 KiB
Markdown
|
[#]: subject: "Using the Lesser Known File Tagging Feature in KDE’s Dolphin File Manager"
|
|||
|
[#]: via: "https://itsfoss.com/file-tagging-kde/"
|
|||
|
[#]: author: "Sreenath https://itsfoss.com/author/sreenath/"
|
|||
|
[#]: collector: "lkxed"
|
|||
|
[#]: translator: " "
|
|||
|
[#]: reviewer: " "
|
|||
|
[#]: publisher: " "
|
|||
|
[#]: url: " "
|
|||
|
|
|||
|
Using the Lesser Known File Tagging Feature in KDE’s Dolphin File Manager
|
|||
|
======
|
|||
|
|
|||
|
[Dolphin][1] 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][2] 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][3]
|
|||
|
|
|||
|
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][4]
|
|||
|
|
|||
|
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][5]
|
|||
|
|
|||
|
**_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][6]
|
|||
|
|
|||
|
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][7]
|
|||
|
|
|||
|
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][8]
|
|||
|
|
|||
|
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][9]
|
|||
|
|
|||
|
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][10]
|
|||
|
|
|||
|
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][11]
|
|||
|
|
|||
|
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][12]
|
|||
|
|
|||
|
### 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][13]
|
|||
|
|
|||
|
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][14]
|
|||
|
|
|||
|
You can press the image button in the new dialog box to change the icon as shown below.
|
|||
|
|
|||
|
![change emblem of tags][15]
|
|||
|
|
|||
|
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][16]
|
|||
|
|
|||
|
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][17]
|
|||
|
|
|||
|
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][18]
|
|||
|
|
|||
|
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][19].
|
|||
|
|
|||
|
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][a]
|
|||
|
选题:[lkxed][b]
|
|||
|
译者:[译者ID](https://github.com/译者ID)
|
|||
|
校对:[校对者ID](https://github.com/校对者ID)
|
|||
|
|
|||
|
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
|
|||
|
|
|||
|
[a]: https://itsfoss.com/author/sreenath/
|
|||
|
[b]: https://github.com/lkxed
|
|||
|
[1]: https://apps.kde.org/en-gb/dolphin/
|
|||
|
[2]: https://www.tagspaces.org/
|
|||
|
[3]: https://itsfoss.com/wp-content/uploads/2022/11/create-tags-on-the-go-using-right-click-context-menu.png
|
|||
|
[4]: https://itsfoss.com/wp-content/uploads/2022/11/provide-the-name-of-the-tag-you-like-to-use-and-press-ok-to-add-the-tag.png
|
|||
|
[5]: https://itsfoss.com/wp-content/uploads/2022/11/add-an-existing-tag-to-a-file-using-right-click-context-menu.png
|
|||
|
[6]: https://itsfoss.com/wp-content/uploads/2022/11/enable-information-panel-in-dolphin.png
|
|||
|
[7]: https://itsfoss.com/wp-content/uploads/2022/11/add-tags-using-information-panel.png
|
|||
|
[8]: https://itsfoss.com/wp-content/uploads/2022/11/showing-assigned-tags-beneath-each-item.png
|
|||
|
[9]: https://itsfoss.com/wp-content/uploads/2022/11/see-tag-information-in-dolphin-detailed-list-view.png
|
|||
|
[10]: https://itsfoss.com/wp-content/uploads/2022/11/all-tags-are-listed-on-all-tags-section-on-side-bar.png
|
|||
|
[11]: https://itsfoss.com/wp-content/uploads/2022/11/select-search-icon-to-start-a-search.png
|
|||
|
[12]: https://itsfoss.com/wp-content/uploads/2022/11/perform-searches-using-different-crieteria-and-tags.png
|
|||
|
[13]: https://itsfoss.com/wp-content/uploads/2022/11/sort-entries-according-to-tag.png
|
|||
|
[14]: https://itsfoss.com/wp-content/uploads/2022/11/edit-a-tag-to-change-emblems.png
|
|||
|
[15]: https://itsfoss.com/wp-content/uploads/2022/11/change-emblem-of-tags.png
|
|||
|
[16]: https://itsfoss.com/wp-content/uploads/2022/11/delete-a-particular-tag.png
|
|||
|
[17]: https://itsfoss.com/wp-content/uploads/2022/11/warning-message-showing-missing-files.png
|
|||
|
[18]: https://itsfoss.com/wp-content/uploads/2022/11/duplicate-files-inside-the-tag-because-of-copying-tags-inside-system-folders.png
|
|||
|
[19]: https://itsfoss.com/kde-vs-gnome/
|