3.2. Customizing Emacs

The colors, font, and geometry (default size of window) for Emacs in your ~/.Xresources file. The format for the settings is emacs.keyword:value

The following is a sample ~/.Xresources file.

[Note]Note

If you have other settings in your ~/.Xresources, add the following to the end of the file.


emacs.background: light gray
emacs.foreground: black
emacs.pointerColor: blue
emacs.cursorColor: blue
emacs.bitmapIcon: on
emacs.font: fixed
emacs.geometry: 90x25          

After modifying this file, you must execute the command

xrdb -merge ~/.Xresources

and restart Emacs for the changes to take place.