You are not logged in.
Hi,
I installed the Inconsolata font from the AUR because I kept hearing a lot of good things about it. I installed it, it shows up in fc-list, shows up in Firefox, etc. But I cannot get it working for urxvt or gvim. I had the following line in my .Xresources file (and many other derivatives of it):
urxvt.font: xft:inconsolata:pixelsize=11However, it always seemed to default back to Bitstream Vera Sans Mono.
Similarly, I cannot get it to work in gvim (set guifont=Inconsolata does nothing).
For the record, I am using Openbox WM on Arch x86_64
I'd appreciate any insight into this matter.
Kyle
Last edited by kyletreubig (2010-03-25 02:14:57)
Offline
Why did you install from AUR? Inconsolata is in [community] (ttf-inconsolata).
If you haven't restarted X or done an $(xrdb ...):
$ xrdb ~/.Xdefaultsor ~/.Xresources in your case.
Also,
# fc-cacheif you haven't already.
Last edited by Peasantoid (2010-03-24 23:55:58)
Offline
I have:
urxvt*font: xft:Inconsolata:size=10:antialias=true:hinting=true
which works with 'rxvt-unicode-cvs 20100321-1' from the AUR.
Quite honestly, I forget why I went with that version of urxvt; I do know it solved some minor irritation for me.
Last edited by thisoldman (2010-03-25 00:56:39)
Offline
I installed the version from AUR because someone linked to it in a post. It never occured to me that the post was quite old and to check the regular repositories (d'oh).
It's working now with the version from community.
Now to figure out why the font is different for folders with "ls --color=auto"...
Thanks for the help!
Offline
Now to figure out why the font is different for folders with "ls --color=auto"...
What do you mean 'different'?
In general, if you have a second, related problem, you should expound upon it as you would the first.
Offline
kyletreubig wrote:Now to figure out why the font is different for folders with "ls --color=auto"...
What do you mean 'different'?
In general, if you have a second, related problem, you should expound upon it as you would the first.
Right after I posted that, I did some research and I believe the problem is that urxvt is trying to display folders with a bold font-weight, and there is no bold Inconsolata style. When I run "ls --color=auto", file names are displayed in the Inconsolata font as expected. Folder names are displayed in a larger sans serif font of some sort.
I got it straightened out (actually, while I was working on this post). I thought I had set urxvt.boldFont before, but I must have had something wrong. I had to make sure that I had this line:
urxvt.boldFont: xft:inconsolata:pixelsize=13Everything is good now. ![]()
Offline
Really? I don't need that for some reason. Bold displays fine here without that line.
Post your ~/.Xdefaults (or ~/.Xresources)?
Offline
It works for me without that line as well. The line was in my .Xresources as a remnant from when I was previously using Bitstream Vera Sans Mono, and I thought I had changed it to use Inconsolata. My guess is I had something misspelled and it reverted to some default.
Offline