Changing xfterm color or running xterm

Jack Coates jack at monkeynoodle.org
Thu Jan 9 17:47:45 CET 2003


well, something is goofy. Perhaps you aren't actually using bash? Look
at the xfterm script and you can see how it looks at and uses the
$TERMCMD variable. Basically, if the variable isn't set it will be set
to xterm. The contents are then checked for bad interactions (gotta make
sure that the right options are used for different terminal types). The
command is then run.

Next steps, dump your environment. This would do:

#!/usr/bin/perl
        foreach my $key (keys(%ENV)) {
                print $key."\t".$ENV{$key}."\n";
	        }

Make sure that $TERMCMD is really what you want. Then, try temporarily
editing the xfterm script to simply print the value of $TERMCMD instead
of running it.
mv /path/to/xfterm /tmp/
vi /path/to/xfterm
	#!/bin/sh
	echo $TERMCMD
chmod a+x /path/to/xfterm
xfterm
mv /tmp/xfterm /path/to/xfterm

Jack

On Thu, 2003-01-09 at 08:15, Net Llama! wrote:
> Unfortunately, that makes no difference.
> 
> On Wed, 8 Jan 2003, Jack Coates wrote:
> 
> > try .bash_profile instead of .bashrc
> >
> > On Wed, 2003-01-08 at 14:50, Net Llama! wrote:
> > > On Tue, 7 Jan 2003, Jack Coates wrote:
> > > > On Tue, 2003-01-07 at 20:09, Brett I. Holcomb wrote:
> > > > > How do I change colors for just xfterm, or better yet replace it with xterm.  I can run xterm but I get the same colors as xfterm.  I want to customize the background and font colors just for xterm.  When running xterm under KDE I could set the background and fonts.
> > > > >
> > > > > Thanks.
> > > > >
> > > >
> > > > xfterm just runs xterm. edit your .bash_profile and set the environment
> > > > variable TERMCMD to whatever you want, e.g.:
> > > > export TERMCMD='aterm +sb -fg grey -tr --shading 50'
> > >
> > > I just tried this, and it failed to work.  I still get the same old
> > > default x(f)term.
> > >
> > > I added
> > > export TERMCMD='aterm -fg white -trsb -cr red -pr white -tr -tint blue
> > > -fade 25 -sl 700 -bg black'
> > >
> > > to my .bashrc , and sourced it, and even logged out a& back into XFCE, and
> > > still no change.
> 
> -- 
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Lonni J Friedman				netllama at linux-sxs.org
> Linux Step-by-step & TyGeMo		     http://netllama.ipfox.com
> _______________________________________________
> Xfce mailing list
> Xfce at moongroup.com
> http://moongroup.com/mailman/listinfo/xfce
-- 
Jack Coates
Monkeynoodle: A Scientific Venture...




More information about the Xfce mailing list