You are not logged in.

#1 2009-08-24 02:45:54

playdafunkimuzic
Member
Registered: 2008-10-25
Posts: 220

[SOLVED] How to make xterm black background by default

Hi,

I'm an openbox user and use xterm as my default terminal. How can I make it black background instead of the default white? Thanks!

Last edited by playdafunkimuzic (2009-08-24 12:24:30)

Offline

#2 2009-08-24 02:47:56

Pox
Member
From: Melbourne, AU
Registered: 2007-10-04
Posts: 66

Re: [SOLVED] How to make xterm black background by default

Add to ~/.Xdefaults:

xterm*background: black
xterm*foreground: white

You might need to create the file if it doesn't already exist.

Offline

#3 2009-08-24 03:19:35

perbh
Member
From: Republic of Texas
Registered: 2005-03-04
Posts: 765

Re: [SOLVED] How to make xterm black background by default

- or:
alias xterm='xterm -bg black -fg white'

Offline

#4 2009-08-24 12:24:19

playdafunkimuzic
Member
Registered: 2008-10-25
Posts: 220

Re: [SOLVED] How to make xterm black background by default

Thanks!

Offline

Board footer

Powered by FluxBB