Computer Hope

Other Pages

Home
Site map
Computer help

Dictionary
News
Q&A
What's new

Tools

E-mail this page
Print Preview
Edit this page



 

Linux / Unix xrdb command

Quick links

About xrdb
Syntax
Examples
Related commands
Linux / Unix main page

About xrdb

X server resource database utility.

Syntax

xrdb [-option ...] [filename]

-helpThis option (or any unsupported option) will cause a brief description of the allowable options and parameters to be printed.
-display displayThis option specifies the X server to be used; see X. It also specifies the screen to use for the -screen option, and it specifies the screen from which preprocessor symbols are derived for the -global option.
-allThis option indicates that operation should be performed on the screen-independent resource property (RESOURCE_MANAGER), as well as the screen-specific property (SCREEN_RESOURCES) on every screen of the display. For example, when used in conjunction with -query, the contents of all properties are output. For -load, -override and -merge, the input file is processed once for each screen. The resources which occur in common in the output for every screen are collected, and these are applied as the screen- independent resources. The remaining resources are applied for each individual per-screen property. This the default mode of operation.
-globalThis option indicates that the operation should only be performed on the screen-independent RESOURCE_MANAGER property.
-screenThis option indicates that the operation should only be performed on the SCREEN_RESOURCES property of the default screen of the display.
-screensThis option indicates that the operation should be performed on the SCREEN_RESOURCES property of each screen of the display. For -load, -override and -merge, the input file is processed for each screen.
-nThis option indicates that changes to the specified properties (when used with -load, -override or -merge) or to the resource file (when used with -edit) should be shown on the standard output, but should not be performed.
-quietThis option indicates that warning about duplicate entries should not be displayed.
-cpp filenameThis option specifies the pathname of the C preprocessor program to be used. Although xrdb was designed to use CPP, any program that acts as a filter and accepts the -D, -I, and -U options may be used.
-nocppThis option indicates that xrdb should not run the input file through a preprocessor before loading it into properties.
-symbolsThis option indicates that the symbols that are defined for the preprocessor should be printed onto the standard output.
-queryThis option indicates that the current contents of the specified properties should be printed onto the standard output. Note that since preprocessor commands in the input resource file are part of the input file, not part of the property, they won't appear in the output from this option. The -edit option can be used to merge the contents of properties back into the input resource file without damaging preprocessor commands.
-loadThis option indicates that the input should be loaded as the new value of the specified properties, replacing whatever was there (i.e. the old contents are removed). This is the default action.
-overrideThis option indicates that the input should be added to, instead of replacing, the current contents of the specified properties. New entries override previous entries.
-mergeThis option indicates that the input should be merged and lexicographically sorted with, instead of replacing, the current contents of the specified properties.
-removeThis option indicates that the specified properties should be removed from the server.
-retainThis option indicates that the server should be instructed not to reset if xrdb is the first client. This never be necessary under normal conditions, since xdm and xinit always act as the first client.
-edit filenameThis option indicates that the contents of the specified properties should be edited into the given file, replacing any values already listed there. This allows you to put changes that you have made to your defaults back into your resource file, preserving any comments or preprocessor lines.
-backup stringThis option specifies a suffix to be appended to the filename used with -edit to generate a backup file.
-Dname[=value]This option is passed through to the preprocessor and is used to define symbols for use with conditionals such as
-UnameThis option is passed through to the preprocessor and is used to remove any definitions of this symbol.
-IdirectoryThis option is passed through to the preprocessor and is used to specify a directory to search for files that are referenced with #include.
filenameFile with additional information / settings.

Examples

xrdb - Would open the server resource database utility (if supported).

Related commands

X

 

Index

Category:
Linux / Unix

Companies:
Click here

Related Pages:

Resolved

Were you able to locate the answer to your questions?

Home - Computer help - Contact - Dictionary - Links
Link to Computer Hope - Bookmark Computer Hope