freenode/#stumpwm - IRC Chatlog
Search
15:46:15
mbuf
Can anyone tell me: 1. How to identify the font that is being used by Stumpwm (built from Git sources)? 2. How to change this font http://shakthimaan.com/downloads/tmp/stumpwm-menu-bar-ugly-font.png? 3. Many StumpWM configuration files suggest using (load-module "ttf-fonts"), but, I do not have it. I have the following fonts installed https://pastebin.com/WUm9qWZs. Any suggestions?
16:00:17
plathrop
mbuf: I had a lot off trouble with this, hold on I'll prepare you a gist with the relevant parts of my config
16:11:09
mbuf
plathrop, where are your fonts located? I have DejaVuSansMono.ttf in /usr/share/fonts/TTF, and how do I use it? :family "DejaVu Sans Mono" :subfamily "Regular" says Font is not found: DejaVu Sans Mono Regular
16:16:58
mbuf
plathrop, (clx-truetype:get-font-subfamilies "DejaVu Sans Mono") returns "Book" for the subfamily. But, when I use it in ~/.stumpwmrc I get "Error: There is no applicable method for the generic function #<STANDARD-GENERIC-FUNCTION STUMPWM::FONT-EXISTS-P (1)> when called with arguments (#<'CLX-TRUETYPE:FONT :FAMILY "DejaVu Sans Mono" :SUBFAMILY "Book" :UNDERLINE NIL :STRIKETHROUGH NIL :OVER"
16:25:51
mbuf
plathrop, I did "make install-modules" from the stumpwm sources, and it installed them in ~/.stumpwm.d/modules
16:26:25
mbuf
plathrop, with your configuration, .stumpwmrc loads, but, now I get "Font is not found: Monoid Retina"
16:36:27
mbuf
plathrop, I followed the "make install-modules" as mentioned in https://github.com/stumpwm/stumpwm/issues/350
16:51:32
mbuf
plathrop, I just used (set-font "fixed"), and this font is readable; I can live this for now
17:20:15
plathrop
The "util/ttf-fonts" is just the stumpwm module. You shouldn't need to set the location of your fonts, clx-truetype does the "right thing" by default usually
17:21:12
plathrop
I'm glad you found something that worked. I struggled figuring out what exactly set-font was expecting, too
17:29:07
plathrop
I'm using emacs to connect to a slynk server I run from my stumpwm process... it's a little complex