Also known as the ~/.Xresources file.
While most display managers will automatically load this configuration file on startup, it is possible to load the configuration manually by running:
The xrdb command is provided by the x11-apps/xrdb package.
Configuration options in the ~/.Xresources file should respect the following component syntax:
In many options the Class component is not used.
Examples of existing configuration options:
Comments start with an exclamation mark. For example:
! This is a comment
It is possible to use
* wildcards to apply a single rule to multiple configuration options. The
? matches any single component. The
* matches zero or more components. For example:
*background: #000000 - Set the given value to all programs/classes which contain a component named background.
Constants can be defined in the following way:
#define name value (for example
#define black #000000).
The main ~/.Xresources file can be composed of multiple sub-files (e.g. on a per-application basis). The includes can be defined as:
Example of including application sub-files:
#include ".Xresources.d/urxvt" #include ".Xresources.d/xft"
- Cursor themes — provides instructions on with cursor theme management on an X11 based system.
- Rxvt-unicode — a fast and lightweight terminal emulator with Xft and Unicode support.