-
Notifications
You must be signed in to change notification settings - Fork 1
Xresources
Jason Charney edited this page Jan 23, 2015
·
4 revisions
.Xresources is a file used to set preferences on [X11] and software like [URXVT].
The file .Xdefaults is also still used but is considered obsolete. Still, it is useful if you want to try stuff out before committing setting to xrdb and many of the settings made in ~/.Xdefaults will have a higher precedence over the settings applied to xrdb by ~/.Xresources.
To see what is in xrdb
xrdb -query -allTo merge existing settings in xrdb with settings in an edited .Xresources file (which is generally in the home directory)
xrdb -merge ~/.XresourcesTo overwrite ALL the settings in xrdb
xrdb ~/.XresourcesWARNING! If you use that last command, you won't be able to revert the changes. Perhaps it would be wise to create a backup of your xrdb settings before committing changes. Like so.
xrdb -query -all > ~/.Xresources.backup