Linux command
xrdb 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Start
xrdb
Load
xrdb -load [~/.Xresources]
Query
xrdb -query
说明
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.
参数
- -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
FAQ
What is the xrdb command used for?
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.
How do I run a basic xrdb example?
Run `xrdb` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -load do in xrdb?
Load resources from file, replacing existing values