You are not logged in.
Pages: 1
I figure it has to be something in my .Xdefaults, but I can't find it. I've copied people's .Xdefaults where I know they can display complex colors, but it still doesn't work with mine.
What I mean by "complex colors" is Urxvt displays this - \[\033[0;38;5;33m\], which is supposed to be a bluish color, as purple. It works in gnome-terminal, so I know the color is right.
So, does anyone know what might be wrong? Here's my .Xdefualts:
URxvt*geometry: 85x30
!urxvt*background: #000000 !rgba:0000/0000/0000/ffff
Urxvt*background: #000000
URxvt*foreground: #aaaaaa
URxvt*inheritPixmap: true
URxvt*reverseVideo: false
URxvt*tintColor: #dfdfdf
URxvt*shading: 30
URxvt*fading: 50 !term unfocus
URxvt*font: xft:snap:size=10
URxvt*scrollBar: false
URxvt*transparent: true
URxvt*borderLess: true
!urxvt.depth: 32
urxvt*internalBorder: 4
urxvt.secondaryScroll: false
!Xft.dpi:96
!Xft.hinting:true
!Xft.hintstyle:hintslight
Last edited by Yes (2008-04-17 19:38:49)
Offline
It seems to me that the problem is not with urxvt but with your TERM environment variable. I have "TERM=rxvt-unicode" "COLORTERM=rxvt", and colors work fine (also your code above).
EDIT: If this turns out to be the problem, you can have urxvt to set the TERM variable automatically by having
URxvt.termName: rxvt-unicode
in .Xdefaults.
Last edited by bender02 (2008-04-17 00:59:22)
Offline
So you have
URxvt.termName: rxvt-unicode
TERM=rxvt-unicode
COLORTERM=rxvt
in your .Xdefaults, in addition to the other stuff? That didn't work, and neither did just what you had in the codebox.
Thanks.
Offline
No, sorry, that's not what I meant. TERM and COLORTERM are environment variables - you can see their values by executing 'env' in the command line. I was curious what values you have set for that. They don't belong to .Xdefaults.
That codebox above was just a way to have urxvt automatically set the TERM variable when you run it - in case your problem would be really caused by wrong TERM value.
Offline
Ah, ok. Well just putting URxvt.termName: rxvt-unicode in my .Xdefaults didn't work. Also, running 'env' does show that TERM=rxvt-unicode and COLORTERM=rxvt.
Thanks.
Offline
Just a sidenote. Afaik urxvt only supports 88 colours.
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
there is a urxvt-256 color package in the aur that may be what you are looking for.
archlinux - please read this and this — twice — then ask questions.
--
http://rsontech.net | http://github.com/rson
Offline
Well, I use the standard rxvt-unicode, and his code above (\[\033[0;38;5;33m\]) changes the color (e.g. "echo '\033[0;38;5;33m colored'" prints "colored" colored
Offline
What color is it, though? It displays color, just not the right color.
I've installed the urxvt-256 color package, but how do I run it?
Offline
I can confirm that the code above works properly with the 256-color patched rxvt-unicode. The color is identical to the one I get from gnome-terminal, a medium blue.
Offline
Ah, ok. I uninstalled urxvt and then installed the urxvt-256 color package and it's working great now. Thanks!
Offline
I'm sorry for the confusion, I misunderstood your first post. I thought that it shows that it prints the code which you wrote above instead of the color.
Offline
Pages: 1