View previous topic :: View next topic |
Author |
Message |
Chris W l33t
Joined: 25 Jun 2002 Posts: 972 Location: Brisbane, Australia
|
Posted: Mon May 05, 2003 11:11 pm Post subject: KDE 3.1 and Xpdf Resources |
|
|
G'day All,
I've been using xpdf lately and notice that it spits an error message to the command line each time it is run: Code: | chrisw@chrisw chrisw $ xpdf octave.pdf
Warning: Color name "#f6f5f4 " is not defined |
The warning arises because because the value contains a lot of extraneous spaces, and works fine if they are removed. I looked at xrdb, which clearly shows it: Code: | chrisw@chrisw chrisw $ xrdb -q | grep xpdf | od -c
0000000 x p d f . b a c k g r o u n d :
0000020 \t # f 6 f 5 f 4
0000040
*
0000100 \n x p
0000120 d f . f o r e g r o u n d : \t #
0000140 0 0 0 0 0 0
0000160
*
0000220 \n x p d f
0000240 . u r l C o m m a n d : \t k f m
0000260 c l i e n t e x e c % s
0000300
*
0000340 \n
0000355 | It took a long time to find where these default resources were being set by KDE: Code: | chrisw@chrisw chrisw $ cat /usr/kde/3.1/share/apps/kdisplay/app-defaults/Xpdf.ad
xpdf.urlCommand: kfmclient exec %s
xpdf.foreground: FOREGROUND
xpdf.background: BACKGROUND |
but I cannot find where FOREGROUND and BACKGROUND are defined and substituted into the resources (so I can fix the source rather than simply override it in user .Xresources files).
Could some enlightened sole please point me in the correct direction? _________________ Cheers,
Chris W
"Common sense: The collection of prejudices acquired by age 18." -- Einstein |
|
Back to top |
|
|
Chris W l33t
Joined: 25 Jun 2002 Posts: 972 Location: Brisbane, Australia
|
Posted: Thu May 08, 2003 10:10 am Post subject: |
|
|
Found it. The extraneous spaces are actually part of the Xpdf.ad file itself. I just removed the trailing spaces. _________________ Cheers,
Chris W
"Common sense: The collection of prejudices acquired by age 18." -- Einstein |
|
Back to top |
|
|
|
|
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
|
|