Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Error running app-text/ding: Unknown color name "white"
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
jgreen
n00b
n00b


Joined: 22 Mar 2004
Posts: 21
Location: Grass Valley, CA

PostPosted: Sat Jul 28, 2007 7:17 pm    Post subject: Error running app-text/ding: Unknown color name "white& Reply with quote

I've been a happy user of the app-text/ding German/English dictionary for some time. Somewhat recently I updated some packages though and now ding no longer runs, with the error:

Error in startup script: unknown color name "white"
(processing "-background" option)
invoked from within
"frame .search -background white"
(file "/usr/bin/ding" line 1692)

I tried modifying the offending line in /usr/bin/ding, but then it goes on to complain about additional colors. Doing a search I came across other posts related to color issues, where /usr/share/X11/rgb.txt needed to be symlinked to other paths.
ln -s /usr/share/X11/rgb.txt /usr/lib/X11/
ln -s /usr/share/X11/rgb.txt /usr/X11R6/lib
ln -s /usr/share/X11/rgb.txt /etc/X11/
ln -s /usr/share/X11/rgb.txt /usr/lib/

Also found a mention of deleting the ~/.dingrc which I did. The problem persists though. I imagine its some sort of tk issue, but I'm at a loss of how to fix it, and I really want ding back :cry: Any ideas?

Additional details:
dev-lang/tk-8.4.14
app-text/ding-1.5
Back to top
View user's profile Send private message
polle
Veteran
Veteran


Joined: 28 Feb 2003
Posts: 1498
Location: Belgium

PostPosted: Sat Jul 28, 2007 8:24 pm    Post subject: Reply with quote

maybe you could look in your xorg.conf if this is present:

Section "Files"
RgbPath "/etc/X11/rgb"
Back to top
View user's profile Send private message
jgreen
n00b
n00b


Joined: 22 Mar 2004
Posts: 21
Location: Grass Valley, CA

PostPosted: Tue Jul 31, 2007 8:19 am    Post subject: Reply with quote

Thanks for the reply! I was just about to write that I had that line in my xorg.conf and it still didn't work, but then realized that by adding the correct symlinks it may now work (since I hadn't logged out of X before when I was testing it). Sure enough, it worked! Thanks for the input, it did turn out to be related to that, and now I know there should be such a line in the xorg.conf. Although I've been working with Linux for over 10 years, I still doubt I would miss the X windows config file if it died, or at least had front ends that worked and were dynamic without having to restart things. Fortunately more things are going that direction.
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