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: walt <wa1ter@xxxxxxxxxxxxx>
Date: Mon, 22 Aug 2005 09:26:31 -0700


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]