X-Windows applications can be customized by adding resource values to the resource data base.
To specify resources to be set at startup, add a file called .Xresources to the home directory /home/user.
kwrite .Xresources
As an example, XTerm can be customized as follows:
To change the default font size to 9×15, add the lines:
UXTerm*font: 9x15\\ XTerm*font: 9x15
To add scollbars with 1000 saved lines, add:
UXTerm*scrollBar: on\\ UXTerm*saveLines: 1000
and the same for XTerm. UXTerm is the “class” of XTerm launched with ctrl-alt-t, and XTerm if you start another by typing xterm.
To test changes, restart X-Windows with ctrl-alt-backspace or reboot, being sure to save all your work first.
xrdb -query will list the current contents of the Xresources data base.