LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General > LinuxQuestions.org Member Success Stories
User Name
Password
LinuxQuestions.org Member Success Stories Just spent four hours configuring your favorite program? Just figured out a Linux problem that has been stumping you for months?
Post your Linux Success Stories here.

Notices


Reply
  Search this Thread
Old 03-25-2003, 05:39 PM   #1
rmartine
Member
 
Registered: Dec 2002
Location: San Luis Obispo, CA
Distribution: Fedora Core 3
Posts: 618

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

/usr/X11R6/lib/X11/fonts/artwiz-fonts:unscaled

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

<dir>/usr/X11R6/lib/X11/fonts/artwiz-fonts</dir>

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.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Fluxbox for Red Hat 8 theguitarsquall Red Hat 5 10-06-2004 05:31 PM
Can you use fluxbox on red hat 9? randon Red Hat 3 10-30-2003 10:41 PM
fluxbox on red hat 8.0 Valek Linux - Software 1 01-14-2003 10:35 PM
can't get fluxbox to start on Red Hat 8.0 h2gofast Linux - Newbie 7 01-01-2003 11:27 PM
!fonts in red hat 8.0! ody1 Linux - Software 8 12-23-2002 04:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General > LinuxQuestions.org Member Success Stories

All times are GMT -5. The time now is 11:02 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