
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
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
9 years ago
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
9 years ago
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
lbl
9 years ago
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
Report
Sparrowmelody
10 years ago
I ensured I have Nepomuk running, but even so the plasmoid space only shows "unable to start script" (not verbatim).
Report
nik3nt3
10 years ago
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
Report
Sparrowmelody
10 years ago
Report
einar77
10 years ago
Great job!
Report
warnec
10 years ago
Report