OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Angstrom & OpenZaurus => Topic started by: Leira on March 17, 2006, 02:12:50 pm

Title: Urxvt: Can't Get Colour...
Post by: Leira on March 17, 2006, 02:12:50 pm
i am using a seld compiled oz/GPE 3.5.4. when i invoke rxvt from rxvt from shell, it printes lots of
Code: [Select]
...
urxvt: can't get colour ''#103040", continuing without.
...

i just want to custom urxvt colors by editing .Xdefaults, added 2 lines:
Code: [Select]
URxvt.foreground: #e0eee0
URxvt.background: #103040
and after xrdb merge, rxvt is still black on white. acording to the error messages above, it seems rxvt cannot get color from X, what's the problem? is it a problem of rxvt, or kdrive xserver?
Title: Urxvt: Can't Get Colour...
Post by: Leira on June 14, 2006, 03:52:44 am
everyone here's rxvt All OK?  all can change color by .Xdefaults?
Title: Urxvt: Can't Get Colour...
Post by: 0xDEADBEEF on July 13, 2006, 06:52:14 pm
nope, it doesnt work for me either. i think rgb database (rgb.txt) is missing
Title: Urxvt: Can't Get Colour...
Post by: law on July 14, 2006, 02:08:10 am
Quote
nope, it doesnt work for me either. i think rgb database (rgb.txt) is missing
[div align=\"right\"][a href=\"index.php?act=findpost&pid=135074\"][{POST_SNAPBACK}][/a][/div]


where should this file (database) be?
Title: Urxvt: Can't Get Colour...
Post by: Leira on July 14, 2006, 11:49:35 am
Quote
nope, it doesnt work for me either. i think rgb database (rgb.txt) is missing
[div align=\"right\"][a href=\"index.php?act=findpost&pid=135074\"][{POST_SNAPBACK}][/a][/div]

seems not: i copied /etc/X11/rgb.txt from my kubuntu to my zaurus, and restarted xserver, still got the problem. and the error lines are like:

Code: [Select]
urxvt: can't get colour ''#103040", continuing without.
it cannot get an raw rgb color, not a color with a name (blue or something), maybe the kdrive X server just lack this feature?
Title: Urxvt: Can't Get Colour...
Post by: 0xDEADBEEF on July 14, 2006, 07:57:10 pm
rgb.txt goes to /usr/lib/X11
you have to create the directory
it is hardcoded in kdrive, you can find the string in Xfbdev "/usr/lib/X11/rgb" to which .txt is appended

funny thing, rxvt couldnt find #XXXXXX colors but when i specified black, green, yellow etc etc it read them just fine from rgb.txt and i have colors working. maybe it is not a problem with X but with rxvt?