admin管理员组

文章数量:1530845

2024年1月5日发(作者:)

XRDB(1) XRDB(1)NAMExrdb - X server resource database utilitySYNOPSISxrdb[-option ...] [filename]DESCRIPTIONXrdbis used to get or set the contents of the RESOURCE_MANAGER property on the root windowofscreen 0, or the SCREEN_RESOURCES property on the root windowofany orall screens, or everythingcombined. You would normally run this program from your X startup fi X clients use the RESOURCE_MANAGER and SCREEN_RESOURCES properties to get user pref-erences about color,fonts, and so on for this information in the server (where it isavailable to all clients) instead of on disk, solves the problem in previous versions of X that required you tomaintaindefaultsfiles on every machine that you might also allows for dynamic changing ofdefaults without editing fi RESOURCE_MANAGER property is used for resources that apply to all screens of the EEN_RESOURCES property on each screen specifies additional (or overriding) resources to be usedfor that screen.(When there is only one screen, SCREEN_RESOURCES is normally not used, allresources are just placed in the RESOURCE_MANAGER property.)The file specified byfilename(or the contents from standard input if - or no filename is given) is optionallypassed through the C preprocessor with the following symbols defined, based on the capabilities of theserver being used:SERVERHOST=hostnamethe hostname portion of the display to which you are _namethe SERVERHOST hostname string turned into a legalidentifi example, "" becomes SRVR_my_dpy_lcs_mit_=hostnamethe same Y_NUM=numthe number of the display on the server HOST=hostnamethe name of the host on whichxrdbis _namethe CLIENTHOST hostname string turned into a legalidentifi example, ""becomes CLNT_expo_lcs_mit_E=numthe vendor release number for the interpretation of this number will vary dependingon ON=numthe X protocol minor version supported by this server (currently 0).VERSION=numthe X protocol major version supported by this server (should always be 11).VENDOR="vendor"astring literal specifying the vendor of the _namethe VENDOR name string turned into a legalidentifi example, "MIT X Consortium"becomes VNDR_MIT_X_on 11xrdb 1.0.61

XRDB(1) XRDB(1)EXT_nameAsymbol is defined for each protocol extension supported by the extension stringname is turned into a legalidentifi example, "X3D-PEX" becomes EXT_X3D__SCREENS=numthe total number of _NUM=numthe number of the current screen (from zero).BITS_PER_RGB=numthe number of significant bits in an RGB color specifi is the log base 2 of the numberof distinct shades of each primary that the hardware can that it usually is notrelated to =visualclassone of StaticGray,GrayScale, StaticColor,PseudoColor,TrueColor, is thevisual class of the root _visualclass=visualidthe visual class of the root windowinaform you can#ifdefon. Thevalue is the numeric id of efined only if CLASS is one of StaticColor,PseudoColor,TrueColor,_visualclass_depth=numAsymbol is defined for each visual supported for the symbol includes the class ofthe visual and its depth; the value is the numeric id of the visual.(If more than one visual has thesame class and depth, the numeric id of the first one reported by the server is used.)HEIGHT=numthe height of the root =numthe width of the root =numthe number of bit planes (the depth) of the root window.X_RESOLUTION=numthe x resolution of the screen in pixels per meter.Y_RESOLUTION=numthe y resolution of the screen in pixels per _name,CLNT_name,VNDR_name,and EXT_nameidentifiers are formed by changing all charac-ters other than letters and digits into underscores (_).Lines that begin with an exclamation mark (!) are ignored and may be used as that sincexrdbcan read from standard input, it can be used to the change the contents of propertiesdirectly from a terminal or from a shell Sxrdbprogram accepts the following options:−helpThis option (or anyunsupported option) will cause a brief description of the allowable optionsand parameters to be printed.−displaydisplayThis option specifies the X server to be used; seeX(7).Italso specifies the screen to use for the-screenoption, and it specifies the screen from which preprocessor symbols are derivedfor on 11xrdb 1.0.62

XRDB(1) XRDB(1)−allThis option indicates that operation should be performed on the screen-independent resourceproperty (RESOURCE_MANAGER), as well as the screen-specific property(SCREEN_RESOURCES) on every screen of the example, when used in conjunc-tion with-query,the contents of all properties are -load,-overrideand-merge,theinput file is processed once for each resources which occur in common in the outputfor every screen are collected, and these are applied as the screen-independent aining resources are applied for each individual per-screen the default mode ofoperation.−globalThis option indicates that the operation should only be performed on the screen-independentRESOURCE_MANAGER property.−screenThis option indicates that the operation should only be performed on theSCREEN_RESOURCES property of the default screen of the display.−screensThis option indicates that the operation should be performed on the SCREEN_RESOURCESproperty of each screen of the -load,-overrideand-merge,the input file is processedfor each screen.−nThis option indicates that changes to the specified properties (when used with-load,-overrideor-merge)ortothe resource file (when used with-edit)should be shown on the standard output, butshould not be option indicates that warning about duplicate entries should not be displayed.−quiet-cppfilenameThis option specifies the pathname of the C preprocessor program to be ghxrdbwasdesigned to use CPP,any program that acts as a filter and accepts the -D, -I, and -U options maybe used.-nocppThis option indicates thatxrdbshould not run the input file through a preprocessor before loadingit into properties.−symbolsThis option indicates that the symbols that are defined for the preprocessor should be printed ontothe standard output.−queryThis option indicates that the current contents of the specified properties should be printed ontothe standard that since preprocessor commands in the input resource file are part ofthe input file, not part of the property,theywon’tappear in the output from this −editoption can be used to merge the contents of properties back into the input resource file withoutdamaging preprocessor commands.−loadThis option indicates that the input should be loaded as the newvalue of the specified properties,replacing whateverwas there ( old contents are removed). Thisis the default action.−overrideThis option indicates that the input should be added to, instead of replacing, the current contentsof the specified ries override previous entries.−mergeThis option indicates that the input should be merged and lexicographically sorted with, insteadof replacing, the current contents of the specified properties.−removeThis option indicates that the specified properties should be removedfrom the server.−retainThis option indicates that the server should be instructed not to reset ifxrdbis the first should neverbenecessary under normal conditions, sincexdmandxinitalways act as thefirst on 11xrdb 1.0.63

XRDB(1) XRDB(1)−editfilenameThis option indicates that the contents of the specified properties should be edited into the givenfile, replacing anyvalues already listed allows you to put changes that you have madeto your defaults back into your resource file, preserving anycomments or preprocessor lines.−backupstringThis option specifies a suffix to be appended to the filename used with−editto generate a backupfile.−Dname[=value]This option is passed through to the preprocessor and is used to define symbols for use with con-ditionals such as#ifdef.−UnameThis option is passed through to the preprocessor and is used to remove any definitions of thissymbol.−IdirectoryThis option is passed through to the preprocessor and is used to specify a directory to search forfiles that are referenced with#eneralizes˜/.Xdefaultsfi ALSOX(7), appres(1), listres(1), Xlib Resource Manager documentation, Xt resource documentationENVIRONMENTDISPLAYto figure out which display to e default for no arguments should be to query,not to overwrite, so that it is consistent with other SBob Scheifler,Phil Karlton, rewritten from the original by Jim GettysXVersion 11xrdb 1.0.64

本文标签: 专题专家技术命令