*- On 4 Jan, Brian Fuller wrote about "Re: Changing font size for xterm" > Thanks for the tips. I tried them out and they worked as expected. The > next step is to be able to change the default fonts. Would that be don > in a .conf file? > >
Xterm uses the 'fixed' font as the default. The only other way to make a default is with your X Resources. If you want to change it for everybody on your system edit /etc/X11/Xresources/xterm and add a line of the form XTerm*font: <fontname> If you want to change it just for you then add the above line to the file ~/.Xresources. The same can be done for emacs or any other application. For global changes if there is no file in /etc/X11/Xresource for your app just create a file(I think its name does not matter) and place in it any Xresource that you want(see the man page for the app). For local changes just add them to your ~/.Xresources. Some application have a file in /usr/lib/X11/app-defaults/ that lists some of their default Xresources, or read the man page. You can copy bits and pieces out of there into the appropriate file from above and add the class of the application to the beginning of the line(XTerm for xterms, Emacs for emacs, again see the man pages). Brian Servis -- ------------------------------------------------------------------------ Mechanical Engineering | Never criticize anybody until you Purdue University | have walked a mile in their shoes, [EMAIL PROTECTED] | because by that time you will be a http://www.ecn.purdue.edu/~servis | mile away and have their shoes.