LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Huge X Fonts (https://www.linuxquestions.org/questions/debian-26/huge-x-fonts-240111/)

six6 10-08-2004 02:08 AM

Huge X Fonts
 
So, I can adjust gnome's font sizes easily, but my X Server's font sizes are huge. At least, that's what I think is the case. I'm using gnome @ 1024x768.

Here are some examples:

here
and here

Notice in the second shot I can't even click the "OK" to accept Adobe's EULA because the window stretched too far! Even if I maximize the window I can't see the button.

I changed vim /etc/X11/xinit/xserverrc to say
Code:

#!/bin/sh
exec /usr/bin/X11/X -dpi 75 -nolisten tcp

and restarted X, but it didn't help. Any ideas?

Dead Parrot 10-08-2004 04:46 PM

Quote:

I can't even click the "OK" to accept Adobe's EULA because the window stretched too far!
You can move an oversized window around the screen by pressing Alt and dragging the window with mouse.

Some X applications show smaller fonts if you change the line for 75dpi fonts to become before the line for 100dpi fonts in /etc/X11/XF86Config-4. Also, some apps may have config files in your home directory, where you can specify the font size they use.

The font size specification in /etc/X11/xinit/xserverrc only takes effect if you login from the CLI and use "startx" command to start X. The trouble is that different login methods read different resource files. If you use a GUI login manager, check its config files. You can also try creating .Xresources file into your home directory and make the first line like this:
Code:

Xft.dpi: 75
But there's no guarantee that the login method you happen to use reads this file.


All times are GMT -5. The time now is 01:08 PM.