X resources

From Gentoo Wiki
Jump to: navigation, search


X resources are configuration options for X applications such as rxvt-unicode. They can also be used for setting the cursor theme. X resources can be set in ~/.Xresources. Most display managers automatically load this configuration file on startup.


Configuration options in the ~/.Xresources file should respect the following syntax: name.resource: value (for example Xcursor.theme: redglass).

Constants can be defined in the following way: #define name value (for example #define black #000000).

Comments start with an exclamation mark.

See also

External resources