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

getting random background colors in ssh xterm through gnome shortcuts



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?

thanks,
->HS






Reply to: