
Drop2Tag
Source (link to git-repo or to original if based on someone elses unmodified work):
Description:
Drag files, folders or urls on the icons of this plasmoid to get them tagged by nepomuk.
Nepomuk offers the 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 in Dolphin or Konqueror.
Requires KDE 4.4
Features:
- tag dropped items
- create new tags
- delete tags (drop on the small trash-icon)
- on click it opens your filemanager showing all items tagged with the clicked tag
- PopUpApplet that can live on the desktop or in the panel Last changelog:
Nepomuk offers the 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 in Dolphin or Konqueror.
Requires KDE 4.4
Features:
- tag dropped items
- create new tags
- delete tags (drop on the small trash-icon)
- on click it opens your filemanager showing all items tagged with the clicked tag
- PopUpApplet that can live on the desktop or in the panel
0.3
- bugfix: Applet not appearing when it is added directly to the panel
0.2 complete rewrite:
- removed configuration-interface
- new UI:
- create tags
- delete tags
- confirmation-dialog
- popup applet
- listen on dbus for new tags (very hackish solution)
0.1
- basic tagging - proof of concept
Ratings & Comments
6 Comments
1. text The text (name of the ) is annyoing if the icon is placed in a panel placed on the left or right. It doesn't fit there. An option to disable it would be great. Alternatively an option to change the icon to differentiate between different tags maybe. I have disabled the text by changing three lines of the code (I like this on Python) 2. startupfail The plasmoid fails to load on startup. if I restart plasma the plasmoid works... .xsession-errors shows that the connection to qdbus->nepomuk fails (not yet started) and then a not correctly initialised iterator is used. plasma-desktop(1664)/nepomuk (library) <unnamed>::GlobalModelContainer::init: Connecting to local socket "/home/lordbluelight/.kde/share/apps/nepomuk/socket" "/usr/bin/plasma-desktop(1664)" Error in thread 3077736352 : "QLocalSocket::connectToServer: Invalid name" plasma-desktop(1664)/nepomuk (library) <unnamed>::GlobalModelContainer::init: Failed to connect to Nepomuk server via local socket "/home/lordbluelight/.kde/share/apps/nepomuk/socket" "/usr/bin/plasma-desktop(1664)" Error in thread 3077736352 : "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files" "/usr/bin/plasma-desktop(1664)" Error in thread 3077736352 : "Unsupported operation (2)": "Invalid model" "/usr/bin/plasma-desktop(1664)" Error in thread 3077736352 : "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files" "/usr/bin/plasma-desktop(1664)" Error in thread 3077736352 : "Unsupported operation (2)": "Invalid model" "/usr/bin/plasma-desktop(1664)" Error in thread 3077736352 : "Unsupported operation (2)": "Invalid model" "/usr/bin/plasma-desktop(1664)" Error in thread 3077736352 : "Invalid iterator." Traceback (most recent call last): File "/usr/share/kde4/apps/plasma_scriptengine_python/pyappletscript.py", line 70, in init self.pyapplet.init() File "/home/lordbluelight/.kde/share/apps/plasma/plasmoids/Drop2Tag/contents/code/main.py", line 49, in init self.InitSettings() File "/home/lordbluelight/.kde/share/apps/plasma/plasmoids/Drop2Tag/contents/code/main.py", line 119, in InitSettings self._current_tag = self.getTagNamed(tagname) File "/home/lordbluelight/.kde/share/apps/plasma/plasmoids/Drop2Tag/contents/code/main.py", line 107, in getTagNamed
I am very interested on this plasmoid, but it doesn't seem to work on my system, what are its dependencies? I ensured I have Nepomuk running, but even so the plasmoid space only shows "unable to start script" (not verbatim).
Hy this widget depends only on plasma-scriptengine-python (this is the package-name in ubuntu). If other python-plasmoids (for example gmail.. ) work, Drop2Tag should also work. If you have no nepomuk-tags defined in the system, the plasmoid will crash :-( Create at least one Tag with dolphin and Drop2Tag should work as expected. --- In case it is still not working, you could launch Konsole and execute plasmoidviewer Drop2Tag Then copy-paste the output and post it here /nik
Seems the problem was lacking tags, that solved it. Thank you for your reply!
It works quite weill. I tested also the click on icon and works as advertised. Great job!
Don't worry, Nepomuk doesn't work on my system neither ;) I heard there are some bug fixes coming for 4.4, so I'll wait until then.