getting random background colors in ssh xterm through gnome shortcus

  • Thread starter Thread starter H. S.
  • Start date Start date
H

H. S.

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
 
H. S. said:
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
Oops, you posted in the wrong group. Try in a Linux group for Debian or
Gnome. I don't have an answer for you because I use KDE.

Malke
 
Malke said:
Oops, you posted in the wrong group. Try in a Linux group for Debian or
Gnome. I don't have an answer for you because I use KDE.

Malke


My bad! Feeling quite embarrassed. Apologies. The message was actually
meant for a different newsgroups of course, but I totally forgot this
was the one I was reading when I started composing the message.

->HS
 
H. S. said:
My bad! Feeling quite embarrassed. Apologies. The message was actually
meant for a different newsgroups of course, but I totally forgot this
was the one I was reading when I started composing the message.

->HS
No problem.

Malke
 
Back
Top