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

Michael Schuh michael.schuh at gmail.com
Tue Aug 23 02:54:16 PDT 2005


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 at xxxxxxxxxxxxx>:
> 
> 
> On Mon, 22 Aug 2005, Eduardo Tongson wrote:
> 
> > On 8/22/05, walt <wa1ter at 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)
> 
>






More information about the Users mailing list