This is a discussion on X window Font changes size. A solution. within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> This is something that had baffled me for a long time and didn't find it under "fonts keep changing" ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| This is something that had baffled me for a long time and didn't find it under "fonts keep changing" searches. Problem: The fonts in X windows are smaller or larger than you left them when you last shut down the X server or your computer. This does not happen all the time. A reboot or restart of the X server fixes the problem untill some future reboot or X server restart. Cause: The dot-per-inch setting used by the X server is different. Why? Dunno, perhaps there is something timing out, and the server uses safe defaults? Solution: Indirectly specify the dpi values in your XF86Config (or xorg.conf file). First, make a copy of your existing xorg.conf file, in case of "accidental" errors. To get the dpi value for a display you like: Get your system into run level 3 (as root, type in "init 3" in a console) execute the following command: startx -- --dpi 120 This starts X Windows with a dpi value of 120. You don't need 120 dpi fonts to specify "--dpi 120". A 100dpi font will appear smaller in this case. 75 dpi fonts will appear _really_ tiny.There are 75 dpi and 100dpi fonts already with XFree86/X.org ( replace the 120 with 100 or 75 above) The effect of using a lower dpi screen with a given font is that fonts look bigger. By changing the dpi value, find one that looks fine to you. As an example, I'm taking my currently "fixed" display. Open a xterm (or a console/terminal in gnome or kde or whatever), and type xdpyinfo There will be something like this among all that output: dimensions: 1280x1024 pixels (325x260 millimeters) resolution: 100x100 dots per inch See the "325x260" above? If not, do xdpyinfo | grep "dimensions" dimensions: 1280x1024 pixels (325x260 millimeters) In /etc/X11/, you'll find your config file for the X server : xorg.conf Open it up and add a line to your corresponsing Monitor section like this: DisplaySize 325 260 save, close, and start your X server ( or switch back to your GUI run level) If the X server fails to start, you probably put the DisplaySize entry in the wrong place. Now would be a good time to restore the backup of xorg.conf you made before editting it. You _did_ make a backup right?? hth -joseph -----= Posted via Newsfeeds.Com, Uncensored Usenet News =----- http://www.newsfeeds.com - The #1 Newsgroup Service in the World! -----== Over 100,000 Newsgroups - 19 Different Servers! =----- |