Author Topic: Urxvt: Can't Get Colour...  (Read 6603 times)

Leira

  • Newbie
  • *
  • Posts: 8
    • View Profile
Urxvt: Can't Get Colour...
« 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?
« Last Edit: March 17, 2006, 02:13:20 pm by Leira »

Leira

  • Newbie
  • *
  • Posts: 8
    • View Profile
Urxvt: Can't Get Colour...
« Reply #1 on: June 14, 2006, 03:52:44 am »
everyone here's rxvt All OK?  all can change color by .Xdefaults?

0xDEADBEEF

  • Jr. Member
  • **
  • Posts: 52
    • View Profile
Urxvt: Can't Get Colour...
« Reply #2 on: July 13, 2006, 06:52:14 pm »
nope, it doesnt work for me either. i think rgb database (rgb.txt) is missing

law

  • Newbie
  • *
  • Posts: 21
    • View Profile
Urxvt: Can't Get Colour...
« Reply #3 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?

Leira

  • Newbie
  • *
  • Posts: 8
    • View Profile
Urxvt: Can't Get Colour...
« Reply #4 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?

0xDEADBEEF

  • Jr. Member
  • **
  • Posts: 52
    • View Profile
Urxvt: Can't Get Colour...
« Reply #5 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?