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: Mon, 22 Aug 2005 17:05:19 +0200


my first shot (not really tested, but my goldfinger say's :-D)
the backquotes around rlc......

because, if you use an xterm to open the command, you have
an interactive shell.
in Gnome/KDE you have anything other then a shell

to workaraund you can try little shell-script.

xterm -ls +sb -bg `rlc` $@

my 20ct



2005/8/22, walt <wa1ter@xxxxxxxxxxxxx>:
> 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.

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