Re: Why does this work in terminal only !?
- From: BlackTopBum <going.vert@xxxxxxxx>
- Date: Wed, 11 Oct 2006 07:50:44 -0600
Sebastian Volke was all like, you know, and then said something like a ...
The string $@ is empty. No command line
argument gets passed to the script.
You can pass the file, you clicked on to trigger the action, using the
%f syntax.
So the "command field" runs: /path/to/your/script.sh %f.
That's the thing I had wrong - put the qualifier "%f" at the start of the
string and didn't use a full path - your example does the trick ! Thank
you !! I spent many hours getting it wrong.
That is also described in the dialogue itself and you can read through
http://thunar.xfce.org/pwiki/documentation/custom_actions.
Found a site with the instructions which mentioned the pictures along with
the code in use, but I didn't locate the one you linked - went in a
bookmark. Pictures are good <g>.
Nice job - thanks again.
--
BlackTopBum
Second childhood !?
I'm not done with the first !
.
- References:
- Why does this work in terminal only !?
- From: BlackTopBum
- Re: Why does this work in terminal only !?
- From: Sebastian Volke
- Why does this work in terminal only !?
- Prev by Date: Re: Why does this work in terminal only !?
- Next by Date: Re: delete google searches
- Previous by thread: Re: Why does this work in terminal only !?
- Next by thread: wifi : which of 3 cards for success?
- Index(es):
Relevant Pages
|