it seems the akonadi-script and the dolphin script are no longer functional with this version..
there is a segfaul-error when activating the akonadi-script.
I'm trying to make a RPM package with this, but i have a small problem. Icontasks only shows actions from your scripts if i execute script. Shouldn't this work without it?
Easy, you have edited launchers with kmenuedit...
Go to ~/.local/share/applications
and rename launchers to there original name:
dolphin.desktop
I will release some better launcher name looking code one day ;)
kde4-konsole.desktop is wrong (konsole.desktop)
kmail.desktop is wrong (KMail.desktop)*
Sorry but Suse do not use standard desktop files, you have to patch dockmanager-kde... I will release a version fixing this issues.
Hi.
I found the following faulty behavior in the dolphin dockmanager script:
- create folders /my_path_1/my_folder and /my_path_2/my_folder
- add both folders to favorite places
- restart the script.
Then, by right-clicking the dolphin icon in the icon-only-task-manager, you will see "my_folder" twice. If you had set different custom icons, they would also appear different in the menu (so far so good).
But when you open either of the items from the menu, icon-task-manager will always open the same folder (expected: one should open /my_path_1/my_folder, the other should open /my_path_2/my_folder).
I have the feeling the icon-only-task-manager only passes the menu item label to the dockmanager script (limitation of the dockmanager API?).
Admittedly this example was a bit pathological, but what really happened in my case is the following: I have a favorite to my "Documents" folder. I recently enabled nepomuk, and it automatically added a link to search:/Documents, also labelled "Documents". Now, through dockmanager, I can only open the latter although only the former interests me (and I haven't found yet how to change the nepomuk shortcuts).
The two links have completely different natures (and different icons) and cannot really be mistaken one for the other. The fact they happen to have the same text label is only secondary and should not be the only criterion for dockmanager (even more when one of the links was automatically generated without asking me!).
Now, the obvious workaround is to rename my shortcuts, but somehow I find this a bit unsatisfactory :(.
Thank you for your attention :).
Thanks for this!
I have 2 problems:
With dolphin:
pyinotify not available - not monitoring for new configurations
Traceback (most recent call last):
File "/home/hrvoje/.local/share/dockmanager/scripts/dolphin.py", line 202, in <module>
csink = clientSink()
File "/usr/lib/python2.7/site-packages/dockmanager/dockmanager.py", line 196, in __init__
self.item_added(pathtoitem)
File "/usr/lib/python2.7/site-packages/dockmanager/dockmanager.py", line 212, in item_added
self.item_path_found(path, item)
File "/home/hrvoje/.local/share/dockmanager/scripts/dolphin.py", line 197, in item_path_found
self.items[pathtoitem] = clientItem(self, pathtoitem)
File "/home/hrvoje/.local/share/dockmanager/scripts/dolphin.py", line 74, in __init__
self.read_places()
File "/home/hrvoje/.local/share/dockmanager/scripts/dolphin.py", line 86, in read_places
dom = minidom.parse("%s/%s" % (places, "bookmarks.xml"))
File "/usr/lib64/python2.7/xml/dom/minidom.py", line 1920, in parse
return expatbuilder.parse(file)
File "/usr/lib64/python2.7/xml/dom/expatbuilder.py", line 922, in parse
fp = open(file, 'rb')
IOError: [Errno 2] No such file or directory: '/home/hrvoje/.kde/share/apps/kfileplaces/bookmarks.xml'
With akonadi - it can take too much CPU usage after some time. Using master
Ratings & Comments
44 Comments
it seems the akonadi-script and the dolphin script are no longer functional with this version.. there is a segfaul-error when activating the akonadi-script.
With the Amarok script, the play icon never changes.
After using some of this scripts for a long time I must admit that this is super cool! Akonadi and kopete scripts are easily my favorites. Good job!
I'm trying to make a RPM package with this, but i have a small problem. Icontasks only shows actions from your scripts if i execute script. Shouldn't this work without it?
Note that scripts from dockmanager (e.g. skype) work without executing.
Can you list rpm content ?
Here it is: http://paste.opensuse.org/78321710
Are scripts +x ?
Yup: http://paste.opensuse.org/90708215 One however works, the one for clementine (without executing i mean)
And for others, package are installed ?
Yes. As far i can tell it works with non-KDE apps (ff, clementine) but not with KDE ones (dolphin, konsole, rekonq...)
Is this working when installing scripts in HOME ?
No, i have the same issue.
Can i have a screenshot...
Dolphin: http://i.imgur.com/HbSOc.png Clementine: http://i.imgur.com/CacLD.png
A screenshot of icon-task dialog! :p
Hahaha, here it is: http://i.imgur.com/JcYgr.png
But i have no dolphin.desktop there: http://i.imgur.com/tXJi7.png
Easy, you have edited launchers with kmenuedit... Go to ~/.local/share/applications and rename launchers to there original name: dolphin.desktop I will release some better launcher name looking code one day ;)
kde4-konsole.desktop is wrong (konsole.desktop) kmail.desktop is wrong (KMail.desktop)* Sorry but Suse do not use standard desktop files, you have to patch dockmanager-kde... I will release a version fixing this issues.
Hi. I found the following faulty behavior in the dolphin dockmanager script: - create folders /my_path_1/my_folder and /my_path_2/my_folder - add both folders to favorite places - restart the script. Then, by right-clicking the dolphin icon in the icon-only-task-manager, you will see "my_folder" twice. If you had set different custom icons, they would also appear different in the menu (so far so good). But when you open either of the items from the menu, icon-task-manager will always open the same folder (expected: one should open /my_path_1/my_folder, the other should open /my_path_2/my_folder). I have the feeling the icon-only-task-manager only passes the menu item label to the dockmanager script (limitation of the dockmanager API?). Admittedly this example was a bit pathological, but what really happened in my case is the following: I have a favorite to my "Documents" folder. I recently enabled nepomuk, and it automatically added a link to search:/Documents, also labelled "Documents". Now, through dockmanager, I can only open the latter although only the former interests me (and I haven't found yet how to change the nepomuk shortcuts). The two links have completely different natures (and different icons) and cannot really be mistaken one for the other. The fact they happen to have the same text label is only secondary and should not be the only criterion for dockmanager (even more when one of the links was automatically generated without asking me!). Now, the obvious workaround is to rename my shortcuts, but somehow I find this a bit unsatisfactory :(. Thank you for your attention :).
I will try to find time to work on this, but with krunner-appmenu and libkappmenu, not soon ;)
Fixed.
Ubuntu packages here: https://launchpad.net/~mikevaughn/+archive/omnilinux/
Thanks for this! I have 2 problems: With dolphin: pyinotify not available - not monitoring for new configurations Traceback (most recent call last): File "/home/hrvoje/.local/share/dockmanager/scripts/dolphin.py", line 202, in <module> csink = clientSink() File "/usr/lib/python2.7/site-packages/dockmanager/dockmanager.py", line 196, in __init__ self.item_added(pathtoitem) File "/usr/lib/python2.7/site-packages/dockmanager/dockmanager.py", line 212, in item_added self.item_path_found(path, item) File "/home/hrvoje/.local/share/dockmanager/scripts/dolphin.py", line 197, in item_path_found self.items[pathtoitem] = clientItem(self, pathtoitem) File "/home/hrvoje/.local/share/dockmanager/scripts/dolphin.py", line 74, in __init__ self.read_places() File "/home/hrvoje/.local/share/dockmanager/scripts/dolphin.py", line 86, in read_places dom = minidom.parse("%s/%s" % (places, "bookmarks.xml")) File "/usr/lib64/python2.7/xml/dom/minidom.py", line 1920, in parse return expatbuilder.parse(file) File "/usr/lib64/python2.7/xml/dom/expatbuilder.py", line 922, in parse fp = open(file, 'rb') IOError: [Errno 2] No such file or directory: '/home/hrvoje/.kde/share/apps/kfileplaces/bookmarks.xml' With akonadi - it can take too much CPU usage after some time. Using master