calling a shell script from a servicemenu

Peter Wiersig peter at friesenpeter.de
Wed Jul 26 23:47:52 BST 2006


On Wed, Jul 26, 2006 at 03:30:26PM -0700, javier Delgado wrote:
> Thanks, but unfortunately that didn't work.

Just to be sure:
The complete line for the .desktop looked like that?
Exec=/bin/sh -c /usr/bin/reencodemp3 -- %u

> Is there any way of debugging this type of thing?

No idea.

Du you know Aarons article?
http://developer.kde.org/documentation/tutorials/dot/servicemenus.html

I tried the following:
----------
[Desktop Entry]
ServiceTypes=audio/*
Actions=Test debug

[Desktop Action Test debug]
Name=hurz
Icon=player_play
Exec=kdialog --msgbox %u
-----------

Peter
___________________________________________________
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.




More information about the kde mailing list