Drop2Tag

Plasma 4 Widgets

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on git.opendesktop.org

7
Score 80%
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:

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

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

Report

Sparrowmelody

9 years ago

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).

Report

C

nik3nt3

9 years ago

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



Report

Sparrowmelody

9 years ago

Seems the problem was lacking tags, that solved it. Thank you for your reply!

Report

einar77

9 years ago

It works quite weill. I tested also the click on icon and works as advertised.
Great job!

Report

warnec

9 years ago

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.

Report

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

File (click to download) Version Description Downloads Date Filesize DL OCS-Install
Pling
Details
license
version
0.3
updated Mar 22 2010
added Sep 12 2009
downloads today
0
page views today 1