LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 10-25-2016, 11:10 AM   #1
cors
LQ Newbie
 
Registered: Oct 2016
Location: Oslo, NO
Distribution: fedora
Posts: 5

Rep: Reputation: Disabled
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?

Here's a link of my screenshot:

http://oi65.tinypic.com/24l9a95.jpg
 
Old 10-26-2016, 04:15 PM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
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...

Last edited by ondoho; 10-28-2016 at 11:20 AM.
 
Old 10-28-2016, 11:47 AM   #3
cors
LQ Newbie
 
Registered: Oct 2016
Location: Oslo, NO
Distribution: fedora
Posts: 5

Original Poster
Rep: Reputation: Disabled
All monospace fonts have been somehow erased, installing a monospace font package solved the issue. Thanks.
 
Old 10-28-2016, 12:20 PM   #4
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
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).
 
Old 10-28-2016, 12:44 PM   #5
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by Shadow_7 View Post
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.
 
Old 10-28-2016, 02:46 PM   #6
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
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.
 
Old 10-30-2016, 08:52 AM   #7
cors
LQ Newbie
 
Registered: Oct 2016
Location: Oslo, NO
Distribution: fedora
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ondoho View Post
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
 
Old 10-31-2016, 02:17 AM   #8
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by cors View Post
i typed into xorg.conf some erroneous syntax
which you still haven't showed us...
i suspect that's where the problem really was.
 
Old 10-31-2016, 02:25 PM   #9
cors
LQ Newbie
 
Registered: Oct 2016
Location: Oslo, NO
Distribution: fedora
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ondoho View Post
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Can't Patch DWM / Need Additional Characters/Language Support 桃甘蕉 Linux - Software 2 09-02-2015 10:40 PM
[SOLVED] Using Artwiz lime in the DWM bar jiecenzhao Linux - Newbie 4 12-06-2011 03:03 AM
Conky 1.7.2 + WMII 3.9.2 status bar not displaying network activity properly Ian John Locke II Linux - Desktop 0 11-18-2010 11:53 AM
Konsole, bell and font in status bar rhoekstra Fedora 1 02-20-2005 12:03 PM
what is that weird status bar on desktops? SuSE_Surfer Linux - General 1 10-17-2003 05:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 06:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration