View Full Version : FVWM/X11 Resolution Issue?
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!
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
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 xrandr That would make things appear even smaller on the screen.
The font size on X server is controlled by
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.
My "Screen" and "Files" sections of <b>xorg.conf</b> look pretty much the same. Also <b>xrandr</b> is indicating the right resolution (1024x768). Adjusting the font size in the prefs of Firefox only affected the content and not the layout of the application. I doubt that I find the solution in the prefs of the apps, since the issue is not app specific.
While I was writting this reply I did a quick look in the FVWM config and I think I've found the sucker: WindowFont -adobe-times-bold-r-*-*-14-...
Man, man fvwm is a good place for my further research :-)
Thanks Oko!
BSDfan666
07-03-2008, 12:47 AM
My "Screen" and "Files" sections of <b>xorg.conf</b> look pretty much the same. Also <b>xrandr</b> is indicating the right resolution (1024x768). Adjusting the font size in the prefs of Firefox only affected the content and not the layout of the application. I doubt that I find the solution in the prefs of the apps, since the issue is not app specific.
While I was writting this reply I did a quick look in the FVWM config and I think I've found the sucker: WindowFont -adobe-times-bold-r-*-*-14-...
Man, man fvwm is a good place for my further research :-)
Thanks Oko!HTML isn't supported. Use bbcode (http://en.wikipedia.org/wiki/Bbcode) next time.
TerryP
07-03-2008, 12:55 AM
FVWM, the one window manager where R'ing TFM may be the answer to all funkiness lol
lvlamb
07-03-2008, 08:49 AM
HTML isn't supported. Use bbcode (http://en.wikipedia.org/wiki/Bbcode) next time.
What is wrong with http://www.daemonforums.org/misc.php?do=bbcode ?
... and I think I've found the sucker: WindowFont -adobe-times-bold-r-*-*-14-...
I was wrong...
WindowFont [ fontname ]
Makes fvwm use font fontname instead of "fixed" for
window title-bars. To reset this font to the
default font (see DefaultFont) you may omit font-
name.
My new guess is that it has something to do with GTK+. Help is appreciated, otherwise stay tuned ;-)
ocicat
07-03-2008, 03:19 PM
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.
While I suspect you are using 4.3-release, note that you can expect more font changes in 4.4:
http://marc.info/?t=121369470200001&r=1&w=2&n=8
Here we go:
Create ~/.gtkrc-2.0 containing a string like gtk-font-name = “Sans 8"
Thanks to Dimitri Alenitchev (http://alenitchev.wordpress.com/2006/10/03/)
vBulletin® v3.7.2, Copyright ©2000-2009, Jelsoft Enterprises Ltd.