View Single Post
  #2   (View Single Post)  
Old 2nd July 2008
Oko's Avatar
Oko Oko is offline
Rc.conf Instructor
 
Join Date: May 2008
Location: Kosovo, Serbia
Posts: 1,102
Default

Quote:
Originally Posted by m4rc View Post
Hello!

I'm using 4.3 with FVWM on a Thinkpad with 1024x768 res. While xterm and FVWM menus look fine other applications like ooffice, thunderbird, firefox seem to have slightly oversized fonts, menus and pop-up dialog boxes. They look like 800x600 rather then 1024x768. Icons in these apps look ok.

What can I do to adjust the size of these fonts/menus? Thanks for the help!
The resolution is controlled by xorg.conf file in particular

Code:
Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultDepth 24
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes "1400x1050" "1024x768"
        EndSubSection
ThinkPada are definitely capable of better resolution. Mine A20p is on
"1400x1050" so that is why I listed among Modes 1400x1050 as my first choice. When I give talks I need to use LCD projectors which are usually incapable of anything better than 1024x768 that is why I list that among modes as well. You can change the resolution dynamically without restarting X server. Read the man pages for
Code:
xrandr
That would make things appear even smaller on the screen.
The font size on X server is controlled by

Code:
Section "Files"
        RgbPath      "/usr/X11R6/share/X11/rgb"
        ModulePath   "/usr/X11R6/lib/modules"
        FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
        FontPath     "/usr/X11R6/lib/X11/fonts/TTF/"
        FontPath     "/usr/X11R6/lib/X11/fonts/OTF"
        FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
        FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
        FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
Make sure FontPath 100dpi is listed before the size 75dpi.

Now to make fonts bigger in the various applications is the different matter.
To make fonts bigger in Xterm you should edit your .Xdefaults file.
The window manager itself can control some of the font size.
My Window manager of choice is OpenBox. If you have ObConf installed it will allow you to change the font size using GUI. You can always play with conf files but in the case of the OpenBox the only one that should be edited by hand are menu.xml and if you want to customize key bindings rc.xml.
They should be edited per user in the directory .config/openbox.
I do not use FVWM so I am not familiar with its configuration files. That is probably best documented Window Manager so you have to read the documentation.

Finally in the applications like Firefox you can adjust the preferences.
It will allow you to change the font size too.
Reply With Quote