well Xsession has something to do with display manager sessions so it's not the same as
.Xresources
(.Xdefaults does nothing anymore it's defunct like a dinocritter)
perhaps an example of what .Xresources can do is in order
make this a file ~/.Xresources
read it in with this command
xrdb ~/.Xresources (this is what the xinit files do at login)
now in a terminal type
xterm
and in another terminal type
xterm -name xterm-big
that's what ~/.Xresources can do and the posibilities are endless
Code:
#ifdef COLOR
*customization: -color
#endif
xterm*background: Black
xterm*geometry: 80x10+160+60
xterm*foreground: Wheat
xterm*cursorColor: Orchid
XTerm*reverseVideo: false
XTerm*rightScrollBar: true
XTerm*reverseWrap: true
xterm*font: *fixed-bold-r-*-15-*-*
XTerm*fullCursor: true
XTerm*scrollTtyOutput: off
XTerm*scrollKey: on
XTerm*VT100.Translations: #override\n\
<KeyPress>Prior : scroll-back(1,page)\n\
<KeyPress>Next : scroll-forw(1,page)
XTerm*titleBar: false
XTerm*loginShell: true
! Use color for underline attribute
XTerm*VT100*colorULMode: on
XTerm*VT100*underLine: off
! Use color for the bold attribute
XTerm*VT100*colorBDMode: on
! Love that scrollback
XTerm*VT100*saveLines: 5000
XTerm*VT100*scrollBar: true
xterm-big*geometry: 90x30+40+10
xterm-big*font: -*-lucidatypewriter-bold-r-normal-sans-17-*-*-*-*-*-*
xterm-big*background: Blue3
xterm-big*foreground: Black
xterm-big*cursorColor: Orange