Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
how to change xterm look
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
oldefortran
l33t
l33t


Joined: 28 Feb 2004
Posts: 652

PostPosted: Sat Mar 13, 2004 12:16 pm    Post subject: how to change xterm look Reply with quote

How can I get xterm to have a black background and non-black text?
Colours are great when runnning emerge, but not readable on a white background.
Back to top
View user's profile Send private message
Topo
n00b
n00b


Joined: 06 Nov 2003
Posts: 20
Location: Salzburg

PostPosted: Sat Mar 13, 2004 12:21 pm    Post subject: Reply with quote

Have a look at the manpage!

As far as I can remember there is -bg for background color ...

salü
Back to top
View user's profile Send private message
oldefortran
l33t
l33t


Joined: 28 Feb 2004
Posts: 652

PostPosted: Sat Mar 13, 2004 12:23 pm    Post subject: Reply with quote

Topo wrote:
Have a look at the manpage!

As far as I can remember there is -bg for background color ...

salü

Yes, and how do I set it to be the default for all xterm? Should I use an alias?
Back to top
View user's profile Send private message
Topo
n00b
n00b


Joined: 06 Nov 2003
Posts: 20
Location: Salzburg

PostPosted: Sat Mar 13, 2004 12:41 pm    Post subject: Reply with quote

That could be one solution depending on your Window Manager!

I'm using Fluxbox and there I just had to add the options to the ~/.fluxbox/menu file! so all the xterm I open with the menu bar automatically have this layout!

Can't help you for other window manager,sorry! :(
Back to top
View user's profile Send private message
oldefortran
l33t
l33t


Joined: 28 Feb 2004
Posts: 652

PostPosted: Sat Mar 13, 2004 3:18 pm    Post subject: Reply with quote

Topo wrote:
That could be one solution depending on your Window Manager!

I'm using Fluxbox and there I just had to add the options to the ~/.fluxbox/menu file! so all the xterm I open with the menu bar automatically have this layout!

Can't help you for other window manager,sorry! :(

Isn't there a global "menu" file for all window managers? Do I have to keep the menus uptodate for each window manager, and each user has to do this by themself also?
Back to top
View user's profile Send private message
Painkiller
Apprentice
Apprentice


Joined: 09 Feb 2003
Posts: 167
Location: Valhalla

PostPosted: Sat Mar 13, 2004 3:21 pm    Post subject: Reply with quote

-ls -bg white -fg green

you can make a shorcut in this way

xterm -ls -bg white -fg green
_________________
"Whoever Fights Monsters Should See To It That In The Process He Does Not Become A Monster And When You Look Into The Abyss, The Abyss Also Look Into You".

Friedrich Wilhelm Nietzsche
Back to top
View user's profile Send private message
vvlly
n00b
n00b


Joined: 23 Sep 2002
Posts: 52

PostPosted: Sat Mar 13, 2004 4:39 pm    Post subject: Reply with quote

You can put settings in the .Xdefaults file in your home directory. I've actually got it stored in .Xresources and .Xdefaults is sym linked to it. Can't remember why now. Mine is below
Code:

XTerm*foreground:     grey90
XTerm*background:    black
XTerm*font:               9x15
XTerm*scrollBar:        false
XTerm*borderColor:    black


if you look at the man page for xterm (I use rxvt, but it uses xterm's settings) with some of the flags it mentions resources. This is how you use them. You might need have to have a line
Code:
xrdb ~/.Xresources
in your .xinitrc (if you use startx) or session file or something for your WM to have it run when you start X. You can also call that command to make settings apply to new terminal windows without restarting X. I think if you have a .Xdefaults you don't need this. I can't remember though.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum