On Mon, 2005-11-28 at 22:11 -0500, H.S. wrote: > Hi, > > At school I have my .fvmrc2 file in which I have these kind of lines: > exec xterm -sl 2048 -ls -bg \#`printf '%02x%02x%02x' $((RANDOM% > 31+224)) $((RANDOM%31+224)) $((RANDOM%31+224))` -e ssh remote.host.com > > to get an xterm windows at remote.host.com. The random light colored > background is obtained with \#`printf '%02x%02x%02x' $((RANDOM% > 31+224)) $((RANDOM%31+224)) $((RANDOM%31+224))` > > I was wondering, how do I get the same thing in gnome at my home machine > running Debian Testing (2.6.12 kernel). I tried to make a custom > application launcher on the panel but the command to get random > background doesn't work. Any ideas what I should do instead? >
I presume RANDOM is not a set var for Gnome. Thus you may need to set up a script to generate random numbers and then call xterm -bg appropriately. This script can then be launched from the panel. Michael -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]