You are not logged in.
So today I am slightly rewriting my .Xdefaults (actually outright copying MrElendig's...), and now my URxvt won't launch...
Here is what I get as an output:
[ ~ ] urxvt
urxvt: unable to load base fontset, please specify a valid one using -fn, aborting.
What's the error?
You can find my .Xdefaults here:
http://pastie.org/231515
Also, I have an issue with my URL handling from within URxvt:
I want to launch a URL clicking on it. But no matter what I specify for urxvt*matcher.Button, I can only use my middle mouse button (on a Thinkpad X60s.... could that be the problem?).
Last edited by Stalafin (2008-07-11 14:14:54)
Offline
Hmm. I guess the first silly thing to ask is, "Have you installed terminus?"
The relevant parts of my .Xdefaults are follows. You don't need the entire font line thingie.
urxvt*font: xft:Terminus
urxvt*boldFont: xft:Terminus
Terminus is terminus-font in community.
Cthulhu For President!
Offline
Haha, that's exactly what I was asked on IRC.
Of course I have installed Terminus - I have even reinstalled it just to make sure.
Anyway:
[ ~ ] pacman -Qs terminus
local/terminus-font 4.26-1
A superb, monospace bitmap font (for X11 and console)
I had installed it for a loooooong time, and right now Xmobar (for Xmonad) is using it.
What's actually the difference between the way you define the fonts and the way they are defined in my (/MrElendig's) config?
EDIT: Actually with xft:Terminus it works now... strange.
Last edited by Stalafin (2008-07-10 15:22:18)
Offline
Xft is for prettier, anti aliased / hinted fonts I think. But I find that using xft makes urxvt extremely sluggish when using large terminals.
Eg, I open a full screen URXVT (1920x1200), running 'time seq -s " " 1 100000' to print out heaps of text:
0m0.306s with '-*-terminus-*-*-*-*-12-*-*-*-*-*-*-*'
0m12.165s with 'xft:terminus:pixelsize=12'
Sure I'm not looking at full screen terminals of scrolling text all the time, but it is still noticeably slow even in small terminals.
I don't have url matching enabled now, but I did use Gigamo's config at one stage to try it, and the mouse behaved as expected. Not sure if there is anything in it that would make a difference: http://github.com/gigamo/config/tree/master/.Xdefaults
Offline
Well, this is strange. Am i doing something weird defining the font?
Why doesn't the following work? >
URxvt*font: -*-Terminus-*-*-*-*-12-*-*-*-*-*-*-*
No matter what I do, it doesnt work. I tried
URxvt*font: -*-Terminus-*-*-*-*-12-*-*-*-*-*-*-*
URxvt*font: -*-terminus-*-*-*-*-12-*-*-*-*-*-*-*
URxvt*font: -*-Terminus-*-*-*-*-12-*-*-*-*-*-*-u
URxvt*font: -*-terminus-*-*-*-*-12-*-*-*-*-*-*-u
Both capital and small, u at the end and without u.... I am getting the same error as posted above.
Actually the whole syntax looks a bit strange to me. Can you tell me where I can find some info about that stuff? I mean with the '-*-*-*-*-*-.
Offline
Xft is for prettier, anti aliased / hinted fonts I think. But I find that using xft makes urxvt extremely sluggish when using large terminals.
Eg, I open a full screen URXVT (1920x1200), running 'time seq -s " " 1 100000' to print out heaps of text:
0m0.306s with '-*-terminus-*-*-*-*-12-*-*-*-*-*-*-*'
0m12.165s with 'xft:terminus:pixelsize=12'Sure I'm not looking at full screen terminals of scrolling text all the time, but it is still noticeably slow even in small terminals.
I don't have url matching enabled now, but I did use Gigamo's config at one stage to try it, and the mouse behaved as expected. Not sure if there is anything in it that would make a difference: http://github.com/gigamo/config/tree/master/.Xdefaults
pseup: I get different results. urxvt -fn xft:terminus:pixelsize=12 gives me a time of 5.351s and urxvt -fn -*-terminus-*-*-*-*-12-*-*-*-*-*-*-* gives me a time of ranges from 4-9 seconds! This is in a half screen terminal with the other terminal running the urxvt -fn *** command.
Fullscreen terminal (1280x800) with fonts defined in Xdefaults give the same results you got. intresting.
Last edited by semperfiguy (2008-07-10 18:10:04)
Offline
try xfontsel
Offline
His problem is that he don't have /usr/share/fonts/local in his fontpath in xorg.conf, that's why the fontline hails
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
So, I added a font path with /usr/share/fonts/local to my xorg.xonf - what do I have to do now? I still cannot run urxvt with the above settings.
EDIT: I ran xfontsel. It detects terminus correctly, and I can configure a code like seen in the first post. However, I am not able to get URxvt running no matter what I do.
Last edited by Stalafin (2008-07-10 20:39:34)
Offline
So, I added a font path with /usr/share/fonts/local to my xorg.xonf - what do I have to do now? I still cannot run urxvt with the above settings.
EDIT: I ran xfontsel. It detects terminus correctly, and I can configure a code like seen in the first post. However, I am not able to get URxvt running no matter what I do.
Restart.
Offline
I restarted it several times; it didn't work out.
Now, I changed -*-terminus-*-*-*-*-12-*-*-*-*-*-*-u
into -*-terminus-*-*-*-*-12-*-*-*-*-*-*-* (notice the * instead of u), and finally my URxvt DOES indeed start.
But I wonder why the code terminating on u (it's is for unicode, isn't it?) isn't displayed properly (unable to load base fonset, etc.).
Any ideas?
EDIT: After rebuilding my locales even uft8 works.
Last edited by Stalafin (2008-07-11 14:16:16)
Offline