------------------------------------------------------------------------------- | I saw your post on X resources and I was wondering if you could help me | with this problem I'm having. | | I'd like to change the resolution of my X display server on my Macintosh | (Exodus) from 72 DPI to 95 DPI, so I won't have huge fonts and windows. 95 | DPI is the standard on my SGI display so I'd like to be consistent. | Nothing can be changed on Exodus when running in rootless mode to affect | the resolution. | | I'm sure this can be done with xrdb or putting a new resource in | .Xdefaults I'm just not sure how to do it. There are x_resolution & | y_resolution properties I think, but I haven't been able to get them to | work (properties of what I'm not sure either). I figure if I can get the | right resources in my .Xdefaults file, I'll get the correct resolution no | matter what I connect with. | | thanks for any info you can pass along! | | - pete First of all the 'supposed' resoution of a display is set by the X server being run. You can see that this is with the command "xdpyinfo" look under Screen information. This is setting can not be changed while the Xserver is running. UNIX Xservers have an command line option to change these values but I do not think such an option is available under macintosh. If font sizes are the problem and not the resolution (most common complaint) have a look at your font path. (look with xset -q, last item returned) Many people prefer either 75dpi fonts or 100dpi fonts, but not the other. They get use to that specific font resolution. Place the resolution you want first in the font path, usually just after the `misc' fonts. Of the fonts of a specific application is the problem, common resources are often listed in the manual page for that appliaction. Otherwise have a look in that applications `Application Resource' file which on most machines is located in the directory "/usr/lib/X11/app-defaults/". For macintoshes I recommend setting most fonts to one of the mac specific fonts by loading a resources file specifically for macs when you are using a macintosh. I'll include the local version below. These mac fonts are drawn fast by the mac servers, are smaller, and neater than the X fonts which assumes you have a more modern higher resoulsion than the macintoshes use. For More Information on fonts look at my font hints in https://antofthy.gitlab.io/info/X/Fonts.txt Macintosh Users on startup run the following script initial to start the remote X application all in one go, as well as modify the server settings as desired. This script is copied to their home directory as ".xsession.macx" =======8<-------- #!/bin/sh - # MacX initialization script # # NOTE: This script and related files ("*.macx") rely on MacX # being setup on the macintosh to run this on startup # # ---- initial setup ---- cd # go home! umask 077 # set default umask TWM='/usr/X11R6/lib/X11/twm' . $TWM/Environment # Initialize Default Environment Variables # PATH="$PATH:$HOME/bin" # Add your path additions here xrdb -merge $TWM/Xresources # Global resources for applications xrdb -merge $TWM/Xresources.macx # change some of the globals [ -r .Xresources.macx ] && xrdb -merge .Xresources.macx # user resources # ---- Client Startup ---- case "$DISPLAY" in *:0.[13]) # Only run these two applications on a Root window if [ -r .twmrc.macx ]; then twm -s -f .twmrc.macx & # use users .twmrc.macx else twm -s -f $TWM/system.twmrc.macx & # force a standard macx twmrc fi xmeter -update 5 -g 70x150-0-0 -sn kurango gucis medusa.itc & ;; esac # Run these on both windows xmail -iconic & xterm -iconic -name xterm-$HOST -T $HOST -n $HOST -ls & # --------- Exit Code -------- # Mac X requires no code as it handles that # ---------------------------- =======8<-------- Here is the Mac resources file ".Xresources.macx" =======8<-------- ! for programs running under max X ! ! -------------------------------------- ! bitmap file path -- where to find bitmaps *BitmapFilePath: /usr/lib/X11/twm/bitmaps:/usr/include/X11/bitmaps ! The following mac fonts must be present in MacX !#define FONT Monaco-9 !#define BFONT Monaco-9b !#define PROP Geneva-9 !#define BPROP Geneva-9b #define FONT 6x10 #define BFONT 6x10 ! ! resize the scrollbars (7 is a minimum, 15 is normal) *Scrollbar.thickness: 7 ! ! Set the Athena Widgets Default Font (sets the font on almost everything) XtDefaultFont: BFONT ! ! --------------------------------------- ! Resources for Various types of X clients ! XTerm.geometry: 80x27+0+19 XTerm.iconic: True XTerm.scrollBar: True XTerm*font: FONT XTerm*boldFont: BFONT ! Xedit*Geometry: 419x296 Xedit*editWindow.wrap: word ! XMeter*font: BFONT ! XPostit*Text*font: FONT XPostit.bufSize: 10240 ! ! xmail has some very weird initilization and hint settings ! especially concerning icons ! XMail*editorCommand: xedit -n "MailEd" -d %s %s XMail.geometry: +0+0 XMail.iconGeometry: -3+3 XMail*Font: FONT XMail*buttonFont: 5x8 XMail*indexWindow.preferredPaneSize: 30 !XMail*textWindow.preferredPaneSize: 120 !XMail.icon*geometry: 32x32 !XMail.icon*noMailFlag: mailempty.xbm !XMail.icon*mailFlag: mailfull.xbm XMailEd*editWindow.autoFill: True XMailEd*editWindow.wrap: word =======8<-------- I hope all this helps. -------------------------------------------------------------------------------