calling a shell script from a servicemenu

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 
___________________________________________________
.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.

[Index of Archives]     [Trinity (TDE) Desktop Users]     [Fedora KDE]     [Fedora Desktop]     [Linux Kernel]     [Gimp]     [GIMP for Windows]     [Gnome]     [Yosemite Hiking]
  Powered by Linux