You are not logged in.

#1 2012-12-06 01:00:12

eruditorum
Member
Registered: 2012-11-12
Posts: 130

[SOLVED] How to make URxvt look like default XTerm?

I don't want to install terminus-font or something else. Just want to make XTerm and URxvt look equal.
I prefer URxvt over XTerm for its performance, but default URxvt looks ugly comparing to default XTerm: for example default bitmap font (fixed) is broken whereas it looks beatiful on XTerm.
Also colors in URxvt do not match to those in console and XTerm (which seem to be the same) - highlighted directories, executables, prompt, etc which seem to be darker.

How do I fix it?
Help is appreciated, as always.
Thanks.

Last edited by eruditorum (2012-12-07 09:35:23)

Offline

#2 2012-12-06 01:36:24

bohoomil
Member
Registered: 2010-09-04
Posts: 2,376
Website

Re: [SOLVED] How to make URxvt look like default XTerm?


:: Registered Linux User No. 223384

:: github
:: infinality-bundle+fonts: good looking fonts made easy

Offline

#3 2012-12-06 20:04:33

eruditorum
Member
Registered: 2012-11-12
Posts: 130

Re: [SOLVED] How to make URxvt look like default XTerm?

Already have seen wiki page before posting.
First I try version from official repositorium, then fxed one from AUR.
Both seem to be broken in fonts.
I can't manage to get URxvt look equal to XTerm in default setup.
Font declaration did something however:

urxvt -fn '-*-fixed-*-*-*-*-13-*-*-*-*-*-iso10646-1'

seem to give same font as in default XTerm, but it is bold everywhere.
Doing

urxvt -fn '-*-fixed-medium-r-*-*-13-*-*-*-*-*-iso10646-1'

gives just ugly and broken font look.

Offline

#4 2012-12-07 03:52:11

thisoldman
Member
From: Pittsburgh
Registered: 2009-04-25
Posts: 1,172

Re: [SOLVED] How to make URxvt look like default XTerm?

I believe the default xterm fonts are listed in /usr/share/X11/app-defaults/XTerm.  I may be wrong but I think you want to specify the urxvt font as:

-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1

This will be incorrect if you do not have the xorg-fonts-75dpi package installed.  If you don't have that package installed, I'm not sure what font is used in its place by either emulator.

WIthout specifying the terminal colors in my ~/.Xdefaults or ~/.Xresources file, I also found the two terminals' colors do not appear the same.  I have configured the colors so they are identical in both apps.  This excerpt from my .Xdefaults uses the asterisk, *, as a wild card so the colors I have chosen apply to both terminals.

! Colors
*foreground:    rgb:b2/b2/b2
*background:    rgb:08/08/08

! 0 black, 1 red,  2 green,  3 yellow,  4 blue,  5 magenta,  6 cyan,  7 white
! 8 black, 9 red, 10 green, 11 yellow, 12 blue, 13 magenta, 14 cyan, 15 white
*color0:    rgb:28/28/28
*color1:    rgb:ba/44/44
*color2:    rgb:50/94/43
*color3:    rgb:cd/a8/38
*color4:    rgb:52/76/a8
*color5:    rgb:c0/52/88
*color6:    rgb:44/ba/ae
*color7:    rgb:b2/b2/b2

*color8:    rgb:58/58/58
*color9:    rgb:ff/9d/80
*color10:   rgb:84/bd/79
*color11:   rgb:ff/e6/98
*color12:   rgb:82/a4/d3
*color13:   rgb:c6/84/a5
*color14:   rgb:a7/d8/d4
*color15:   rgb:e4/e4/e4

Offline

Board footer

Powered by FluxBB