Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
xorg 6.8.1.902 undefined color "black"?
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
bassvandijk
Guru
Guru


Joined: 13 Sep 2002
Posts: 306
Location: Haps, Netherlands

PostPosted: Mon Jan 17, 2005 4:54 pm    Post subject: xorg 6.8.1.902 undefined color "black"? Reply with quote

After emerging xorg-x11-6.8.1.902 some applications give warnings and errors like:
Code:
$ emacs
Undefined color: "black"

$ xterm
Warning: Color name "black" is not defined

$ xfontsel
Warning: Color name "black" is not defined
What does this mean and how can I fix it?

EDIT: filed bug report.
Back to top
View user's profile Send private message
StinkingMonkey
Apprentice
Apprentice


Joined: 24 May 2003
Posts: 183
Location: UK

PostPosted: Mon Jan 17, 2005 6:05 pm    Post subject: Reply with quote

check this line of xorg.conf

RgbPath "/usr/X11R6/lib64/X11/rgb"

make sure its pointing to the rgb.txt file , dont add .txt to the line, im using amd64 so yours may differ. there is a post somewhere on the forums with the same problem.
_________________
Intel Q6600, Asus P5N32-E SLI, Audigy2 ZS, Gainward 7950
Back to top
View user's profile Send private message
pilla
Bodhisattva
Bodhisattva


Joined: 07 Aug 2002
Posts: 7729
Location: Underworld

PostPosted: Mon Jan 17, 2005 6:22 pm    Post subject: Reply with quote

I think that most things at /usr/X11R6/lib went to /usr/lib

Check it out.
_________________
"I'm just very selective about the reality I choose to accept." -- Calvin
Back to top
View user's profile Send private message
bassvandijk
Guru
Guru


Joined: 13 Sep 2002
Posts: 306
Location: Haps, Netherlands

PostPosted: Mon Jan 17, 2005 7:00 pm    Post subject: Reply with quote

Thanks guys, it works now.
Back to top
View user's profile Send private message
rayservers
n00b
n00b


Joined: 17 Jun 2004
Posts: 5

PostPosted: Mon May 29, 2006 1:47 pm    Post subject: Reply with quote

https://bugs.gentoo.org/show_bug.cgi?id=78385

I'm using tightvnc and it looks like the location of rgb.txt is important

I found http://www.ubuntuforums.org/showthread.php?t=90751&page=2

and added the symlinks one by one until it got fixed -

Code:

cd /usr/X11R6/lib/X11
ln -s /usr/X11R6/share/X11/rgb.txt


fixed it for me on amd64 xorg-x11-7.0-r1 accessed via tightvnc

Now emacs starts fine and does not complain about black...
_________________
http://rayservers.com/
Back to top
View user's profile Send private message
tobim
n00b
n00b


Joined: 01 May 2006
Posts: 47
Location: Bloomington, IN

PostPosted: Tue Jul 04, 2006 10:25 pm    Post subject: Reply with quote

After upgrading to version 7.0 of X11, my rgb.txt seems to be located in /usr/share/X11.

At least for me, that's the only rgb.txt locate could find and it fixes Emacs' complaints.

Just FYI.
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