dennogumi/content/post/2009-09-15-interesting-plasmoid-drop2tag.markdown
Luca Beltrame 64b24842b8
All checks were successful
continuous-integration/drone/push Build is passing
Update all posts to not show the header text
2021-01-13 00:05:30 +01:00

2.2 KiB

author categories comments date slug tags title omit_header_text disable_share wordpress_id
einar
KDE
Linux
true 2009-09-15T20:06:59Z interesting-plasmoid-drop2tag
KDE
Linux
plasma
plasmoid
Interesting plasmoid: Drop2Tag true true 677

While browsing around kde-look.org, I've stumbled upon a nice little Plasma scripted widget, and I'm publishing this to have it get more exposure.

A good part of the KDE community knows at least little about Nepomuk, and its ability to attach semantic tags to your files - basically words that describe the file, be it an image, a text document, or anything you'd like. For example, you could tag all the photos from your vacation with the name of the place you've been. After that, you can recall tagged files by accessing the nepomuksearch://hasTag:TAG_NAME url in Dolphin or Konqueror (there are more advanced uses, but I won't cover them here), where TAG_NAME is your tag.

Up to now, the usual way to tag files was to either select them in batch and add a tag, or do them individually, then click "Add tag", then select the tag or create a new one. It was kind of laborious, although not too complicated. And that's where Drop2Tag comes in.

![Drop2Tag in plasmoidviewer]({{ site.url }}/images/2009/09/drop2tag.png)

Drop2Tag stays in your desktop, configured for one of your Nepomuk tags. Then, you just need to drag files to it to have them automatically tagged. Also, clicking on the big Nepomuk icon will open your file manager with the nepomuksearch://hasTag URL with the selected tag. Neat.

The plasmoid is written in Python (I've taken a look at its source) and despite being very early in development, it already does the job very nicely - I have put one on my "Graphics manipulation" desktop activity to tag photos and images. A nice addition would be to select the tag from the plasmoid itself, rather than using the configuration option - it would make things much more flexible. Perhaps a Plasma.ComboBox would do the job here.

In any case, I'd like to congratulate its author (nik3nt3) for a job well done.