You are not logged in.

#1 2009-11-03 00:17:51

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

terminals each have slightly different colors [Solved]

11967327792009110212572073141280x1024scrot.png

How can I get Terminal, Terminator, or Tilda to use xterm's colors?

If I know the hex value I can at least get into Terminator.

Last edited by anonymous_user (2009-11-04 05:50:31)

Offline

#2 2009-11-03 15:25:55

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

Re: terminals each have slightly different colors [Solved]

Many X-applications (eg. xterm/mterm) honor the X-toolkit option '-fg' and '-bg'.
eg. xterm -bg green -fg white

Offline

#3 2009-11-03 15:37:36

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: terminals each have slightly different colors [Solved]

All four terminals I posted already have white text on black background. I want to change the other colors.

Offline

#4 2009-11-03 19:07:15

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

Re: terminals each have slightly different colors [Solved]

nah - that's the job of the windows manager - I dont believe you can change it on a case-by-case basis ... but I may be wrong

Offline

#5 2009-11-03 19:10:41

ataraxia
Member
From: Pittsburgh
Registered: 2007-05-06
Posts: 1,553

Re: terminals each have slightly different colors [Solved]

Many terminal apps use X resources to set the colors. They will have names like "color0" through "color9". I don't use any of those particular terminals, though.

Offline

#6 2009-11-04 05:16:13

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: terminals each have slightly different colors [Solved]

anonymous_user wrote:

http://www.zwixy.com/images/11967327792 … 4scrot.png

How can I get Terminal, Terminator, or Tilda to use xterm's colors?

I think for Tilda and Terminal (gnome-terminal, right?) you can right-click. For gnome-terminal edit the current profile or make a new one.

If I know the hex value I can at least get into Terminator.

From a program I once had:

(defvar xterm-standard-16color-alist
  '(("black"       0     0     0     0)
    ("red3"        1 52685     0     0)
    ("green3"      2     0 52685     0)
    ("yellow3"     3 52685 52685     0)
    ("dodgerblue1" 4  7710 37008 65535)
    ("magenta3"    5 52685     0 52685)
    ("cyan3"       6     0 52685 52685)
    ("gray90"      7 58853 58853 58853)
    ("gray50"      8 32639 32639 32639)
    ("red"         9 65535     0     0)
    ("green"      10     0 65535     0)
    ("yellow"     11 65535 65535     0)
    ("steelblue1" 12 25443 47288 65535)
    ("magenta"    13 65535     0 65535)
    ("cyan"       14     0 65535 65535)
    ("white"      15 65535 65535 65535))

I used the following hex approximations for my own eterm settings:

    ("black"       0     0     0     0)
    ("red3"        1    cd     0     0)
    ("green3"      2     0    cd     0)
    ("yellow3"     3    cd    cd     0)
    ("dodgerblue1" 4    1e    90    ff)
    ("magenta3"    5    cd     0    cd)
    ("cyan3"       6     0    cd    cd)
    ("gray90"      7    e5    e5    e5)
    ("gray50"      8    7f    7f    7f)
    ("red"         9    ff     0     0)
    ("green"      10     0    ff     0)
    ("yellow"     11    ff    ff     0)
    ("steelblue1" 12    63    b8    ff)
    ("magenta"    13    ff     0    ff)
    ("cyan"       14     0    ff    ff)
    ("white"      15    ff    ff    ff)

I hope my notes are not wrong. It's been a while since I've looked at this. *scratches head*


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#7 2009-11-04 05:37:02

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: terminals each have slightly different colors [Solved]

Except for the two blues and grays, the rest seem to match.

Edit: Ok I finally managed to convert the colors for Terminator:

palette=#000000000000:#CDCB00000000:#0000CDCB0000:#CDCBCDCB0000:#00000000FFFF:#CDCB0000CDCB:#0000CDCBCDCB:#E5E2E5E2E5E2:#7F7F7F7F7F7F:#FFFF00000000:#0000FFFF0000:#FFFFFFFF0000:#5C5C5C5CFFFF:#FFFF0000FFFF:#0000FFFFFFFF:#FFFFFFFFFFFF

Last edited by anonymous_user (2009-11-04 05:52:15)

Offline

Board footer

Powered by FluxBB