Artiwiz fonts for Fluxbox and Red Hat 8.0
After messing around with this for several days/weeks, I finally figured out how to get the Artwiz fonts to work with Red Hat 8.0.
This micro-HOWTO is for a system wide install.
1) tar -xzvf artwiz.tar.gz to /usr/X11R6/lib/X11/fonts
2) cd artwiz-fluxbox-fonts and run mkfontscale and mkfontdir. This will create the fonts.dir and fonts.scale.
Here is were I deviated form the posted HOWTO on fluxbox's web page.
3) Rather than run chkfontpath -a /path_to_artwiz/ I hand edited the /etc/fs/config file. I added this line underneath the other unscaled font listings.
I don't know if the :unscaled is really necessary but fluxbox's example had it so I followed the example.
Now this is the old way fonts were installed. Red Hat 8.0 uses somthing called fontconfig 2.x to install fonts system-wide. What I did was hand edit the /etc/fonts/fonts.conf file. I added this line
I'm pretty sure editing one of the above files was unnecessary but I couldn't figure out which, so I did them both anyways.
4) Two environment variables need to be set.
I'm sure this is bad practice, but I put them in /usr/share/apps/switchdesk/Xclients.fluxbox right before the exec /usr/local/bin/fluxbox line.
Here is what I added. export LC=C, export LC_ALL=C
Note /Xclients.fluxbox assumes you're using kdm. If you're using gdm, then you would add those lines to /etc/X11/gdm/Sessions/where ever your fluxbox start script is.
I'm sure you could export these in .bash_profile or .bashrc, but I have it working this way and I'm going to leave it alone.
I hope this will help someone because I could have used this a lot.
|All times are GMT -5. The time now is 10:30 PM.|