[kde] calling a shell script from a servicemenu



Hello all,

I have created a script for re-encoding mp3 files and
I want to add a service menu for it. However, I am
stuck now. This is a stub my entry into the
servicemenu:

[Desktop Action Encode32]
Name=32 bit
Icon=.mp3
Exec=/bin/sh -c "/usr/bin/reencodemp3 %u"

I have tried moving the %u around, but no success.
The reencodemp3 script just takes in the name of the
file and automatically saves the reencoded one
somewhere in /tmp. I have tested the script by itself
and it works.
As an aside, does anyone know what I can put as the
Icon entry (the one I have doesn't work)?

thanks

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
___________________________________________________
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.



Relevant Pages

  • Re: Qpopper and init.d--Solved
    ... >> script from the link above is that my popper exec ... Do You Yahoo!? ... Mail has the best spam protection around ... To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list ...
    (Fedora)
  • Re: SAR
    ... I think I will try to make use of your script, and the tutorial looks good as well. ... I don't bother saving the sysstat data longer than the default, ... Do You Yahoo!? ... Mail has the best spam protection around ...
    (RedHat)
  • Accessing page using Mechanize, have to go thr proxy
    ... (On windows, using ActivePerl) ... variables on commandline and then running the script ... Do You Yahoo!? ... Mail has the best spam protection around ...
    (perl.beginners)
  • How to create a new browser window using CGI
    ... How can I add a line to the following script ... so that I can show the results on a new browser window ... Do You Yahoo!? ... Mail has the best spam protection around ...
    (perl.beginners)
  • Re: [SLE] Segmantation Faults
    ... > Keep in mind that firefox normally launches from a script, ... > and gdb expects a binary. ... > Do You Yahoo!? ... Mail has the best spam protection around ...
    (SuSE)