maybe look at the xrdb program. it allows you to define ressources for each application.
Here is an example:
In my .xsession (or any script launched at the session startup):
Code:
xrdb -merge .Xdefaults
In my .Xdefaults:
Code:
! this is a comment
!! emacs
emacs.ReverseVideo: on
emacs.font: 7x13bold
emacs21.ReverseVideo: on
emacs21.font: 7x13bold
!! xterm
xterm*saveLines: 1000
xterm*reverseVideo: on
xterm*Background: black
xterm*Foreground: white
xterm*Font: 7x13
xterm*scrollBar: off
xterm*scrollbar*thickness: 5
Of course there is also geometry options. look at the man pages and even if it's not marked in it try to copy it from another app's options like xterm
It's a clean solution for what you ask.
Creak