-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    LinuxDaily.com    Linux42.org    OpenSkillz.com   
 
Artwork
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login



Sponsoring


-
- Content .- Fans (3) .- Knowledge Base  . 

Drop2TagIcon

   0.6  

Plasmoid Script

Score 63%
Drop2TagIcon
zoom


Drop2TagIcon
zoom


Depends on  KDE 4.x
Downloads:  213
Submitted:  May 31 2010
Updated:  Mar 22 2013

Description:

WARNING!!!, this plasmoid needs at least KDE 4.10 and Nepomuk2 python bindings to work. This bindings are available here: http://quickgit.kde.org/?p=scratch%2Fsedwards%2Fpykde4nepomuk2.git

=========================================

Drop2TagIcon is a plasmoid useful to tag files using Nepomuk based in Drop2Tag v0.1 by Nik Lutz with next changes/bugfixes:

New: key modifiers dropping files:
no key - set tag(s) to dropped files
Ctrl key - delete tag(s) to dropped files
Shift key - read file tag(s) from dropped file

Tip: this is the steps to clone tags from one file to others:
1) Select one file and drop to the plasmoid pressing the Shift key.
2) Drop the files you want to add the tags to the plasmoid.

and if you want to remove selected tags drop files holding Ctrl key.

Know problems:
-With shift key the tags stored are the tags of last file and not the sum of all tags in files.
-Multiple tags can only be set to plasmoid dropping a file with shift.
-Plasmoid don't remember multiple tags.

- tags are alphabetically sorted
- support to filtering tags using regular expressions
- mouse wheel can be used to easily up and down in tags list
- plasmoid don't crash at KDE startup
- several fixes to support unicode characters

As seems that Drop2Tag v0.1 approach is abandoned in latest Drop2Tag versions, I upload this hacked version if somebody finds useful.

I think that only an icon combined with the mouse wheel is a good solution but, if you have many tags wheel navigation is not really useful. For this reason I added a filter to focus in a tags subset. In my case I use four Drop2TagH plasmoids in my desktop to achieve my tagging goals.

Please note that I'm not a python developer and I simply change a few things here and there so all credits to Nik Lutz. Many thanks Nik!




Changelog:

2012/03/22 - v0.6
- Added support to Nepomuk2.
- Removed support to Nepomuk.

21/02/2012 - v0.4
- Added tags deletion option.
- Added clone tags option.

14/02/2011 - v0.3
- Changed nepomuksearch query because old syntax is not supported in KDE 4.6

01/06/2010 - v0.2
- Plasmoid renamed to Drop2TagIcon as Nik suggested.

31/05/2010 - v0.1
- Initial version.




LicenseGPL
Send to a friend
Subscribe
Other  Artwork  from eusonig
Report inappropriate content



-

 Nice work

 
 by nik3nt3 on: May 31 2010
 
Score 50%

I really like the scrolling!

I will check how you fixed the startup-crash and will backport it to Drop2Tag.

Don't you want to rename your plasmoid to maybe "Drop2TagIcon": "H" for hacked doesn't sound very "reliable" to me.

/nik


Reply to this

-

 Re: Nice work

 
 by eusonig on: Jun 1 2010
 
Score 50%

It's really simple :). The problem is that Nepomuk is not ready when Plasma starts so api calls to Nepomuk fails and plasmoid crashes. It's a know and logical behaviour because KDE startup is asyncronous.

You need to use try...except and write your code thinking that component could be not initialized properly.


Reply to this

-

 error initializing on kde 4.6.5

 
 by tomsdale on: Jul 15 2011
 
Score 50%
tomsdaletomsdale
Avecstyle
Home

Hi, I'm getting an error adding it to the desktop and it throws the following error when starting it from the commandline :

tom ~ $ plasmoidviewer Drop2TagIcon
plasmoidviewer(2379)/libplasma Plasma::FrameSvg::resizeFrame: Invalid size QSizeF(0, 0)
plasmoidviewer(2379)/libplasma Plasma::FrameSvg::resizeFrame: Invalid size QSizeF(0, 0)
Traceback (most recent call last):
File "/usr/share/apps/plasma_scriptengine_python/pyappletscript.py", line 59, in init
self.module = __import__(self.pluginName+'.'+relpath)
File "/usr/share/apps/plasma_scriptengine_python/plasma_importer.py", line 107, in load_module
exec code in mod.__dict__
File "/home/tom/.kde4/share/apps/plasma/plasmoids/Drop2TagIcon/contents/code/main.py", line 25, in <module>
from PyKDE4.nepomuk import *
ImportError: No module named nepomuk



Do you know why it doesn't find nepomuk? I have it running and I also created tags.


Reply to this

-

 Re: error initializing on kde 4.6.5

 
 by eusonig on: Jul 15 2011
 
Score 50%

I'm using KDE 4.6.5 and this plasmoid works fine. Try to reinstall kde python packages.


Reply to this

-

 Re: Re: error initializing on kde 4.6.5

 
 by tomsdale on: Jul 15 2011
 
Score 50%
tomsdaletomsdale
Avecstyle
Home

Might be a bug in kdebindings-phyhon > 4.6.4 in arch. Unfortunatlely I don't have that package anymore so I'll try it later.
https://bugs.archlinux.org/task/24507

Thx for the help so far.


Reply to this

-

 Script Initialization Failed

 
 by yehielb on: Jul 22 2013
 
Score 50%

Hello, when I add the plasmoid I get the following message on the plasmoid:

This object could not be created for the following reason:
Script Initialization Failed

any help would be appreciated, this is really a nice plasmoid.


YB
Reply to this

-

 Re: Script Initialization Failed

 
 by eusonig on: Jul 22 2013
 
Score 50%

You need kde python bindings installed and the additional Nepomuk2 Python Bindings as I commented in this plasmoid description.


Reply to this

-

 Re: Re: Script Initialization Failed

 
 by yehielb on: Jul 22 2013
 
Score 50%

ok, got through that. now I get the following trying to configure it... thanks in advance for the help.

no settings yet
Traceback (most recent call last):
File "/usr/share/kde4/apps/plasma_scriptengine_python/pyappletscript.py", line 107, in showConfigurationInterface
self.pyapplet.showConfigurationInterface()
File "/home/djyb/.kde/share/apps/plasma/plasmoids/Drop2TagIcon/contents/code/main.py", line 382, in showConfigurationInterface
self.createConfigurationInterface(self.dialog)
File "/home/djyb/.kde/share/apps/plasma/plasmoids/Drop2TagIcon/contents/code/main.py", line 368, in createConfigurationInterface
self.configParameters = ConfigParameters(self, self._current_tag.label(), self._current_filter, alist)
AttributeError: 'NoneType' object has no attribute 'label'


YB
Reply to this

-

 Re: Re: Re: Script Initialization Failed

 
 by yehielb on: Jul 23 2013
 
Score 50%

ok, got it to work by changing some things in main.py
I can send it to you if you are interested.

Thanks again, great work.


YB
Reply to this

-

 Re: Re: Re: Re: Script Initialization Failed

 
 by eusonig on: Jul 23 2013
 
Score 50%

Sure, I'm interested in your changes.


Reply to this

-

 Re: Re: Re: Re: Re: Script Initialization Failed

 
 by yehielb on: Jul 23 2013
 
Score 50%

where to send?


YB
Reply to this

-

 Re: Re: Script Initialization Failed

 
 by yehielb on: Jul 22 2013
 
Score 50%

ok, got through that. now I get the following trying to configure it... thanks in advance for the help.

no settings yet
Traceback (most recent call last):
File "/usr/share/kde4/apps/plasma_scriptengine_python/pyappletscript.py", line 107, in showConfigurationInterface
self.pyapplet.showConfigurationInterface()
File "/home/djyb/.kde/share/apps/plasma/plasmoids/Drop2TagIcon/contents/code/main.py", line 382, in showConfigurationInterface
self.createConfigurationInterface(self.dialog)
File "/home/djyb/.kde/share/apps/plasma/plasmoids/Drop2TagIcon/contents/code/main.py", line 368, in createConfigurationInterface
self.configParameters = ConfigParameters(self, self._current_tag.label(), self._current_filter, alist)
AttributeError: 'NoneType' object has no attribute 'label'


YB
Reply to this

Add commentBack






-

-
Do you like or dislike Ubuntu Unity?
 Yes, unity is alien technology!
 It is less confusing than Gnome 3 default, shell.
 Granny thinks it is much more usable than Gnome 2
 Canonical is embarrasing itself with this split project
 Gnome 3 default shell is much better
 I dislike Unity, Gnome 3 default shell is alien technology!
 None of the above, I like the 2Gb for free and Apple alike behavior. Will post a comment instead

resultmore




 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Artwork
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Facebook App
Content RSS   
News RSS   
Discussion RSS   
Events RSS   

Participate
Groups
Forum
Add Artwork
Public API
About KDE-Look.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2001-2014 KDE-Look.org Team  
All rights reserved. KDE-Look.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
KDE and K Desktop Environment are trademarks of KDE e.V.