DragonFly BSD
DragonFly users List (threaded) for 2005-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Starting a program from a command line versus clicking an icon.


From: Michael Schuh <michael.schuh@xxxxxxxxx>
Date: Tue, 23 Aug 2005 11:53:25 +0200

Hello again,

another possibility are you commented out the inner
quotes....but i believe not really that this works:

"xterm -ls +sb -bg \`rlc\`"

i think that the best and fastes way is my first
suggestion.

best regards

michael

2005/8/22, walt <wa1ter@xxxxxxxxxxxxx>:
> 
> 
> On Mon, 22 Aug 2005, Eduardo Tongson wrote:
> 
> > On 8/22/05, walt <wa1ter@xxxxxxxxxxxxx> wrote:
> 
> > > xterm -bg `rlc` (gives a random-light-colored background)
> > >
> > > This works great when I type the command from an xterm
> > > window -- but it fails when I click on a gnome or xfce
> > > icon containing the same command.
> 
> > what happens when you quote it
> > "xterm -bg `rlc`"
> 
> Really strange behavior -- the xfce gui complains that the
> second " can't be found.  No idea why.  I also tried several
> combinations of single quotes and backslashes and nothing
> worked.
> 
> In any case I followed Michael's suggestion and wrote a
> shellscript which works the way I wanted.  (I notice that
> xfce's version of xterm is actually a shellscript which
> invokes xterm, and now I know why :o)
> 
>




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