[arch-general] urxvt colours and Xresources
Hello folks I have been facing this issue from a long time. The issue is that sometimes the bold colours aren't loaded by urxvt. I mainly use the terminals inside screen, and then the colours are loaded properly (not always though). But when launching the terminal standalone, the colours aren't loaded properly. Here's the screenshot with normal colours: http://ompldr.org/vYm9ucA And when the problem occurs http://ompldr.org/vYm9ubw I have also attached my .Xresources and .xinitrc with the message. Please if someone has a clue, then enlighten me. Thanks -- O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
On Sun, Dec 11, 2011 at 08:44:14AM +0530, gt wrote:
I have been facing this issue from a long time. The issue is that sometimes the bold colours aren't loaded by urxvt.
I mainly use the terminals inside screen, and then the colours are loaded properly (not always though). But when launching the terminal standalone, the colours aren't loaded properly.
urxvt.termName: rxvt-256color
Have you tried to not to change the default termName? I use urxvt and the bold fonts work for me (outside screen) with the default one, `rxvt-unicode-256color'. If I try yours, `rxvt-256color', it happens the same to me, no bold fonts. Regards -- Ricardo (http://r.untroubled.be/)
On Sun, Dec 11, 2011 at 03:40:09PM +0100, Ricardo Catalinas Jiménez wrote:
On Sun, Dec 11, 2011 at 08:44:14AM +0530, gt wrote:
I have been facing this issue from a long time. The issue is that sometimes the bold colours aren't loaded by urxvt.
I mainly use the terminals inside screen, and then the colours are loaded properly (not always though). But when launching the terminal standalone, the colours aren't loaded properly.
urxvt.termName: rxvt-256color
Have you tried to not to change the default termName?
I use urxvt and the bold fonts work for me (outside screen) with the default one, `rxvt-unicode-256color'.
If I try yours, `rxvt-256color', it happens the same to me, no bold fonts.
If i change the termName to rxvt-unicode-256color, it still doesn't work. Moreover, screen then refuses to launch with the message $TERM too long - sorry. This was the reason i switched to rxvt-256color termName in the first place. -- O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
Have you tried updating your machine? "$TERM too long - sorry" is a quite old bug, which has already been fixed for several months.
On Sun, Dec 11, 2011 at 10:20:08AM -0500, nico wrote:
Have you tried updating your machine? "$TERM too long - sorry" is a quite old bug, which has already been fixed for several months.
Hmm.. I was using screen-vs from aur. Just switched to screen from extra and this bug is gone. But, setting termName to rxvt-unicode-256color in .Xresources still doesn't have any effect on non-screen terminals, i.e., no bold colours still. But, i also notice a strange behaviour. I suspect this might have something to do with just vim. I just tried these colour scheme scripts and they do show bold colours. https://wiki.archlinux.org/index.php/Xdefaults#Color_scheme_scripts Also, other applications such as cmus, mutt are also showing bold colours in non screen terminals. Only vim seems to be having this problem. I am out of all ideas.. -- O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
On Sun, Dec 11, 2011 at 10:54:22PM +0530, gt wrote:
But, setting termName to rxvt-unicode-256color in .Xresources still doesn't have any effect on non-screen terminals, i.e., no bold colours still.
With urxvt, I don't specify the termName, it sets its default to `rxvt-unicode-256color'. So, just to be sure, if you don't set manually the termName, does improve the situation? Regards -- Ricardo (http://r.untroubled.be/)
On Sun, Dec 11, 2011 at 06:30:52PM +0100, Ricardo Catalinas Jiménez wrote:
On Sun, Dec 11, 2011 at 10:54:22PM +0530, gt wrote:
But, setting termName to rxvt-unicode-256color in .Xresources still doesn't have any effect on non-screen terminals, i.e., no bold colours still.
With urxvt, I don't specify the termName, it sets its default to `rxvt-unicode-256color'. So, just to be sure, if you don't set manually the termName, does improve the situation?
No, removing termName from .Xresources doesn't change the scenario at all. Also, as you might have read in a previous mail of mine, i suspect that this is mainly affecting vim, other terminals apps are able to display bold colours in non-screen terminals. But, why only vim is displaying this behaviour is beyond me. If it's of any use, i am attaching my vimrc. -- O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
On Mon, 12 Dec 2011 07:21:55 +0530, gt <codered12@gmail.com> wrote:
But, why only vim is displaying this behaviour is beyond me. If it's of any use, i am attaching my vimrc.
Did you try a different (256-color) vim color scheme? cheers, Koen
On Mon, Dec 12, 2011 at 09:48:23PM +0100, Koen Wilde wrote:
On Mon, 12 Dec 2011 07:21:55 +0530, gt <codered12@gmail.com> wrote:
But, why only vim is displaying this behaviour is beyond me. If it's of any use, i am attaching my vimrc.
Did you try a different (256-color) vim color scheme?
I tried a 256 colour scheme (inkpot) as you said, but it too didn't make any difference. -- O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
participants (4)
-
gt
-
Koen Wilde
-
nico
-
Ricardo Catalinas Jiménez