This table lists the X resource names that Emacs recognizes, excluding those that control the appearance of graphical widgets like the menu bar:
Background color (see Colors).
Tell the window manager to display the Emacs icon if ‘on’; don’t do so if ‘off’. See Icons X, for a description of the icon.
Color of the frame’s external border. This has no effect if Emacs is compiled with GTK+ support.
Width of the frame’s external border, in pixels. This has no effect if Emacs is compiled with GTK+ support.
Text cursor color. If this resource is specified when Emacs starts
up, Emacs sets its value as the background color of the
face (see Faces).
If the value of this resource is ‘off’ or ‘false’ or ‘0’ at startup, Emacs disables Blink Cursor mode (see Cursor Display).
Font name for the
default face (see Fonts). You can also
specify a fontset name (see Fontsets).
Comma-delimited list of backend(s) to use for drawing fonts, in order of precedence. For instance, the value ‘x,xft’ tells Emacs to draw fonts using the X core font driver, falling back on the Xft font driver if that fails. Normally, you should leave this resource unset, in which case Emacs tries using all available font backends.
Default foreground color for text.
Window size and position. The value should be a size and position specification, of the same form as in the ‘-g’ or ‘--geometry’ command-line option (see Window Size X).
The size applies to all frames in the Emacs session, but the position applies only to the initial Emacs frame (or, in the case of a resource for a specific frame name, only that frame).
Be careful not to specify this resource as ‘emacs*geometry’, as that may affect individual menus as well as the main Emacs frame.
The desired fullscreen size. The value can be one of
correspond to the command-line options ‘-fs’, ‘-mm’,
‘-fw’, and ‘-fh’ (see Window Size X). Note that this
applies to the initial frame only.
Name to display in the icon.
Width of the internal frame border, in pixels.
Additional space between lines, in pixels.
If the value of this resource is ‘off’ or ‘false’ or ‘0’, Emacs disables Menu Bar mode at startup (see Menu Bars).
If ‘none’, Emacs will not make a minibuffer in this frame; it will use a separate minibuffer frame instead.
Font name for menu pane titles, in non-toolkit versions of Emacs.
Color of the mouse cursor. This has no effect in many graphical desktop environments, as they do not let Emacs change the mouse cursor this way.
If ‘on’, use a private color map, in the case where the default visual of class PseudoColor and Emacs is using it.
Switch foreground and background default colors if ‘on’, use colors as specified if ‘off’.
Gamma correction for colors, equivalent to the frame parameter
The scroll bar width in pixels, equivalent to the frame parameter
scroll-bar-width. Do not set this resource if Emacs is
compiled with GTK+ support.
Font name for pop-up menu items, in non-toolkit versions of Emacs. (For toolkit versions, see Lucid Resources, also see Motif Resources.)
Number of milliseconds to wait for a selection reply. If the selection owner doesn’t reply in this time, we give up. A value of 0 means wait as long as necessary.
Run Emacs in synchronous mode if ‘on’. Synchronous mode is useful for debugging X problems.
Name to display in the title bar of the initial Emacs frame.
If the value of this resource is ‘off’ or ‘false’ or ‘0’, Emacs disables Tool Bar mode at startup (see Tool Bars).
Disable use of X input methods (XIM) if ‘false’ or ‘off’. This is only relevant if your Emacs is built with XIM support. It might be useful to turn off XIM on slow X client/server links.
Give frames scroll bars if ‘on’; don’t have scroll bars if ‘off’.
The visual class for X color display. If specified, the value should start with one of ‘TrueColor’, ‘PseudoColor’, ‘DirectColor’, ‘StaticColor’, ‘GrayScale’, and ‘StaticGray’, followed by ‘-depth’, where depth is the number of color planes.
You can also use X resources to customize individual Emacs faces (see Faces). For example, setting the resource ‘face.attributeForeground’ is equivalent to customizing the ‘foreground’ attribute of the face face. However, we recommend customizing faces from within Emacs, instead of using X resources. See Face Customization.