Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.5: Change the default X server DPI setting' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.5: Change the default X server DPI setting
Authored by: steeb on Jun 25, '08 07:05:06AM
Just in case anyone is wanting to make this setting permanent with Tiger's X11, do the following. open a terminal and type
cd /Applications/Utilities/
cp X11.app X11_orig.app
cd X11.app/Contents/MacOS
mv X11 X11.real
open the nano text editor and create a new file called X11, like so
nano -w X11
cut and paste the following into nano
#!/bin/bash
/Applications/Utilities/X11.app/Contents/MacOS/X11.real $@
Save the file by pressing ctrl+x then y Now type
chmod +x X11
The next time you start X11 it should have a more reasonably sized fonts.

[ Reply to This | # ]
10.5: Change the default X server DPI setting
Authored by: Anonymous on Jun 25, '08 09:33:02AM
Erm, you're just calling the real X11 script with your own, without doing anything else. You forgot the most significant part.

I think you meant to put a -dpi 75 before the $@; so:

#!/bin/bash
/Applications/Utilities/X11.app/Contents/MacOS/X11.real  -dpi 75  $@


[ Reply to This | # ]
10.5: Change the default X server DPI setting
Authored by: steeb on Jun 25, '08 03:32:52PM

D'oh! You're completely right, except that you wouldn't want to use -dpi 75 or you'd get the traditional teeny sized fonts - Something a little more in line with the actual DPI of modern monitors around 90 to 100 is better, especially when running X clients remotely which I do quite often.

Personally, I take the easy way out and use the Windows default of 96 dpi because it seems to produce reasonably sized fonts and is in the range that X11 detects for the monitor on my desktop system.

Good spotting on your part, bad hinting on mine...



[ Reply to This | # ]