Scroll to navigation

XRDB(1) General Commands Manual XRDB(1)

̾??

xrdb - X ?????ФΥ꥽?????ǡ????١????ѤΥ桼?ƥ????ƥ?

????

xrdb [-option ...] [filename]

????

xrdb ?ϥ????꡼?? 0 ?Υ롼?ȥ??????ɥ??? RESOURCE_MANAGER ?ץ??ѥƥ??????ơ? ???뤤??Ǥ?դޤ??????ƤΥ????꡼???Υ롼?ȥ??????ɥ??? SCREEN_RESOURCES ?ץ??ѥƥ??????ơ????뤤?Ϥ??????????礷?????Τ????? ?????????Ԥ??? ?̾??? X ?ε?ư?ե????뤫?餳?Υ??ޥ??ɤ??¹Ԥ??롣

X ?Υ??饤?????Ȥ?????ʬ?ϡ?RESOURCE_MANAGER ?? SCREEN_RESOURCES ?ץ? ?ѥƥ????Ѥ??ơ????ץꥱ?????????Ѥο????ե????????Υ桼???ι??ߤ????? ?????????롣???ξ???(???ƤΥ??饤?????Ȥ????ѤǤ???)?ϥǥ????????ǤϤ? ???????????ˤ????Τǡ?X ?????ΥС????????Ǥ??????Ǥ??ä??????Ѥ????Ǥ??? ?????ƤΥޥ????? defaults ?ե??????????????ʤ????Фʤ??ʤ????????? ???Ƥ??롣?????ˤ??ꡢ?ե????????Խ??????˥ǥե??????ͤ?ưŪ???ѹ????? ???Ȥ???ǽ?Ȥʤä???

RESOURCE_MANAGER ?ץ??ѥƥ??ϥǥ????ץ쥤?????ƤΥ????꡼????Ŭ?Ѥ??? ???꥽???????Ф??ƻȤ????롣???줾???Υ????꡼???? SCREEN_RESOURCES ?? ???ѥƥ??ϡ????Υ????꡼???ǻ??Ѥ??????ɲ?(?ޤ??Ͼ?????)?Υ꥽???????? ?ꤹ?롣(?????꡼???? 1 ?Ĥ????ʤ??????ϡ?SCREEN_RESOURCES ???̾??Ȥ? ?줺?????ƤΥ꥽?????? RESOURCE_MANAGER ?ץ??ѥƥ??????֤????롣)

filename ?ǻ??ꤷ???ե?????(filename ?? - ???ե?????̾?λ??꤬?ʤ?????ɸ?????? ??????????)?ϡ??Ȥ????륵???Фε?ǽ?˴??Ť??????????줿?ʲ??Υ????ܥ? ???Ѥ????ɲ?Ū?? C ?ץ??ץ????å????Ϥ?????:

??³?????ǥ????ץ쥤?Υۥ???̾??ʬ??
SERVERHOST ?Υۥ???̾ʸ??????ͭ???ʼ??̻Ҥ??Ѥ??롣 ?㤨?С?"my-dpy.lcs.mit.edu" ?? SRVR_my_dpy_lcs_mit_edu ?Ȥʤ롣
SERVERHOST ??Ʊ???Ǥ??롣
?????Хۥ??ȤǤΥǥ????ץ쥤?ֹ档
xrdb ??ư??Ƥ????ۥ??Ȥ?̾????
CLIENTHOST ?Υۥ???̾ʸ??????ͭ???ʼ??̻Ҥ??Ѥ??롣 ?㤨?С?"expo.lcs.mit.edu" ?? CLNT_expo_lcs_mit_edu ?Ȥʤ롣
???????ѤΥ٥????Υ??꡼???ֹ档?????ֹ??β????? VENDOR ?ˤ??ä??Ѳ? ???롣
???Υ????Ф????ݡ??Ȥ??Ƥ??? X ?ץ??ȥ????Υޥ??ʡ??С???????(???ߤ? 0)??
???Υ????Ф????ݡ??Ȥ??Ƥ??? X ?ץ??ȥ????Υ᥸?㡼?С???????(???? 11)??
?????ФΥ٥????򼨤?ʸ???????ƥ??롣
VENDOR ̾?Τ?ʸ??????ͭ???ʼ??̻Ҥ??Ѥ??롣 ?㤨?С?"MIT X Consortium" ?? VNDR_MIT_X_Consortium ?Ȥʤ롣
?????Ф????ݡ??Ȥ??Ƥ??뤽?줾???Υץ??ȥ??뵡ǽ??ĥ???Ф????????????? ???륷???ܥ롣???줾???ε?ǽ??ĥ??̾????ͭ???ʼ??̻Ҥ??Ѥ??????롣 ?㤨?С?"X3D-PEX" ?? EXT_X3D_PEX ?Ȥʤ롣
?????꡼??????????
???ߤΥ????꡼?????ֹ?(0 ?????Ϥޤ?)??
RGB ???????Ǥκ????Υӥåȿ??? ?????ϡ??ϡ??ɥ????????????Ǥ????ƥץ饤?ޥ??ΰۤʤ륷?????ɤο??ˤĤ? ?? 2 ?????Ȥ????п??????ä????ΤǤ??롣???????̾??? PLANES ?Ȥϴط??? ?????????դ??뤳?ȡ?
StaticGray, GrayScale, StaticColor, PseudoColor, TrueColor, DirectColor ?Τ????줫???????ϥ롼?ȥ??????ɥ??Υӥ??奢?륯?饹?Ǥ??롣
#ifdef ?η????ǻ????Ǥ????롼?ȥ??????ɥ??Υӥ??奢?륯?饹?? ?????ͤϥ??????奢????ID ?ο??ͤǤ??롣
CLASS ?? StaticColor, PseudoColor, TrueColor, DirectColor ?Τ????줫?? ?????˸¤ä??????????롣
?????꡼?󤬥??ݡ??Ȥ??Ƥ????ƥӥ??奢?????Ф????????????륷???ܥ롣 ???Υ????ܥ??ϥӥ??奢???Υ??饹?ȿ????????ġ??????ͤϥӥ??奢???ο??? ID ?Ǥ??롣(ʣ???Υӥ??奢?뤬Ʊ?????饹?ȿ????????ľ??硢?????Ф??ǽ? ?????𤷤??ӥ??奢???ο??? ID ???Ȥ????롣)
?롼?ȥ??????ɥ??ι⤵?Υԥ?????????
?롼?ȥ??????ɥ??????Υԥ?????????
?롼?ȥ??????ɥ??Υӥåȥץ졼???θĿ?(????)??
?????꡼???? X ??????????(?᡼?ȥ??????Υԥ???????)??
?????꡼???? Y ??????????(?᡼?ȥ??????Υԥ???????)??

SRVR_name, CLNT_name, VNDR_name, EXT_name ?μ??̻Ҥϡ?ʸ???ȿ????ʳ??Τ??٤Ƥ?ʸ???򥢥???????????(????, _)???? ???????????Ǥ??롣

??ò??(!)?ǻϤޤ??Ԥ?̵?뤵?졢???????ȤȤ??ư??????롣

xrdb ??ɸ?????Ϥ????ɤ߹??ळ?Ȥ??Ǥ????Τǡ?ü???䥷???륹?????ץȤ???ľ?? ?ץ??ѥƥ??????Ƥ??ѹ??Ǥ??????????դ??뤳?ȡ?

???ץ?????

xrdb ?ץ????????Ǥϼ??Υ??ץ????󤬻Ȥ???:

???Υ??ץ?????(?ޤ??ϥ??ݡ??Ȥ????Ƥ??ʤ????ץ?????)?????ꤹ???ȡ????? ??ǽ?ʥ??ץ??????ȥѥ??᡼????û???????????Ϥ????롣
???Υ??ץ??????ϻ??Ѥ??? X ?????Ф????ꤹ?롣X(7) ?򻲾Ȥ??뤳?ȡ? -screen ???ץ??????ǻ??Ѥ??륹???꡼???????ꤹ?롣?????ϡ? -global ???Ф????ץ??ץ????å??????ܥ????????륹???꡼???????ꤹ ?롣
???Υ??ץ??????????ꤹ???ȡ??????꡼????Ω?Υ꥽?????ץ??ѥƥ? (RESOURCE_MANAGER)?ȡ??ǥ????ץ쥤?????ƤΥ????꡼???Υ????꡼????ͭ?? ?ץ??ѥƥ?(SCREEN_RESOURCES)???Ф???????Ԥ????롣?㤨?С? -query ?Ȱ??????Ѥ????ȡ????ƤΥץ??ѥƥ??????Ƥ????Ϥ????롣 -load, -override, -merge ?ξ????ˤϡ????줾???Υ??? ?꡼???? 1 ???Ť????ϥե????뤬?????????롣???ƤΥ????꡼?????Ф????? ?ϤΤ??????̤˵??????꥽?????Ͻ??????졢???????ϥ????꡼????Ω?Υ꥽?? ???Ȥ???Ŭ?Ѥ????롣?Ĥ??Υ꥽?????ϡ??????꡼?????θġ??Υץ??ѥƥ??? Ŭ???????롣???줬?ǥե????Ȥ??????⡼?ɤǤ??롣
???Υ??ץ??????????ꤹ???ȡ??????꡼????Ω?? RESOURCE_MANAGER ?ץ??ѥƥ? ???Ф??ƤΤ?????Ԥ????롣
???Υ??ץ??????????ꤹ???ȡ??ǥ????ץ쥤?Υǥե????ȥ????꡼???? SCREEN_RESOURCES ?ץ??ѥƥ????Ф??ƤΤ?????Ԥ????롣
???Υ??ץ??????????ꤹ???ȡ??ǥ????ץ쥤?Τ??줾???Υ????꡼???? SCREEN_RESOURCES ?ץ??ѥƥ????Ф???????Ԥ????롣 -load, -override ?? -merge ???ץ??????????ꤷ?????硢 ???ϥե??????Ϥ??줾???Υ????꡼?????Ф??ƽ????????롣
???Υ??ץ??????????ꤹ???ȡ????ꤷ???ץ??ѥƥ?(-load, -override ?ޤ??? -merge ?Ȱ????˻??Ѥ???????)???꥽???? (-edit ?Ȱ????˻??Ѥ???????)???Ф????ѹ????Ƥ?ɸ?????Ϥ˽??Ϥ??? ?뤬???ºݤμ¹ԤϹԤ????ʤ???
???Υ??ץ??????????ꤹ???ȡ???ʣ???Ƥ??륨???ȥ????Ф??Ʒٹ???ɽ?????ʤ???
???Υ??ץ??????ϡ????Ѥ??? C ?ץ??ץ????å??ץ????????Υѥ?̾?????ꤹ?롣 xrdb ?? CPP ???Ȥ??褦???߷פ????Ƥ??뤬???ե??륿?Ȥ???ư??????? -D, -I, -U ???ץ????????Ȥ????ΤǤ????С??ɤ??ʥץ????????Ǥ? ?ץ??ץ????å??Ȥ??????ѤǤ??롣
???Υ??ץ??????????ꤹ???ȡ? xrdb ?????ϥե????????ץ??ץ????å????̤äƤ??ץ??ѥƥ????????ɤ??ʤ??????? ?¹Ԥ??ʤ???
???Υ??ץ??????????ꤹ???ȡ??ץ??ץ????å??Ѥ????????줿?????ܥ???ɸ?? ???Ϥ˽??Ϥ????롣
???Υ??ץ??????????ꤹ???ȡ????ꤷ???ץ??ѥƥ??θ??ߤ????Ƥ?ɸ?????Ϥ? ???Ϥ????롣 ???ϥ꥽?????ե????????Υץ??ץ????å????ޥ??ɤϡ??ץ??ѥƥ??ΰ????Ǥ? ?ʤ????ϥե??????ΰ????ʤΤǡ????Υ??ץ??????????ꤷ???Ȥ??????????? ???Ϥ˸????ʤ????????դ??뤳?ȡ? -edit ???ץ????????Ȥ??ȡ??ץ??ץ????å????ޥ??ɤ????????Ȥʤ??? ?ץ??ѥƥ??????Ƥ????ϥ꥽?????ե??????˥ޡ??????ƽ????᤹???Ȥ??Ǥ??롣
???Υ??ץ??????????ꤹ???ȡ????Ϥϻ??ꤷ???ץ??ѥƥ??ο??????ͤȤ??? ?????ɤ??졢??¸?Τ??Τ??֤???????(?Ĥޤꡢ?Ť????ƤϾõ????)?? ?????ϥǥե????Ȥ?ư???Ǥ??롣
???Υ??ץ??????????ꤹ???ȡ????Ϥϻ??ꤷ???ץ??ѥƥ??θ??ߤ????Ƥ? ?֤????????ΤǤϤʤ??ɲä????롣??ʣ???Ƥ??륨???ȥ??ˤĤ??Ƥϡ? ???????????ȥ꤬???Υ????ȥ??????񤭤??롣
???Υ??ץ??????????ꤹ???ȡ????Ϥϻ??ꤷ???ץ??ѥƥ??θ??ߤ????Ƥ? ?֤????????ΤǤϤʤ????ޡ??????줿???Ǽ??????˥????Ȥ????롣
???Υ??ץ??????????ꤹ???ȡ????ꤷ???ץ??ѥƥ????????Ф????????????롣
???Υ??ץ??????????ꤹ???ȡ?xrdb ???ǽ??Υ??饤?????Ȥξ????˥??? ?Ф??ꥻ?åȤ??ʤ??褦?˻ؼ??????롣xdm ?? xinit ??ɬ???? ???Υ??饤?????ȤȤ???ư????Τǡ????Υ??ץ????????̾??ξ??ﲼ??ɬ?? ?ˤʤ뤳?Ȥ??Ϥʤ???
???Υ??ץ??????????ꤹ???ȡ????ꤷ???ץ??ѥƥ??????Ƥ??Խ??????Ʒ??̤? ???ꤵ?줿?ե??????˳?Ǽ?????롣???κݤˤϴ??˥ꥹ?Ȥ????Ƥ????ͤ????? ?֤??????????롣???Υ??ץ????????Ȥ??ȡ????????Ȥ??ץ??ץ????å??Ԥ??? ¸?????ޤޤǥǥե??????ͤ˹Ԥä??ѹ????꥽?????ե??????˽????᤹???Ȥ? ?Ǥ??롣
???Υ??ץ??????? -edit ?Ǻ??????????Хå????åץե????????դ??륵?ե??å????????ꤹ?롣
???Υ??ץ??????ϥץ??ץ????å????Ϥ??졢 #ifdef ???ξ????ǻ??Ѥ??륷???ܥ??????????뤿???˻Ȥ????롣
???Υ??ץ??????ϥץ??ץ????å????Ϥ??졢???Υ????ܥ????????????ƾõ ?뤿???˻Ȥ????롣
???Υ??ץ??????ϥץ??ץ????å????Ϥ??졢 #include ?ˤ??äƻ??Ȥ????ե???????õ???ǥ??쥯?ȥ??????ꤹ?뤿???˻Ȥ????롣

?ե?????

???̲????? ~/.Xdefaults ?ե????롣

??Ϣ????

X(7), Xlib ?꥽?????ޥ͡??????Υɥ????????ȡ?Xt ?꥽?????Υɥ????????ȡ?

?Ķ??ѿ?

?Ȥ??ǥ????ץ쥤?????ꤹ?롣

?Х?

¾?Υץ?????????̷???򵯤????ʤ??褦?ˤ??뤿???ˡ??????????ʤ??????? ?ǥե????Ȥ?ư???Ͼ??񤭤ǤϤʤ??䤤???碌?ˤʤäƤ????٤??Ǥ??롣

????

Bob Scheifler, Phil Karlton ?? Jim Gettys ?ν񤤤????ꥸ?ʥ??Ǥ? ????ľ??????

Release 6.5 X Version 11