Author Topic: Customizing Fonts in LXDE  (Read 262 times)

Offline horusfalcon

  • Hero Member
  • *****
  • Posts: 997
  • Wayfarer of The Western Wastes
Customizing Fonts in LXDE
« on: January 02, 2013, 02:09:22 AM »
Hi, Gang,

I did a complete backup and reinstall today on my Dell D620 to correct a kludge partition scheme I had used to keep going for a while (very messy, inefficient, etc. - let's not talk about it lest someone else get the idea...)

Anyhoo, reinstalled from a 2012.08 KDE (Standard) DVD, and then loaded LXDE as a second DE. Loaded up all my backed up data to /home/[myuser], got mail and bookmarks, and all my video projects in place and working.

As usual at this point, it's time to start customizing LXDE.  I remembered having some, erm, fun getting all the fonts set the way I wanted, but I didn't remember how much fun.  This time I took some notes.  Here's what I got:

Setting up LXDE Fonts:

After using the PCLinuxOS Control Center to install any new fonts you may wish to use in the normal fashion, do the following to set up the fonts LXDE will use:

1.)  Set what you can from the LXDE Control Center:

   1.1]  Select (click on) Configure Openbox. (This opens the obconf tool...)
   1.2]  At left, click on the Appearance Tab.
   1.3]  In bottom half of window, adjust as needed:

      1.31) Active window title
      1.32) Inactive window title
      1.33) Menu header
      1.34) Menu Item
      1.35) Active On-screen display
      1.36) Inactive On-screen display
      
      After all adjustments are made, click Close button at bottom.

   1.4]  Click on GTK & Icon Theme

      1.41)  At bottom of Customize Look and Feel dialog, set Default Font.
             (This will set font for all taskbar buttons, and the digital clock, among other things.)
      
      After any adjustments are made, click Close button at bottom.

2.)  Setting Font for .desktop items (Icons/Shortcuts):

   2.1]  Open PCManFM in your ~/ folder (your "home").
   2.2]  Click View in the menu, and then click the checkbox for Show Hidden.
   2.3]  Scroll as needed to find and click on the .config folder
   2.4]  From the .config folder, open the folder pcmanfm, then the folder LXDE
   2.5]  From within the LXDE folder open the file pcmanfm.conf in a text editor (e.g., LeafPad)
   2.6]  Edit the pcmanfm.conf file's desktop_font entry as needed.
   2.7]  Save the file and exit the editor.
   2.8]  Restart/Logout to see the changes take effect.

3.)  Setting Font for the Digital Clock:

   3.1] The Digital Clock honors the GTK font setting selected by (1.41), above,
             with regard to font and style (bold, italic, etc.).
   3.2] To set the color of the font for the digital clock, right-click the panel and click on Panel Settings.
      
      3.21) Click on the Appearance tab, and look at the bottom of the dialog.
            From here, adjustments may be made to both size and color of the font.
          
Well, that's it.  I'm hoping this info may help someone else.  No real problems now except for the disappearing/reappearing PC menu as described in this post.

Like this person, I can simply cancel out of the Run dialog and my menu returns.  (I do appreciate the update-menus tip, though...)  I consider this a minor thing, really.  Perhaps this will be addressed by the LXDE devs in their next version, but it's not a show-stopper.

If I have any errors in my notes, please advise so I may correct them!

Happy trails, and Happy New Year, everyone!

Later On,
D

EDITS:  used square brackets to eliminate unintended smilies.  
           Rewrote some clunky prose relating to the menu thing in third-from-last paragraph.
           Added a short preamble referring to PCLinuxOS Control Center for installing new fonts. (It's better to do that first.)
           Added the words "in LXDE" to Subject Line.
« Last Edit: January 15, 2013, 03:11:07 PM by horusfalcon »
"The Way is not a matter of knowing or not knowing.  One word to a wise man; one lash to a bright horse."

Dell Latitude D620, PCLinuxOS 2012.08 KDE4/LXDE, 3.2.18.pclos.bfs, specs here.