LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

xrdb

Manage X server resource database

TLDR

Start xrdb in interactive mode
$ xrdb
copy
Load values from a resource file
$ xrdb -load [~/.Xresources]
copy
Query the resource database and print current values
$ xrdb -query
copy

SYNOPSIS

xrdb [options] [filename]

DESCRIPTION

xrdb (X Resource DataBase) manages the X server resource database. X resources configure the appearance and behavior of X applications, including colors, fonts, and other settings.Resources are typically loaded from ~/.Xresources or ~/.Xdefaults at X session startup. The -merge option adds new resources without removing existing ones.

PARAMETERS

-load

Load resources from file, replacing existing values
-merge
Merge resources from file with existing values
-query
Display current resources
-remove
Remove all resources
-symbols
Print preprocessor symbols
-cpp _path_
Specify preprocessor to use
-nocpp
Don't preprocess input
-display _display_
Specify X display

INSTALL

sudo apt install x11-xserver-utils
copy
sudo dnf install xrdb
copy
sudo apk add xrdb
copy
sudo zypper install xrdb
copy
brew install xrdb
copy
nix profile install nixpkgs#xrdb
copy

CAVEATS

Changes only affect newly started applications. Use -merge to preserve existing settings when adding new ones. The file is processed by cpp by default, allowing use of #include and #define. Part of the X.Org utilities.

HISTORY

xrdb has been part of the X Window System since the early releases in the mid-1980s, providing a way to configure application appearance and behavior before modern desktop environments existed.

SEE ALSO

xset(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid