passing parameters to .desktop launcher



hi!

im trying to do a launcher to a script and pass a URL as parameter.

[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=foo
Type=Application
Terminal=false
Icon[ca_ES]=gnome-panel-launcher
Name[ca_ES]=foo
Exec=/home/muzzol/Desktop/foo.sh %u
Icon=gnome-panel-launcher


i want to drag an URL onto launcher so its processed by the script. the problem is that the URL is formed with some javascript bullshit so launcher doesn't seems to recongnize it. something like:

javascript:blabla(escape('http://realurl/'),escape('blank'));

is there a way to tell launcher NOT to try to identify what im passing to it?

or maybe, can i add a new type of URL so is recongnized and processed?

regards,

muzzol


--
========================
     ^ ^
     O O
    (_ _)
muzzol(a)muzzol.com
========================
jabber id: muzzol(a)jabber.dk
========================
No atribueixis qualitats humanes als ordinadors.
No els hi agrada.
========================
"El gobierno español sólo habla con terroristas, homosexuales y
catalanes, a ver cuando se decide a hablar con gente normal"
Jiménez Losantos
========================
<echelon spamming>
bomb terrorism bush aznar teletubbies
</echelon spamming>


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