[Thunar-workers] sendto escape problem

Luca Cazzaniga luca.cazzaniga at ams-group.it
Fri Mar 6 10:57:39 CET 2009


Hello, I tried to fix the sendto menu problem with icedove  following 
the tip by arcx on the wiki but pathname containing any character uri 
sensible aren't escaped using %F, so i tried a solution using bash and perl:
$ F="~/AMS - Cascia.pdf"
$ icedove -compose attachment=file://$(perl -M'URI::Escape' -e "print 
uri_escape(\"$F\")") 
from the prompt it run as supposed so i changed the setting Exec as follow:
Exec=icedove -compose attachment=file://$(perl -M'URI::Escape' -e "print 
uri_escape(\"%F\")")
But i found $(perl as attachment in icedove composition window..
What is the shell  used to exec menu command?
Can i use shell expansion in menu setting?
How the %F variable is escaped?

Thanks




--
************** ATTENZIONE !!! **************
Il presente messaggio ed i suoi allegati devono intendersi ad uso esclusivo dei suoi destinatari e sono confidenziali. Se ricevete questo messaggio per errore, Vi preghiamo di cancellarlo, di distruggerne ogni copia e di informarci immediatamente.
Internet non garantisce l'integrita' dei messaggi. A.M.S. (Asset Management Service) declina pertanto ogni responsabilita' in caso di intercettazione o modifiche del presente messaggio.
A.M.S. (Asset Management Service) non assume alcuna responsabilita' riguardo al contenuto del presente messaggio; le opinioni ivi espresse sono quelle dell'autore.
-------------- WARNING !!! --------------
This message and any attachments is intended solely for the use of the intended addressees and is confidential. If you receive this message in error, please delete it, destroy all copies and immediately notify us.
Internet can not guarantee the integrity of this message. A.M.S. (Asset Management Service) shall (will) not therefore be liable for interception or amendment of this message.
A.M.S. (Asset Management Service) accepts no responsibility as to the contents of this message: the opinions expressed therein are solely the writer's.
**********************************************




More information about the Thunar-workers mailing list