Edit: Fixed locales, everything works now. Sorry for reviving an old thread.
]]>Edit: added screenshot explaining what I mean by the top row icon getting printed (note the icon is copied from the terminal into chromium address bar)
]]>xrdb -merge ~/.Xresources
xset +fp /usr/share/fonts/local
xset fp rehash
If you're installing the fonts manually, run :
#fc-cache -fs
#mkfontscale /usr/share/fonts/local
#mkfontdir /usr/share/fonts/local
Replace local with the actual location if it is different.
And try using the example I gave above in this thread for defining your fonts in config.h.
I'm also having trouble getting icons on the bar. I assume it has something to do with defining font in config.h.
Whenever I try to use newly installed font, it seems to default on some other font; symbols, size changes etc won't work.
Also, some (well, most actually) fonts I download won't get recognised by fontforge. For instance terminus2 from https://github.com/w0ng/dwm, sm4tik from https://github.com/sunaku/sm4tik-font. So far only stlarch.bdf has been recognised. But neither of those seem to work.
Any recommendation where to start?
]]>static const char font[] =
"-*-stlarch-medium-r-*-*-10-*-*-*-*-*-*-*"",""-*-ohsnap-medium-r-*-*-11-*-*-*-*-*-*-*";
and in my .xinitrc
while true; do
xsetroot -name " $(date +"%I:%M")"
sleep 30
done &
Did you run
fc-cache -f -v
?
yes
]]>fc-cache -f -v
?
]]>When I suggested (in other thread) to do the echo command from a terminal within dwm I wasn't very clear. You'd still need to pass that to xsetroot:
$ xsetroot -name "$(echo -e '\uE015')"
That will definitely change what is in the status area (for a second), but whether it shows what you want will help determine the next troubleshooting steps.
]]>