You are not logged in.

#1 2008-12-13 13:48:43

whordijk
Member
From: the Netherlands
Registered: 2008-12-12
Posts: 147
Website

[SOLVED] xterm colors differ from any other TTY

Hello,

I have a bit of a problem concerning the colors in xterm. To illustrate the difference between the colors in any other TTY (Gnome terminal in this case) and the colors in xterm, let me show you an alsa restart:
*snip*
You might say that I have been tinkering with the color palette of xterm, but I haven't. I've tried to restore the colors to default but it doesn't seem to help, which is pretty logical since they should be set to default.

Is this a known issue? What can be done about it?

Thanks in advance!


SOLUTION:

Instead of starting xterm with "xterm -rv", I use "xterm -bg black -fg white". The -rv option somehow messes things up for bold text, and the -bg/fg options seem to do the trick.

Last edited by whordijk (2010-06-19 09:17:16)

Offline

#2 2008-12-13 17:35:00

SamC
Member
From: Calgary
Registered: 2008-05-13
Posts: 611
Website

Re: [SOLVED] xterm colors differ from any other TTY

Looks like something to do with bold text. Could you post your .Xdefaults?

Offline

#3 2008-12-13 17:42:41

whordijk
Member
From: the Netherlands
Registered: 2008-12-12
Posts: 147
Website

Re: [SOLVED] xterm colors differ from any other TTY

SamC wrote:

Looks like something to do with bold text. Could you post your .Xdefaults?

I would, but I'm affraid both my useraccount and the root account don't have a .Xdefaults file. I thought it was only used if you'd wish to change the default X settings, so I figured: no .Xdefaults = default X settings.


EDIT:

I found out it has got something to do with the swapping of colors: I use "xterm -rv" to get a white-on-black terminal, look at what I get when I start a non-video-reversed xterm:
lol.png


EDIT:

Fixed!
fixed.png

Last edited by whordijk (2008-12-13 18:28:30)

Offline

#4 2008-12-13 19:35:45

SamC
Member
From: Calgary
Registered: 2008-05-13
Posts: 611
Website

Re: [SOLVED] xterm colors differ from any other TTY

How did you fix it?

Offline

#5 2008-12-13 19:43:38

whordijk
Member
From: the Netherlands
Registered: 2008-12-12
Posts: 147
Website

Re: [SOLVED] xterm colors differ from any other TTY

SamC wrote:

How did you fix it?

I stated it in the opening post smile

Instead of starting xterm with "xterm -rv", I use "xterm -bg black -fg white". The -rv option somehow messes things up for bold text, and the -bg/fg options seem to do the trick.

Offline

#6 2008-12-13 19:46:11

SamC
Member
From: Calgary
Registered: 2008-05-13
Posts: 611
Website

Re: [SOLVED] xterm colors differ from any other TTY

Oh, I didn't notice

Offline

#7 2008-12-13 19:48:13

whordijk
Member
From: the Netherlands
Registered: 2008-12-12
Posts: 147
Website

Re: [SOLVED] xterm colors differ from any other TTY

SamC wrote:

Oh, I didn't notice

I can imagine, but I thought it would be nice for people who'd find this thread to compare their problem to mine and immediately finding the solution, instead of scrolling through the whole thread in order to find it smile

Offline

Board footer

Powered by FluxBB