Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi everybody ,
I have a problem with fonts in urxvt terminal , for example if i'm try to use zsh with agnoster themes doesn't appear a > at the end but a sort of little rectangle like in the pictures here : https://pasteboard.co/Hi7JWXg.png and also gtop have the same problem https://pasteboard.co/Hi7KQ3z.png I don't know where is the problem . could somebody help me please?
maybe check to make sure your fonts you're trying to use is actually installed, and check your Locale, what else screws up fonts? Because all of them little rectangles are fonts not being recognized. So it is in something to do with your fonts, you're going to have to fiddle with your XResources file until you find the fonts that work.
I'm totally confused as to what BW-userx thinks needs to be done with Xresources. If he could give more specific advice on how to change it than than "fiddle with it", that would probably be helpful.
In the meantime, though, I'd just install a Nerd Font and set urxvt to use it. To do that you'd probably change the following (after installing the font):
I'm totally confused as to what BW-userx thinks needs to be done with Xresources. If he could give more specific advice on how to change it than than "fiddle with it", that would probably be helpful.
In the meantime, though, I'd just install a Nerd Font and set urxvt to use it. To do that you'd probably change the following (after installing the font):
Code:
URxvt.font: xft:Hack:size=11
to something like:
Code:
URxvt.font: xft:Hack Nerd Font Mono:size=11
That should work.
fiddle: fiddle with it, keep changing the settings until it works.
Try different fonts and thier size settings until one works. Have you not ever fiddled with something until you get it to work before? though it is American slang. so sorry if you're not understating US slang.
A Brief History of Fiddling and Diddling
TBH, urxvt isn't my favorite terminal. Its font support has always been particularly bad (notice how its kerning is different from other terminals). May I suggest trying something else?
I tried your config with a powerline patched Hack font in urxvt and it works correctly.
If the font works for you in another terminal, that at least means that it's loaded into your fc-cache, which you could verify with fc-list.
Did you remember to run `xrdb -merge ~/.Xresources` ?
Make sure $LANG ends in UTF-8
Code:
echo $LANG
Make sure you're starting a new urxvt to test out and not just another client connected to the same urxvtd.
Good luck!
yes i've run
Code:
xrdb -merge ~/.Xresources
but still I have a problem .. another thing if I use ubuntu mono fonts the rectangular wrong fonts disappear
but not on the start up oh i3 ... I mean that in my i3/config I have put :
Code:
exec urxvt -e 'gtop'
in this first istance also with the ubuntu mono characters the fonts appears rectangular.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.