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

Eduardo Tongson propolice at gmail.com
Mon Aug 22 08:08:28 PDT 2005


On 8/22/05, walt <wa1ter at xxxxxxxxxxxxx> wrote:
> I've written a little C program named rlc which generates
> random color strings like 'rgb:a5/b3/f1' which I can use
> like this to start xterm:
> 
> 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.
> 
> Any idea why those two methods of starting a program
> don't produce the same result?
> 
> Thanks.

what happens when you quote it
"xterm -bg `rlc`"

--ed






More information about the Users mailing list