Dwm displaying weird font characters in status bar and some website content
Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
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.
Dwm displaying weird font characters in status bar and some website content
Hello,
I'm using Arch Linux with dwm desktop. I was trying to do make some changes in my ~/.xinitrc, and now my dwm status bar displays weird characters. I reverted all the changes i made in /etc/X11/xconfig.d and ~/.xinitrc, but the problem persists. The characters get also displayed on some web forms too (which makes it very difficult for me to post even this). Do you have any idea what may cause this?
which font is dwm set to use?
looks like your standard monospace font got replaced with a symbol font.
installed any symbol fonts lately? try uninstalling them.
edit:
it would also be good to know which changes you did & undid both in ~/.xinitrc and /etc/X11...
Arch lacks the msttcorefonts by default. And adding them isn't an intuitive thing after knowing that such a thing exists. Basically I had the same result as you until I added that font set. Although I'm sure other font sets exist, and ofc not installed by default. And defaults to wingdings/webdings when not available for some odd reason. One of many reasons I'll probably end up back on debian (again).
Arch lacks the msttcorefonts by default. And adding them isn't an intuitive thing after knowing that such a thing exists. Basically I had the same result as you until I added that font set. Although I'm sure other font sets exist, and ofc not installed by default. And defaults to wingdings/webdings when not available for some odd reason. One of many reasons I'll probably end up back on debian (again).
ok, i have to say this in defence of archlinux:
dwm does not have a usual config file, but has to be compiled with a config.h to change its settings.
in other words, you're supposed to look at it before you compile/install it, and re-compile everytime you want to change something.
fricking leet.
otoh, i simply installed dwm the first time, and it displayed everything ok.
i do not have microsoft fonts installed.
I have made it 40+ days on this arch install. I use cwm which you have to install via sources and is similar to dwm. The last time I tried arch I only lasted about six hours. About two hours to get to a state that I could game. Less than two hours to crash X while gaming. And when I accomplished that a second time, I went back to debian. Stable to about 9 days this time around. Not really an issue I've ever had to deal with in debian.
ok, i have to say this in defence of archlinux:
otoh, i simply installed dwm the first time, and it displayed everything ok.
i do not have microsoft fonts installed.
I also had no problem the first time, i typed into xorg.conf some erroneous syntax and monospace fonts magically disappeared. Now it's fixed with a single pacman -S, and I'm prefectly happy with my dwm & arch
which you still haven't showed us...
i suspect that's where the problem really was.
i honestly don't remember what exactly it was, i cleared it already and fixed the issue by reinstalling monospace fonts. but i can recall that i mistakingly wrote
Code:
Section "InputDevice"
...
EndSection
syntax into xinitrc, or some other rc file, everything got messed up after that.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.